Hyper-V: Error: The System cannot find the file specified

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche

Error

The error code was '0x2' ('The System cannot find the file specified')
The specified network resource or device is no longer available (0x80070037)
Cluster resource 'Virtual Machine Configuration <VMName>' of type 'Virtual Machine Configuration' in clustered role '<VMName>' failed. The error code was '0xd' ('The data is invalid.').


Cause

There are corrupt VM-files in directory "C:\ProgramData\Microsoft\Windows\Hyper-V\Planned Virtual Machines\"


Solution

  • Remove all the VM-files on the destination node in the directory "Planned Virtual Machines" ("C:\ProgramData\Microsoft\Windows\Hyper-V\Planned Virtual Machines\")
Stop-Service vmms; Remove-Item -Path "C:\ProgramData\Microsoft\Windows\Hyper-V\Planned Virtual Machines\*" -Recurse;Start-Service vmms