3

I have created a windows server 2012 r2 server to be used as a domain controler but I left the hard drive on the C: drive, instead of saving it with all other virtual machine stuff on the D: drive.

How can I change that?

enter image description here

  • Failover to your secondary, shutdown the VM, move the disk file, adjust VM config, start the VM, promote to primary again. – fuero Sep 20 '18 at 14:45

2 Answers2

2

Stop the guest VM. Locate and copy or move the entire folder structure for that VM to the new location. Once the VM files are in the new location, go back to the properties screen you have in your screenshot, and change the path to reflect the new location. Start the VM.

DanBig
  • 11,423
  • 1
  • 29
  • 53
0

Here is a detailed article about VM moving: https://www.altaro.com/hyper-v/hyper-v-storage-migration/

batistuta09
  • 8,981
  • 10
  • 23
  • 2
    Hi, please edit to include some details that can apply to the OP, link only answer tend to expire with time when the link get down, Thanks! – yagmoth555 Oct 14 '18 at 23:00