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

"Check Windows updates and store app blockers" always returns [FOUND] #459

Open
TheMMC opened this issue May 28, 2024 · 1 comment
Open

Comments

@TheMMC
Copy link

TheMMC commented May 28, 2024

Line 425 to 427 in HWID_Activation.cmd:
reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v SettingsPageVisibility %nul2% | find /i "windowsupdate" %nul% && set updatesblock=1
reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdateSysprepInProgress %nul% && set updatesblock=1
reg query HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /s %nul2% | findstr /i "NoAutoUpdate DisableWindowsUpdateAccess" %nul% && set updatesblock=1

This just checks the existence of the registry keys, not their value.
I have NoAutoUpdate=0 in my registy, but the batch returns "Checking Update Blocker In Registry [Found]" just because I got that registy key at all.

/edit
line 436: DisableStoreApps set to 0 is properly checked for the value. Just use the same logic for DisableWindowsUpdateAccess and NoAutoUpdate, please :)

@WindowsAddict
Copy link
Member

In the next update, it will be more accurate.

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