How can I keep a VHD image mounted after reboot?


  1. Posts : 4
    Windows 7 Ultimate x64
       #1

    How can I keep a VHD image mounted after reboot?


    How can I keep a VHD image mounted after reboot?
      My Computer


  2. Posts : 5
    Windows 7 Ultimate x64
       #2

    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 Computer


  3. Posts : 4
    Windows 7 Ultimate x64
    Thread Starter
       #3

    Can you point me to one of those scripts?
      My Computer


  4. Posts : 5
    Windows 7 Ultimate x64
       #4

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 16:03.
Find Us