Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- sc config winmgmt start= disabled
- net stop winmgmt /y
- %systemdrive%
- cd %windir%\system32\wbem
- for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
- wmiprvse /regserver
- winmgmt /resetrepository
- sc config winmgmt start= Auto
- net start winmgmt
- for /f %%s in ('dir /s /b *.mof *.mfl') do mofcomp %%s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement