0

How to update windows behind restrictives policies (who is handled by WSUS administrator) ? Is it possible to do via registry (regedit) ?

1 Answer 1

3

Yes it s possible to update if you are administrator of your machine. Create and execute (as Administator) the file wsus.reg with the following code :

Note : The following script set the registries to allow your machine to update windows with the updates from the official Microsoft update server.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"DisableOSUpgrade"=dword:00000000
"ElevateNonAdmins"=dword:00000001
"TargetGroupEnabled"=dword:00000000
"TargetGroup"=""
"WUServer"=""
"WUStatusServer"=""


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoWindowsUpdate"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"AUOptions"=dword:00000002
"AutoInstallMinorUpdates"=dword:00000000
"DetectionFrequencyEnabled"=dword:00000001
"DetectionFrequency"=dword:00000008
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
"NoAutoUpdate"=dword:00000000
"NoAUAsDefaultShutdownOption"=dword:00000000
"NoAUShutdownOption"=dword:00000000
"ScheduledInstallDay"=dword:00000007
"ScheduledInstallTime"=dword:00000014
"RebootRelaunchTimeoutEnabled"=dword:00000001
"RebootRelaunchTimeout"=dword:000000f0
"RescheduleWaitTimeEnabled"=dword:00000000
"UseWUServer"=dword:00000000

Then restart your machine and go to Windows Update Settings and check for updates.

Et voilà :)

Edit: You can have an explanation for each registry on the Microsoft documentation website

3
  • 1
    What's the benefit about these registry settings?
    – Biswapriyo
    Jan 19, 2018 at 13:35
  • Do you have a source for this?
    – DavidPostill
    Jan 19, 2018 at 22:31
  • I have edited my answer to add an official link and explain better what does the script file.
    – rdhainaut
    Jan 20, 2018 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.