Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide 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?

10 Feb 2012   #1
RoadToNever

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
.

17 Feb 2012   #2
thany

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
17 Feb 2012   #3
RoadToNever

Windows 7 Ultimate x64
 
 

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


17 Feb 2012   #4
thany

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

 How can I keep a VHD image mounted after reboot?




Thread Tools





Similar help and support threads
Thread Forum
External hdd renames itself after an image file i mounted cant rename
Hi , im having diifficulty renaming my external hard drive, it renamed itself after an image file i mounted and the icon of the harddrive is missing aswell. I tried changing it via rename aswell as selecting properties. However when i open the properties of the hdd it displayes the same name i...
General Discussion
'Snapshoting' windows 7 so any reboot reverts to last image?
I have a windows server that runs a program called SageTv and acts as my VM Server. I have the server exactly the way I want it. In a perfect world I want this server to act as an appliance and never change. I have imaged it with Acronis and can revert back if needed. But I was ...
Backup and Restore
Copy files into mounted Backup Image VHD file?
I mounted a friend's WindowsImageBackup VHD file in Disk Management, did not check Read Only. I assume this means I can write to it. I'd like to copy all of his files created since the image was made in February into the User folders, then detach the image and reimage to his HD. Is this...
Backup and Restore
W7 Loses Mounted Drive at Reboot
I just switched one box from Vista to W7. I mount a network drive, I use it, I reboot, the mount is gone..... WHY? I have been using this drive for many months on Vista, NO problem.:sarc: ps: I set the mount in Windows 7 the same as I did in Vista, including checking the RECONNECT AT LOGON...
Network & Sharing
Can't open Windows 7 x64 Mounted Image
alright so i just finished downloading a copy of windows 7 x64 from the internet and when i mount the image to a virtual drive using PowerISO i get and error. here is when i try to open it from Computer http://img33.imageshack.us/img33/691/error1l.png then i tried going into the...
Backup and Restore
Can't open Windows 7 x64 Mounted Image
alright so i just finished downloading a copy of windows 7 x64 from the internet and when i mount the image to a virtual drive using PowerISO i get and error. here is when i try to open it from Computer: http://img33.imageshack.us/i/error1l.png/ then i tried going into the directory of the...
Backup and Restore

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 06:43.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App