Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a VHD with a database on it, which I have attached to the database server, which wreaks havoc on the database server after a reboot and the VHD is no-longer mounted.

My searching for this has only brought me answers that mount it at user login, but that can happen long after the service starts up and notices.

For InfoSec reasons, I've been asked to not copy the database files out of the VHD, so I'm wondering -- is there any viable way to tell Windows 8 to "yes, go ahead and mount this when you start up?"

share|improve this question
up vote 1 down vote accepted

Use the Tool VHD Attach:

If so desired you can also use this program to attach various virtual disks upon system start-up. It is your choice whether this will be done in full-access or read-only mode.

share|improve this answer
How to do it from the command line (or a batch script to automate it at startup?) – pratnala Feb 28 '13 at 10:46
@PratyushNalam use this way:… – magicandre1981 Feb 28 '13 at 14:34
Thanks a ton!!! – pratnala Mar 1 '13 at 7:43

protected by Community Jan 23 at 23:52

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.