Advertisement
gn4711

Run if Windows Update troubles

Jun 25th, 2012
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.90 KB | None | 0 0
  1. net stop cryptsvc
  2. md %systemroot%\system32\catroot2.old
  3. xcopy %systemroot%\system32\catroot2 %systemroot%\system32\catroot2.old /s
  4. net start cryptsvc
  5.  
  6.  
  7. sfc /scannow
  8.  
  9.  
  10. REGSVR32 WUPS2.DLL /S
  11. REGSVR32 WUPS.DLL /S
  12. REGSVR32 WUAUENG.DLL /S
  13. REGSVR32 WUAPI.DLL /S
  14. REGSVR32 WUCLTUX.DLL /S
  15. REGSVR32 WUWEBV.DLL /S
  16. REGSVR32 JSCRIPT.DLL /S
  17. REGSVR32 MSXML3.DLL /S
  18.  
  19.  
  20. Net stop wuauserv
  21. cd %systemroot%
  22. Ren SoftwareDistribution SoftwareDistribution.old
  23. Net start wuauserv
  24.  
  25.  
  26. Net stop bits
  27. Net stop wuauserv
  28. Ipconfig /flushdns
  29. cd "\documents and settings\all users\application data\microsoft\network\downloader"
  30. Del qmgr0.dat
  31. Del qmgr1.dat
  32. Net start bits
  33. Net start wuauserv
  34. -------------------------------------------------
  35. DISM.exe /Online /Cleanup-image /Scanhealth
  36. DISM.exe /Online /Cleanup-image /Restorehealth
  37. -------------------------------------------------
  38. net stop wuauserv
  39. net start wuauserv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement