Windows 10 Automatic Updates Enable/Disable script

Discussion in 'Windows 10' started by murphy78, Jul 18, 2015.

  1. XRobRoyX

    XRobRoyX MDL Junior Member

    Joined:
    Nov 17, 2012
    Messages:
    54
    Likes Received:
    8
    Trophy Points:
    0
    Today I received two updates with automatic updates disabled by the script.


    Received and installed (KB3124263)


    I also received but failed (KB890830) I then checked manually and installed.


    All is done with with automatic updates disabled by the script.


    Is there a bug in the script or is it MS that is the bug :eek:
     
  2. Scor1pan

    Scor1pan MDL Junior Member

    Joined:
    Sep 18, 2015
    Messages:
    50
    Likes Received:
    4
    Trophy Points:
    0
    Looks like this script needs an update!
     
  3. yro

    yro MDL Addicted

    Joined:
    Jul 26, 2009
    Messages:
    561
    Likes Received:
    100
    Trophy Points:
    30
    please, anyone update this script?
     
  4. Rudi1

    Rudi1 MDL Member

    Joined:
    May 30, 2007
    Messages:
    208
    Likes Received:
    67
    Trophy Points:
    10
    #144 Rudi1, Jul 15, 2016
    Last edited by a moderator: Apr 20, 2017
  5. yro

    yro MDL Addicted

    Joined:
    Jul 26, 2009
    Messages:
    561
    Likes Received:
    100
    Trophy Points:
    30
    #145 yro, Jul 16, 2016
    Last edited by a moderator: Apr 20, 2017
  6. gnugeek

    gnugeek MDL Member

    Joined:
    Nov 23, 2009
    Messages:
    171
    Likes Received:
    41
    Trophy Points:
    10
    I am done with this cat and mouse game. Microsoft wins this "forced updates up our arse" war. :mad:

    Microsoft can get away with it because Linux geek developers consider themselves to be too elite to produce any distribution which is worthwhile. Their bloated egos come in between delivering a superb Linux version which installs and runs like a dream.
    Take ANY I mean ANY latest distribution and try to install under Nvidia GTX 9XX series and up. The damn thing doesn't even boot without "nomodeset" flag.

    That is why Microsoft can get away with anything.
     
  7. Espionage724

    Espionage724 MDL Addicted

    Joined:
    Nov 7, 2009
    Messages:
    925
    Likes Received:
    276
    Trophy Points:
    30
    Even in Ubuntu with the graphics PPA?
     
  8. gnugeek

    gnugeek MDL Member

    Joined:
    Nov 23, 2009
    Messages:
    171
    Likes Received:
    41
    Trophy Points:
    10
    Yup. Those drivers can only be installed after booting with nomodeset argument and running loads of commands.
     
  9. TairikuOkami

    TairikuOkami MDL Expert

    Joined:
    Mar 15, 2014
    Messages:
    1,057
    Likes Received:
    926
    Trophy Points:
    60
    Just Set Your Connection as Metered (Metered connection prevents automatic download of Windows Updates).

    You need to take ownership of the registry key beforehand - youtube.com/watch?v=M1l5ifYKefg


    reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\NetworkList\DefaultMediaCost" /v "3G" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\NetworkList\DefaultMediaCost" /v "4G" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\NetworkList\DefaultMediaCost" /v "Default" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\NetworkList\DefaultMediaCost" /v "Ethernet" /t REG_DWORD /d "2" /f
    reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\NetworkList\DefaultMediaCost" /v "WiFi" /t REG_DWORD /d "2" /f
     
  10. yro

    yro MDL Addicted

    Joined:
    Jul 26, 2009
    Messages:
    561
    Likes Received:
    100
    Trophy Points:
    30
    nice but im not on wifi.

    i tried some scripts i found and the ideas mentioned before but none has worked. does anyone knows a way of disabling windows update on windows 10? not tools, but scripts to do so. I would like to disable windows update, disable the notifications about it and turn it on only when I want to. if possible, any advice?
     
  11. TairikuOkami

    TairikuOkami MDL Expert

    Joined:
    Mar 15, 2014
    Messages:
    1,057
    Likes Received:
    926
    Trophy Points:
    60
    That works for any connection.
     
  12. yro

    yro MDL Addicted

    Joined:
    Jul 26, 2009
    Messages:
    561
    Likes Received:
    100
    Trophy Points:
    30
    There is no "Metered" option on windows 10 pro x64 when using internet from cables (rj45)..
     
  13. gnugeek

    gnugeek MDL Member

    Joined:
    Nov 23, 2009
    Messages:
    171
    Likes Received:
    41
    Trophy Points:
    10
    You have to take ownership of the registry key mentioned in the post few posts back and change value of all network devices to 2.
     
  14. dhjohns

    dhjohns MDL Guru

    Joined:
    Sep 5, 2013
    Messages:
    3,275
    Likes Received:
    1,735
    Trophy Points:
    120
    If you google setacl.exe by Helge Klein, you can take full control of registry keys, and change the values in a batch file.
     
  15. T-S

    T-S MDL Guru

    Joined:
    Dec 14, 2012
    Messages:
    3,988
    Likes Received:
    1,327
    Trophy Points:
    120

    Just use winaerotweaker.
     
  16. jeff69dini

    jeff69dini MDL Addicted

    Joined:
    Nov 22, 2008
    Messages:
    964
    Likes Received:
    226
    Trophy Points:
    30
    when I was using 14393, I set my wifi to metered and it still downloaded updates and installed them , so that was f#$#ed up
     
  17. yro

    yro MDL Addicted

    Joined:
    Jul 26, 2009
    Messages:
    561
    Likes Received:
    100
    Trophy Points:
    30
    Even so, the metered connection does not apply to cable connections. Changing the reg key will take effect only if I connect in an wifi internet.

    Anyway, I would like to have a script to "disable" windows update. If anyone knows, please post it..
     
  18. dobbelina

    dobbelina MDL Senior Member

    Joined:
    Apr 2, 2009
    Messages:
    426
    Likes Received:
    524
    Trophy Points:
    10
  19. TairikuOkami

    TairikuOkami MDL Expert

    Joined:
    Mar 15, 2014
    Messages:
    1,057
    Likes Received:
    926
    Trophy Points:
    60
    #159 TairikuOkami, Jul 23, 2016
    Last edited: Jul 24, 2016
    It works for me on 14393, but anyway, if you disable any dependency service, Windows Updates will simply fail.
    Windows will start some disabled services like Windows Update or BITS, but not needed Windows Firewall or DHCP.

    P.S.: When the connection is set to metered, you CAN NOT check for updates, otherwise they will start downloading automatically, use WUMT or install them manually.
     

    Attached Files:

  20. woodyleonhard

    woodyleonhard MDL Novice

    Joined:
    Aug 30, 2013
    Messages:
    41
    Likes Received:
    5
    Trophy Points:
    0
    +1

    Just the script text, please... I know a few hundred million folks who could use it to good effect.

    :worthy: in advance.