Skip to content

Instantly share code, notes, and snippets.

@miqm
Last active January 28, 2020 08:28
Show Gist options
  • Save miqm/703c970a83e770afaa80c4783b59538c to your computer and use it in GitHub Desktop.
Save miqm/703c970a83e770afaa80c4783b59538c to your computer and use it in GitHub Desktop.
Windows 10
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
Ren C:\Windows\System32\catroot2 Catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver 

Problem

Hyper-V encountered an error trying to access an object on computer "COMPUTER_NAME" because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running. If the service is running, try to perform the task again by using Run as Administrator.

Fix

Run command from an Administrator PowerShell.

MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment