sglee
asked on
How to Correct Smart Paging File Location in Virtual Machine
Hi,
I have HyperV Server 2016. Virtual hard disks and configuration files reside in the following folders:
E:\HyperV\Configuration\Vi rtual Machines
E:\HyperV\Virtual Hard Disks
Recently I restored a virtual machine from an external USB hard drive (managed by Windows Server Backup) in Windows Server Backup. As seen in the screenshots, I restored the VM to an alternate location which is F drive (another external USB hard drive) . My intention was to restore VHDX files for the VM and I thought I could do that by using Windows Server Backup. But the problem was:
(1) Instead of selecting "Files and folders" in Select Recovery Type screen, I chose "Hyper-V.
(2) In "Select Items to Recover" option screen, I ticked "VPN" VM and "Host components".
After restore job was finished, I realized that the VPN VM was running from the F drive (external USB hard drive).
So I shut down the VPN VM and got into "Settings" for VM and changed the virtual hard drive location from "F:\Restore\VPN\E_\HyperV" to "E:\HyperV\Virtual Hard Disks".
Then I realized that Smart Paging File Location has also changed to F:\Restore\VPN\E_\HyperV\C onfigurati on\Virtual Machines. In that folder, I saw 91A13DBB-A705-4337-8929-6F 46E2023512 .vmcx, 91A13DBB-A705-4337-8929-6F 46E2023512 .VMRS along with 91A13DBB-A705-4337-8929-6F 46E2023512 folder. At the same time, those files have been removed from their original location E:\HyperV\Configuration\Vi rtual Machines.
To correct the problem, can I do the following?
1. Shut down the VM.
2. Copy 91A13DBB-A705-4337-8929-6F 46E2023512 .vmcx, 91A13DBB-A705-4337-8929-6F 46E2023512 .VMRS along with 91A13DBB-A705-4337-8929-6F 46E2023512 folder from F:\Restore\VPN\E_\HyperV\C onfigurati on\Virtual Machines to E:\HyperV\Configuration\Vi rtual Machines.
3. Go to VM/Settings/Smart Paging File Location and replace F:\Restore\VPN\E_\HyperV\C onfigurati on\Virtual Machines with E:\HyperV\Configuration\Vi rtual Machines.
4. Start the VM.
I have HyperV Server 2016. Virtual hard disks and configuration files reside in the following folders:
E:\HyperV\Configuration\Vi
E:\HyperV\Virtual Hard Disks
Recently I restored a virtual machine from an external USB hard drive (managed by Windows Server Backup) in Windows Server Backup. As seen in the screenshots, I restored the VM to an alternate location which is F drive (another external USB hard drive) . My intention was to restore VHDX files for the VM and I thought I could do that by using Windows Server Backup. But the problem was:
(1) Instead of selecting "Files and folders" in Select Recovery Type screen, I chose "Hyper-V.
(2) In "Select Items to Recover" option screen, I ticked "VPN" VM and "Host components".
After restore job was finished, I realized that the VPN VM was running from the F drive (external USB hard drive).
So I shut down the VPN VM and got into "Settings" for VM and changed the virtual hard drive location from "F:\Restore\VPN\E_\HyperV"
Then I realized that Smart Paging File Location has also changed to F:\Restore\VPN\E_\HyperV\C
To correct the problem, can I do the following?
1. Shut down the VM.
2. Copy 91A13DBB-A705-4337-8929-6F
3. Go to VM/Settings/Smart Paging File Location and replace F:\Restore\VPN\E_\HyperV\C
4. Start the VM.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Kewl! :)
ASKER
That worked and saved me a lot of time & effort.
Thank you!