Difference between revisions of "Fix Windows Update"

From rbachwiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 26: Line 26:


* Go to system32 directory and run these commands
* Go to system32 directory and run these commands
open file explorer from cmd  
*open file explorer from cmd  
explorer . (. will open current directory)
*explorer . (. will open current directory)
* Put the list below into a batch file
wupdate.bat
* copy file in the system32 dir
* run file


<pre>
regsvr32.exe /s atl.dll
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s urlmon.dll
Line 65: Line 70:
regsvr32.exe /s muweb.dll
regsvr32.exe /s muweb.dll
regsvr32.exe /s wuwebv.dll
regsvr32.exe /s wuwebv.dll
 
</pre>
* Reset networking
* Reset networking
netsh winsock reset
netsh winsock reset
netsh winsock reset proxy
netsh winsock reset proxy
netsh int ip reset
netsh int ip reset
ipconfig /flushdns
ipconfig /flushdns


* Restart services
* Restart services
net start bits
net start bits
net start wuauserv
net start wuauserv
net start appidsvc
net start appidsvc
net start cryptsvc
net start cryptsvc

Latest revision as of 16:59, 28 August 2023

  • Run CMD as Admin

Stop Update Services

  • net stop bits (Background intelligent service)
  • net stop wuauserv
  • net stop appidsvc
  • net stop cryptsvc
cd\
cd Program Data
cd Application Data
cd Microsoft
cd Network
cd Downloader
  • Delete all the files in the Downloader Dir
cd \
cd windows
rename SoftwareDistribution Software_old
cd System32
rmdir catroot2 /S /Q


  • reset security descriptor in Windows update and Bits
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
  • Go to system32 directory and run these commands
  • open file explorer from cmd
  • explorer . (. will open current directory)
  • Put the list below into a batch file
wupdate.bat
  • copy file in the system32 dir
  • run file
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s shdocvw.dll
regsvr32.exe /s browseui.dll
regsvr32.exe /s jscript.dll
regsvr32.exe /s vbscript.dll
regsvr32.exe /s scrrun.dll
regsvr32.exe /s msxml.dll
regsvr32.exe /s msxml3.dll
regsvr32.exe /s msxml6.dll
regsvr32.exe /s actxprxy.dll
regsvr32.exe /s softpub.dll
regsvr32.exe /s wintrust.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s gpkcsp.dll
regsvr32.exe /s sccbase.dll
regsvr32.exe /s slbcsp.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s oleaut32.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s initpki.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wuaueng1.dll
regsvr32.exe /s wucltui.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s wuweb.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s qmgrprxy.dll
regsvr32.exe /s wucltux.dll
regsvr32.exe /s muweb.dll
regsvr32.exe /s wuwebv.dll
  • Reset networking
netsh winsock reset
netsh winsock reset proxy
netsh int ip reset
ipconfig /flushdns
  • Restart services
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc