1

If I try to open Device Manager, an error message will pop up:

MMC cannot open the file C:\WINDOWS\system32\devmgmt.msc

I have already searched for solutions, but there was nothing that seemed like my problem. How do I troubleshoot this?

JW0914
  • 9,096

2 Answers2

1

First try the first and simplest repair: DISM and SFC .

Open cmd.exe with Run as Administrator.

DISM.exe /Online /Cleanup-image /StartComponentCleanup

DISM.exe /Online /Cleanup-Image /Restorehealth

SFC /SCANNOW

Restart when all the above is complete and test.

====

Then, if the initial repair did not work, use the Windows 10 Repair Install.

Go to the Media Creation Link:

https://www.microsoft.com/en-us/software-download/windows10

Windows 10 is running, so click on the Download button (not Upgrade Button) and select Run. If the Repair will not run as per above, use the Download button to create a USB Windows Installation key, then run Setup on the USB Key.

This will launch the Repair and proceed normally. Use the option to Keep Everything.

0

As an alternative to John's answer.

  1. Start > Run > MMC
  2. File > Add/Remove Snap-in (or ctrl+m)
  3. Select Device Manager from the list, and click Add >
  4. Click OK to close the dialog

enter image description here