MMC cannot open the file
Today I had a problem with a server running Windows 2008 R2 and HyperV. We were unable to get into the HyperV manager and had an error “MMC cannot open the file C:\Windows\system32\virtmgmt.msc”.
In order to resolve this, I simply renamed the file virtmgmt to virtmgmt.old in the folder :
The file has probably got corrupted at some stage and by renaming the file, the next time you access the Management tool it gets recreated.
You may need to reregister the MSXML3.dll as well by going to start, run and typing in the following and click OK:
You should see the following message to say it has succeeded:
Hopefully this quick fix will work for other MMC files in the MMC folder such as wbadmin for windows backup, or eventvwr for the Event viewer.
Let me know if you ‘ve had success with any of the following :
“MMC cannot open the file C:\Windows\system32\eventvwr.msc”
“MMC cannot open the file C:\Windows\system32\wbadmin.msc”
“MMC cannot open the file C:\Windows\system32\ServerManager.msc”
“MMC cannot open the file C:\Windows\system32\SQLServerManager10.msc”
I hope this helps someone and if it does please leave a comment below. (It’s nice to receive feedback !)
Thanks for reading,