creating a VM on another drive -


  1. Posts : 109
    Windows 10 pro
       #1

    creating a VM on another drive -


    I want to create a Hyper-v vm and store it on a secondary 'D' drive
    I then want to install a fresh copy of windows on my PC
    and still have access to that vm on the 'D' Drive.

    I am creating the VM now.
    I have set my config to save new VM's to “D:\Hyper-V\Configuration Files” and “D:\Hyper-V\Virtual Hard Disks”

    I do not have a very good grasp of how VM's files are used so I am worried that there will be something saved on the original C drive that won't be available when I format it and re-install windows.

    Can anyone confirm that what I have done will work please?

    Thanks

    Mike
      My Computer


  2. Posts : 31,398
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #2

    mpooley said:
    Can anyone confirm that what I have done will work please?
    @Kari is the expert in this field, but I believe that the configuration files and the virtual disks are all that you need. I would think that once you have clean installed Windows and turned on Hyper-V in Windows Features then you should import the VM, selecting 'Register the virtual machine in-place' in order to keep using the files on your D: drive.

    If you have used the Default Switch for networking it should work straight away, but if you have created your own switch then you would need to create a new one and change the VM's settings to use it before the VM will work.

    Import Hyper-V Virtual Machine in Windows 10
      My Computers


  3. Posts : 109
    Windows 10 pro
    Thread Starter
       #3

    Bree said:
    @Kari is the expert in this field, but I believe that the configuration files and the virtual disks are all that you need. I would think that once you have clean installed Windows and turned on Hyper-V in Windows Features then you should import the VM, selecting 'Register the virtual machine in-place' in order to keep using the files on your D: drive.

    If you have used the Default Switch for networking it should work straight away, but if you have created your own switch then you would need to create a new one and change the VM's settings to use it before the VM will work.

    Import Hyper-V Virtual Machine in Windows 10
    Thanks that is very helpful.
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
       #4

    You need to first create the virtual machine in Hyper-V, then export that VM to a safe location, for instance to an external USB hard disk.

    When exported, it's safe. You can then import it back to Hyper-V in same WIndows installation on same computer, a new Windows installation on that computer, or to any other Windows computer running Hyper-V.

    Ten Forums tutorials:

    Additional read:

    Virtual machines can be stored and run from any internal or external HDD / SSD or USB flash drive. For instance, I keep most of my virtual machines on a fast external USB 3 hard disk, and backup them (export) to a NAS drive.

    Kari
      My Computer


  5. Posts : 109
    Windows 10 pro
    Thread Starter
       #5

    Thanks for the reply. Ok I will do just that.
    Thanks again

    MIke
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:42.
Find Us




Windows 10 Forums