[HowTo:] Set Windows Update to manual updates

Discussion in 'Scripting' started by moderate, Nov 17, 2015.

  1. moderate

    moderate MDL Guru

    Aug 31, 2009
    2,620
    2,122
    90
    #1 moderate, Nov 17, 2015
    Last edited by a moderator: Apr 20, 2017
    Hello,

    for setting WU to not download and install anything automatically, run this REG:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
    "NoAutoUpdate"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\WindowsUpdate\AU]
    "NoAutoUpdate"=dword:00000001
    
     
  2. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,354
    632
    60
    does it work for real then?
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    7,407
    23,094
    240
    #3 abbodi1406, Nov 17, 2015
    Last edited: Nov 17, 2015
    That policy only lasts as long as you don't use the Check/Retry button in WU, because it will revert it to Auto

    so, the manual update must be done using other resource (WindowsUpdate MiniTool or PSWindowsUpdate)
     
  4. moderate

    moderate MDL Guru

    Aug 31, 2009
    2,620
    2,122
    90
    WindowsUpdate MiniTool only does this single setting.
    I captured it with RegShot.
    On my computer it works.
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    7,407
    23,094
    240
    I know that
    but does it still works (prevent auto update) when you go to Settings > Update & Security > Windows Update, and hit check or retry button? :)
     
  6. yomoma2

    yomoma2 MDL Member

    Feb 27, 2010
    211
    47
    10
    Yep, UsoClient.exe StartScan should be used instead of that button to force WU check for updates without starting to download immediately. Only then, if found any, the other Download button will appear.
     
  7. acyuta

    acyuta MDL Expert

    Mar 8, 2010
    1,628
    367
    60
    It is still all or none, and so far not pick, select, or untick.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    7,407
    23,094
    240
    And there comes the beauty of WUMT
     
  9. moderate

    moderate MDL Guru

    Aug 31, 2009
    2,620
    2,122
    90
    Yes, both keys are still set, but I also have it disabled on WUMT. :)
     
  10. °ツ

    °ツ MDL Addicted

    Jun 8, 2014
    569
    599
    30
    #10 °ツ, Mar 9, 2016
    Last edited by a moderator: Apr 20, 2017
    I use this in a bat file and it seems to disable WU completely, even tho I am not sure if everything is needed.

    Code:
    REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /t REG_DWORD /d 1 /f
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /F /v NoWindowsUpdate /t REG_DWORD /d 1
    REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Internet Communication Management\Internet Communication" /F /v DisableWindowsUpdateAccess /t REG_DWORD /d 1
    REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /F /v DisableWindowsUpdateAccess /t REG_DWORD /d 1
    
    When I go to check for updates it shows:

    [​IMG]
     
  11. javaspain

    javaspain MDL Junior Member

    Jul 29, 2009
    60
    31
    0
    It included in the final:
    gpupdate /force
    pause
     
  12. pf100

    pf100 MDL Addicted

    Oct 22, 2010
    738
    584
    30
    #12 pf100, Mar 9, 2016
    Last edited: Mar 9, 2016
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...