Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Update | Windows Store #4

Open
TheRayJohnson opened this issue Sep 1, 2024 · 2 comments
Open

Windows Update | Windows Store #4

TheRayJohnson opened this issue Sep 1, 2024 · 2 comments

Comments

@TheRayJohnson
Copy link

Hi,

Similar to issue #2 since running some of the tweaks I'm unable to install Windows 11 Updates or Install Call of Duty: Black Ops 6 Open Beta Update.

{6316F9D4-EFA3-4D93-93D1-E96A5DEB3F09}

{D1D2FEA4-8DED-41C8-A027-8FD9BF86B3FB}

It was fine until I did some of the Network Tweaks. Seems Windows Firewall is no longer in my services.msc?

Any ideas?

@TheRayJohnson
Copy link
Author

These are some of the lines I can find related to Windows Update. I'm wondering if there is a way for me to restore these to avoid a full PC format job?

(Yes, I did create a restore point but it's failing to restore so welp GGs)

reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f >nul 2>&1

reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f >nul 2>&1

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\7971f918-a847-4430-9279-4a52d1efe18d" /v "RegisteredWithAU" /t REG_DWORD /d "0" /f >nul 2>&1

schtasks /delete /f /tn "\Microsoft\Windows\WindowsUpdate" >nul 2>&1

@Batlez
Copy link
Owner

Batlez commented Dec 11, 2024

You can just replace 'delete' with 'add', and for the scheduled tasks, you can try this:
schtasks /create /tn "\Microsoft\Windows\WindowsUpdate" /tr "usoclient.exe StartScan" /sc daily /st 12:00 /ru "SYSTEM"
After you run that, you can verify it works by using the following code:
schtasks /query /tn "\Microsoft\Windows\WindowsUpdate"

Also, the restore point shouldn't of failed, but I will look into this, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants