W4RH4WK / Debloat-Windows-10

A Collection of Scripts Which Disable / Remove Windows 10 Features and Apps
Other
6.03k stars 853 forks source link

Windows Update not working #288

Open sedomo opened 3 years ago

sedomo commented 3 years ago

Hello, I used windows debloater a couple of weeks ago but now every time I try to update I get this error code 0x80242016 any help? I am on windows build version 1909

W4RH4WK commented 3 years ago

Try re-enabling all services disabled by disable-services.ps1, clear entries in hosts file, and disable the firewall rule added by block-telemetry.ps1.

ariMamba commented 3 years ago

hello @W4RH4WK , is this still working? is it safe to upgradeable to win11?

sedomo commented 3 years ago

Hello @W4RH4WK sorry for the late response could you help me and tell me how to re-enable disable-services.ps1, clear entries in hosts file, and block-telemetry.ps1 thank you

W4RH4WK commented 2 years ago

@ariMamba No idea about Win11. Haven't looked at it at all since I can't even move the taskbar to the side 🤣

@sedomo Open the services window (Win + R: services.msc) go through all of them and set the ones with startup type Disabled to Automatic. The hosts files is located in C:\WINDOWS\System32\drivers\etc; remove all lines that do not start with a #. The firewall rules are managed via the Windows Defender Firewall with Advanced Security settings menu. There should be a firewall rule Block Telemetry IPs, disable it. Then restart and try again. If that doesn't help, I can't help you; although, you may want to look at similar issues here. Broken Windows Updates are something that comes up regularly.