Windows 8 and 8.1 Forums


VHD - Auto-mount at Startup in Windows 8

  1. #50


    Posts : 2
    Win 10, Win 8.1, Linux,


    Awesome! Worked like a charm. I was tearing my hair out trying to figure this one out-- you saved me from baldness. My wife thanks you

      My System SpecsSystem Spec

  2. #51


    Posts : 959
    Windows 8.1, 10


    Quote Originally Posted by KYHI View Post
    in your second screen shot put quotes " " around "C:\ blah blah.txt"

    command prompt does not like SPACES in names unless in qoutes
    Thanks for that answer. (I've been away so not able to get offline for a few days.)
      My System SpecsSystem Spec

  3. #52


    Posts : 2
    windows 7,10


    Quote Originally Posted by velociraptor View Post


    We are a freeware development team (sordum.org) and just read the topic and created a very small portable App to solve the problem (VHD - Auto-mount at Startup) it is very easy to use :

    1. Right click Diskpart_svr.exe and run as admin
    2. Edit the first command and use install service Button , if you want to uninstall it just use uninstall button

    Any feedback will be greatly appreciated
    Downlod:
    http://www.sordum.net/forum/download/file.php?id=93
    Does this only work as an installed service?
    Can this exe be called to complete the operation ('portably')?
    Is there any way to request the diskpart /mount operation at bootExecute (assuming this is the earliest occasion at which an executable launch can be requested?

    I miss autoexec.bat
      My System SpecsSystem Spec

  4. #53


    Posts : 2,690
    Windows 3.1 > Windows 10


    What do you want to do - AutoMount a VHD or Boot a VHD
      My System SpecsSystem Spec

  5. #54


    Posts : 2
    windows 7,10


    I want to mount a vhd at boot-time, asap.
      My System SpecsSystem Spec

  6. #55


    Posts : 3
    Windows 8.1Pro


    DavidY - thanks for the detail here. I have a Surface Pro 3 and my hard drive is almost full. I purchased a 64GB SD Card to hopefully work around that. I followed the instructions on the post I thought exactly. When I re-booted I don't see the new drive at all. I had turned on BitLocker before I did any of your steps, not sure if that's the difference? I don't ever get prompted to put in a BitLocker password though. Let me know what you think. Thanks!
      My System SpecsSystem Spec

  7. #56


    Posts : 959
    Windows 8.1, 10


    Quote Originally Posted by kremster View Post
    DavidY - thanks for the detail here. I have a Surface Pro 3 and my hard drive is almost full. I purchased a 64GB SD Card to hopefully work around that. I followed the instructions on the post I thought exactly. When I re-booted I don't see the new drive at all. I had turned on BitLocker before I did any of your steps, not sure if that's the difference? I don't ever get prompted to put in a BitLocker password though. Let me know what you think. Thanks!
    Hi kremster,

    Really sorry - I had a busy week and didn't respond sooner.

    Can you describe how your drive letters are organised, please? How are you using the VHD file?

    I believe that you could encrypt the whole SD card with Bitlocker without using a VHD drive at all - see here, for instance.
    BitLocker - Turn On for Removable Data Drives in Windows 8

    Or it is something else which you're trying to do?

    Regards
      My System SpecsSystem Spec

  8. #57


    Posts : 3
    Windows 8.1Pro


    DavidY,

    Thanks for the response. I guess I should be a little more clear on what I'm doing, sorry I thought you could read my mind.

    So as I mentioned I got that 64GB SD Card for my Surface Pro 3. I'm still running 8.1 but need to upgrade to 10 so if it makes sense to upgrade before I proceed, just let me know.

    We use OneDrive to sync our files to the cloud. My hard drive is nearly full so my ability to sync new data to OneDrive is running out very soon as my hard drive fills up. So I'm trying to format the SD Card to where my machine will actually recognize it as a drive (rather than removable media) and then I can sync OneDrive files to it. I first completed the steps on this page:
    On Windows 8 or 10, particularly on tablets with a permanently inserted SD card, is there a universal way to treat the card as a non-removable drive? - Super User

    While going through that, it said the following "Now, the trick to bring it all together is to set up Windows so that the drive is mounted when the computer boots, as it's no fun having to go into Disk Management each time your computer starts to mount the drive. To do this, you'll need to create a script for mounting it, and then using Task Scheduler to execute the script on boot. I found a really good guide here, which I'll summarize below." - I followed those steps closely while just changing the naming conventions slightly.

    That 'here' reference above is of course to your page about doing the VHD Auto-Mount and that sounded like something I should incorporate. I should probably caveat this whole thing with the fact that I'm not an IT professional. I certainly know more than the average Joe and I'm seen as the IT guy in my office (unfortunately) but I'm not overly technical and this process is a bit out of my league. Anyway, I walked through the steps on the other article, together with yours, and once completed I don't see the new SD Card anywhere within File Explorer. I actually do see it under C:/SD Card, but when I try to access it, it gives me an error saying that Location is not available.


    I can still see the SD Card under Disk Management as File System Unknown (BitLocker Encrypted) and Status is Health (Primary Partition).

    I tried to include screenshots of both of those but it didn't seem to let me post those?

    Anyway, let me know if you think I should start over and add BitLocker after the fact - if this is the case, I assume I just need to re-format the SD Card and I'll be back at the beginning of the process? Or should I upgrade to Windows 10 first, then re-try these steps? Hopefully that better explains it. Let me know! I appreciate it.
      My System SpecsSystem Spec

  9. #58


    Posts : 2,690
    Windows 3.1 > Windows 10


    If your drive is rather full - you will have a hard time upgrading to windows 10...

    I see you mention C:\SDCard - is there a . vhd or .vhdx file in that directory ??

    Because it appears to me you formatted the SDCard and mounted as a folder C:\SDCard

    try to add a file into C:\SDCard (the SDCard is now mounted as a folder on C:\ and not a drive with drive letter)

    And just a side note - a vhd can be mounted from removable media - although not sure about using onedrive sync with removable media - but a vhd would also be assigned a drive letter

    It seems to me that you should sync the onedrive cloud storage with C:\SDCard
      My System SpecsSystem Spec

  10. #59


    Posts : 3
    Windows 8.1Pro


    Quote Originally Posted by KYHI View Post
    If your drive is rather full - you will have a hard time upgrading to windows 10...

    I see you mention C:\SDCard - is there a . vhd or .vhdx file in that directory ??

    Because it appears to me you formatted the SDCard and mounted as a folder C:\SDCard

    try to add a file into C:\SDCard (the SDCard is now mounted as a folder on C:\ and not a drive with drive letter)

    And just a side note - a vhd can be mounted from removable media - although not sure about using onedrive sync with removable media - but a vhd would also be assigned a drive letter

    It seems to me that you should sync the onedrive cloud storage with C:\SDCard
    - Yes I put a .vhdx file in the C:\SD Card directory
    - "Because it appears to me you formatted the SDCard and mounted as a folder C:\SDCard" - yes, that's what I attempted - not sure if I did it correctly given the errors I'm getting.
    - I tried to add a file to C:\SD Card and I get the same error - "Location is not available"
    - I expected that the VHD would assign the SD card it's own drive letter, but that didn't happen.
    - "It seems to me that you should sync the onedrive cloud storage with C:\SDCard" - this is what I'm trying to do. Unsuccessfully thus far.

    Regarding the upgrade to Windows 10, I could free up another 12GB of data once I can figure out this SD Card and move those files from my C drive over to the SD card. So I would think 25GB free should be enough space for the upgrade to 10?
      My System SpecsSystem Spec

Page 6 of 7 FirstFirst ... 4567 LastLast
VHD - Auto-mount at Startup in Windows 8
Related Threads
BSOD Error On Startup - Auto Restarts in BSOD Crashes and Debugging
Hello, My little brothers desktop PC that is running Windows 8.1 keeps going to the BSOD on every startup i do, once it restarts and goes back to desktop it seems to run fine and doesnt BSOD which is quite frustrating. I've zipped up the files needed for you guys to have a view (following the...
Hello, i'm running Windows 8 Home Premium. I'd like to increase my startup speeds, I already disabled as much as I can in Task Manager, msconfig, etc. In the Task Scheduler, it shows Metro Apps are taking CPU time at startup though. After much searching on the topic, I find very little about how...
As the title said. Someone my programs that has yellow-blue shield like this 41798 fail to autostart at log-on or windows startup. I tried many ways: registry, put their shortcuts in startup folder, changed gpedit.msc so that they start on log-on... none of them works. Is there anyway to fix this,...
I'd like to change the order in which certain programs in my startup folder load. I don't need to know how to add or remove programs from the startup folder, and I'm not talking about security or system programs. I'm talking about some programs I've added to my computer, which I use all the time in...
System Specs Intel i5 2400 3.10 Ghz8Gb of Ram1TB SATA HDDAMD Radeon HD 6670motherboard Z77M-D3H rev 1.0Windows 8 Pro X64 Problem: for the past few weeks this problem begun and i dont know how but it just happenedfirst i was wondering why so i checked event viewer and logs involving the...
I apologise if this is the wrong section, this isnt strictly a BSOD crash. Yesterday when shutting down my laptop (which has been upgraded to windows 8 Pro Previously, without issue) windows 8 installed an update. Since then, when trying to boot, windows hangs on the loading scree (spinning...
Hello All, I have a problem in windows 8 32 bit to auto lunch my application at boot up/start up. Actually I already created registry in: and while I am also created registry in:
Eight Forums Android App Eight Forums IOS App Follow us on Facebook