W4RH4WK / Debloat-Windows-10

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

Microsoft Store Windows Update Error 0x80070422 #260

Open kaldera3451 opened 3 years ago

kaldera3451 commented 3 years ago

Microsoft Store gives me Windows Update Error 0x80070422 when trying to install games

"Windows Update has been disabled. You can repair Windows Update by running the Windows Update troubleshooter in Settings"

I guess disabling scheduled tasks caused this problem

W4RH4WK commented 3 years ago

Okay, thanks for letting me know. Disabling scheduled tasks could definitely be the cause of this.

Have you confirmed Windows Store to be working again after re-enabling scheduled tasks? If so, do you happen to know which one resulting in breaking the store?

kaldera3451 commented 3 years ago

How can I re-enable scheduled tasks?

W4RH4WK commented 3 years ago

There is a control panel for scheduled tasks, you should be able to find it via the start menu. You can re-enable scheduled tasks by right clicking the entry.

image

By default disable-scheduled-tasks.ps1 only disables a few of them, you should be able to find them by looking at the entries in the file (the ones without a # at the start of the line).

kaldera3451 commented 3 years ago

I enabled them all but I get the same error

kaldera3451 commented 3 years ago

I dont have these scheduled tasks

"\Microsoft\Windows\WindowsUpdate\Automatic App Update"

"\Microsoft\Windows\WindowsUpdate\sih"

"\Microsoft\Windows\WindowsUpdate\sihboot"

W4RH4WK commented 3 years ago

In that case, disabled scheduled tasks may not be the culprit.

There are 3 more things that come to mind.

The hosts file is located in C:\WINDOWS\System32\drivers\etc and contains a list of domains that should be mapped to localhost. Simply removing all of them (so you end up with an empty file) should undo this change.

In the firewall configuration panel, there should be a rule named Block Telemetry IPs, disabling that firewall rule should undo this change.

Lastly, re-enable all services that have their startup type set to disabled in the services control panel.

kaldera3451 commented 3 years ago

nothing changed I get same error

W4RH4WK commented 3 years ago

Okay, did your runexperimental_unfuckery.ps1 and did you modify the scripts in any way before running them?

kaldera3451 commented 3 years ago

I ran experimental_unfuckery.ps1 but I didn't modify scripts

W4RH4WK commented 3 years ago

In that case, that may be the fault. I don't think there is a sane way of undoing that. Let me highlight the description of this file:

This script remove strang looking stuff which will probably result in a break of your system. It should not be used unless you want to test out a few things. It is named experimental_unfuckery.ps1 for a reason.

Vato67 commented 3 years ago

So there is nothing to do if we used _experimentalunfuckery.ps1 ?

W4RH4WK commented 3 years ago

Unfortunately no, I don't think so. Best approach would be to simply re-install.

Vato67 commented 3 years ago

re-install windows?

W4RH4WK commented 3 years ago

Yes.

Vato67 commented 3 years ago

ok thanks

dennyamarojr commented 3 years ago

To fix this problem, enable Windows License Manager in services.msc. See: https://github.com/simeononsecurity/Windows-Optimize-Debloat/issues/1