Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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: angler.wordpress.com/2010/03/11/… –  magicandre1981 Feb 28 '13 at 14:34
Thanks a ton!!! –  pratnala Mar 1 '13 at 7:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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