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?
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.
Online /Cleanup-image /StartComponentCleanup.
And DISM.exe /Online /Cleanup-Image /Restorehealth
DISM.exe /Online /Cleanup-image /StartComponentCleanup
that it says The system cannot find the path specified
?
As an alternative to John's answer.
MMC
Device Manager
from the list, and click Add >
Dism
andSfc
are executed from an Admin terminal