| 1 | = Fix Windows Update = |
| 2 | |
| 3 | == Fix Windows Update == |
| 4 | |
| 5 | {{{ |
| 6 | net stop wuauserv |
| 7 | |
| 8 | net stop cryptsvc |
| 9 | |
| 10 | Now, open File Explorer, navigate to C:\ Windows and locate the SoftwareDistribution folder. |
| 11 | |
| 12 | Delete the folder. |
| 13 | |
| 14 | Open Command Prompt again in administrator mode. |
| 15 | |
| 16 | Type the below-mentioned commands and press enter. It will start the Windows Update Service. |
| 17 | |
| 18 | net start cryptsvc |
| 19 | |
| 20 | OR |
| 21 | |
| 22 | net stop bits |
| 23 | |
| 24 | net stop wuauserv |
| 25 | |
| 26 | net stop appidsvc |
| 27 | |
| 28 | net stop cryptsvc |
| 29 | |
| 30 | Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*" |
| 31 | |
| 32 | rmdir %systemroot%\SoftwareDistribution /S /Q |
| 33 | |
| 34 | rmdir %systemroot%\system32\catroot2 /S /Q |
| 35 | |
| 36 | regsvr32.exe /s atl.dll |
| 37 | |
| 38 | regsvr32.exe /s urlmon.dll |
| 39 | |
| 40 | regsvr32.exe /s mshtml.dll |
| 41 | |
| 42 | netsh winsock reset |
| 43 | |
| 44 | netsh winsock reset proxy |
| 45 | |
| 46 | net start bits |
| 47 | |
| 48 | net start wuauserv |
| 49 | |
| 50 | net start appidsvc |
| 51 | |
| 52 | net start cryptsvc |
| 53 | |
| 54 | }}} |