Re: changing when Windows automatically checks for updates


 

I have gotten no definitive answer as to how or whether one can actually determine the time of checking.  My gut is telling me that this may be a two-way communication where MS can "knock on the door" of the Windows Update process or vice versa, depending on the situation.

The following, when put into a .bat file and run under an elevated command prompt (Run as Admin), will make the changes in Windows Update noted by the remark line ahead of each (and don't copy/paste the lines of hyphens):
----------------------------------------------------------------------------
@echo OFF
REM The following entries tweak Windows Update's Auto-Update features
REM and will prevent Windows 10 from restarting automatically if any user is logged in to the system.
REM For further details on all these keys see:  https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc708449(v%3dws.10)
REM This does still apply under Windows 10 though the above noted page was written for an earlier Windows
 
REM Still permit Windows Update to do Automatic Updates
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 0 /f
 
REM Make Windows Update notify you before downloading anything
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /t REG_DWORD /d 2 /f
 
REM Allow User the choice of whether to reboot now or keep postponing
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f
 
REM The following two keys are valid only if the value for the AUOptions key is equal to 4, full automatic, which we reset to 2 above
REM They're being set only in case you ever go back to full automatic.
 
REM  The scheduled install day would be every day of the week if full automatic install were in force
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v ScheduledInstallDay /t REG_DWORD /d 0 /f
 
REM The scheduled install time would be 3 AM (hour specified on 24-hour time, 0-23) if full automatic install were in force
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v ScheduledInstallTime /t REG_DWORD /d 3 /f
 
REM This key is not related to Windows Update scheduling, but regards whether it will try to update drivers
REM The following sets Windows Update such that it will NOT attempt to update drivers
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v ExcludeWUDriversInQualityUpdate /t REG_DWORD /d 1 /f
----------------------------------------------------------------------------
--

Brian - Windows 10 Home, 64-Bit, Version 1809, Build 17763  

A great deal of intelligence can be invested in ignorance when the need for illusion is deep.

          ~ Saul Bellow, To Jerusalem and Back

 

 

Join nvda@nvda.groups.io to automatically receive all group messages.