Advertisement
Guest User

Paul Csiki / Pulseway

a guest
Feb 21st, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.30 KB | None | 0 0
  1. @echo off
  2. sc config winmgmt start= disabled
  3. net stop winmgmt /y
  4. %systemdrive%
  5. cd %windir%\system32\wbem
  6. for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
  7. wmiprvse /regserver
  8. winmgmt /resetrepository
  9. sc config winmgmt start= Auto
  10. net start winmgmt
  11. for /f %%s in ('dir /s /b *.mof *.mfl') do mofcomp %%s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement