Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - How can I keep a VHD image mounted after reboot?


 
02-10-2012   #1


Windows 7 Ultimate x64
 
 

How can I keep a VHD image mounted after reboot?

How can I keep a VHD image mounted after reboot?

My System SpecsSystem Spec
02-17-2012   #2


Windows 7 Ultimate x64
 
 


I'm sure there's a CLI command for this.

Depending on when the VHD needs to be mounted (before or after login), put it in a startup script, or as a batch file in your (or "all users") startup folder.
My System SpecsSystem Spec
02-17-2012   #3


Windows 7 Ultimate x64
 
 


Can you point me to one of those scripts?
My System SpecsSystem Spec
.


02-17-2012   #4


Windows 7 Ultimate x64
 
 


Sure. I think this will help:
http://www.virtues.it/2010/07/howto-diskpart/

Basically you put a bunch of diskpart commands in a file, and feed that to diskpart. And it turns out that diskpart can mount VHD's.

Note that this probably has to be executed with elevated privileges.
My System SpecsSystem Spec
Reply


Thread Tools



Similar Threads for: How can I keep a VHD image mounted after reboot?
Thread Forum
'Snapshoting' windows 7 so any reboot reverts to last image? Backup and Restore
Solved Copy files into mounted Backup Image VHD file? Backup and Restore
W7 Loses Mounted Drive at Reboot Network & Sharing
Can't open Windows 7 x64 Mounted Image Backup and Restore
Can't open Windows 7 x64 Mounted Image Backup and Restore


All times are GMT -5. The time now is 04:07 AM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30