none
PowerShell script to change windows automatic update settings

    Question

  • Hi,

      I am looking for a script that will change the windows update setting to "

     “Check for updates but let me choose wether to download and install them”

    My servers are 2008 R2 

    Thanks

    Bibin


    Wednesday, April 22, 2015 7:07 PM

Answers

  • Hi Bibin,

    To set "Check for updates but let me choose whether to download and install them", please also refer to this script, you can set NotificationLevel to 2:

    $WUSettings = (New-Object -com "Microsoft.Update.AutoUpdate").Settings
    $WUSettings.NotificationLevel=2
    $WUSettings.save()
    

    Refer to:

    Error when setting Windows Updates preferences from PowerShell

    If there is anything else regarding this issue, please feel free to post back.

    Best Regards,

    Anna Wang


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com

    Thursday, April 23, 2015 11:55 AM
    Moderator

All replies