[dismiss]
På yggenyk.dk bruger vi cookies til at give dig en god oplevelse og til at indsamle statistik, der kan være med til at forbedre brugeroplevelsen. Hvis du klikker på et link på yggenyk.dk, accepterer du samtidig vores cookiepolitik.
How to fix and rebuild corrupt WMI
Jump to navigation
Jump to search
First
Click Start, click Run, type wmimgmt.msc, and then click OK. Right-click WMI Control (Local), and then click Properties. Does it show any errors?
Easy repair
Try this ‘easy’ repair:
- In the start menu type cmd
- Type net stop winmgmt and press Enter
- Open a Windows Explorer and locate the path to C:\ windows\system32\WBEM\ folder and rename the Repository folder to something else like RepositoryOLD (right click and choose 'Rename Folder').
- Restart the computer
- In the start menu type cmd
- Type net stop winmgmt and press enter
- Type winmgmt /resetRepository
- Restart the computer
If it still fails
If that didn’t solve the problem try the following, take care and be concentrated about what you are doing (use copy and paste). 😊 (I have done this with success before)
To fully rebuild the WMI Repository follow these steps:
- Disable and stop the winmgmt service
- Remove or rename C:\Windows\System32\wbem\repository
- Enable and start the winmgmt service
- Open a CMD prompt as Administrator
- In the CMD prompt Navigate to C:\Windows\System32\wbem\
- Run the following command:
- for /f %s in ('dir /b *.mof') do mofcomp %s
- Note: This will take a minute or so to complete.
- Now run the command:
- for /f %s in ('dir /b en-us\*.mfl') do mofcomp en-us\%s
- Note: This will take a minute or so to complete.
- Restart the computer
<google>ENGELSK</google>