Skip to content

Disable automatic Windows Updates #414

@JAM-92

Description

@JAM-92

Checklist

  • I have searched for existing issues/discussions and didn't find any similar ones.

Describe the feature or improvement

Hi there! What an amazing script, it worked like a charm, and I immediately see a performance increase. Now, I would like to suggest the option added to the script to disable windows update. For users like me with a comprehensiv security package, behind a massive firewall & VPN who don't use Windows for any important stuff, could prevent any 'new bloat' from being installed, such as all major updates of Windows 11 did since build 22H2.

For this to be achieved the following registry key should be made by the script:

Method one:
Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
Right-click the Windows folder, select New > Key, and name it WindowsUpdate.
Right-click the new WindowsUpdate key, select New > Key, and name it AU.
In the AU key, right-click and choose New > DWORD (32-bit) Value, name it NoAutoUpdate.
Double-click NoAutoUpdate and change its value from 0 to 1.

Another way that I checked, and tested working, but seems meant for Win10, however it works:

On the Registry editor window, go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
(You can copy and paste the address on the address bar)
On the right side of the screen, right click > New > DWORD (32-bit) > and name it TargetReleaseVersion
Double click it and set Value Data to 1
Again, on the right side of the screen, right click > New > String Value > and name it ProductVersion,
Double click it and set Value Data to Windows 10
Once more on the right side of the screen, right click > New > String Value > and name it TargetReleaseVersionInfo, double click it and set Value Data to 21h2

I am absolutely not tech savvy enough to write the script myself. In any case, thanks again for the great script!

Examples

No response

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions