MMC cannot open the file

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”.

MMC cannot open the file C:\Windows\system32\virtmgmt.msc
MMC cannot open the file C:Windowssystem32virtmgmt.msc

In order to resolve this, I simply renamed the file virtmgmt to virtmgmt.old in the folder :


The Renamed virtmgmt file
The Renamed virtmgmt file

You may need to reregister the MSXML3.dll as well by running going to start run and typing in the following and click OK:

regsvr32 C:\Windows\system32\msxml3.dll

You should see the following message to say it has succeeded:

Dll registered successfully
Dll registered successfully

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”

Hope this helps


2 Replies to “MMC cannot open the file”

  1. Thanks!
    Windows 10, after installation RSAT – error “MMC cannot open the file C:\Windows\system32\virtmgmt.msc”.

    This advice helped

  2. Hello.

    Sorry for my english, please.

    Your post working for me with a windows server 2012 std R2, but with a small difference :
    the extension file .msc was simply absent for my eventvwr file
    I restore it, reregister the dll and it work it.
    Thanks a lot for your help !


Leave a Reply

Your email address will not be published. Required fields are marked *