Windows 10 Automatic Updates Enable/Disable script

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

  1. Jaffar

    Jaffar MDL Member

    Jul 10, 2015
    212
    118
    10
    Official work around
    support. microsoft .com/en-us/kb/3073930
     
  2. bdl

    bdl MDL Senior Member

    Aug 8, 2012
    374
    19
    10
    #22 bdl, Jul 18, 2015
    Last edited: Jul 18, 2015
    1.when disable i run reg. and when enabled re-run this reg. ?
    2.it work with another language pack ?
     
  3. AnimaliX

    AnimaliX MDL Novice

    Jul 28, 2009
    44
    23
    0
    #23 AnimaliX, Jul 18, 2015
    Last edited by a moderator: Apr 20, 2017
    i think that NoAutoUpdate reg settings are not necessary... alone is not working, so why?
    Code:
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /D 1 /T REG_DWORD /F
     
  4. urie

    urie Moderator
    Staff Member

    May 21, 2007
    9,037
    3,385
    300
    #24 urie, Jul 18, 2015
    Last edited by a moderator: Apr 20, 2017
    probably because windows update service is still running quote from script
     
  5. TeamOS

    TeamOS MDL Guru

    May 27, 2013
    3,046
    1,739
    120
    if kill WU Services then WU stop permantly :D ..
     
  6. cactusjuice92

    cactusjuice92 MDL Novice

    Apr 13, 2015
    27
    4
    0
    Why would you upload it to that site? It uses a downloader and Malwarebytes detected it as a Trojan.

    Thanks for posting the scripts contents tho...easy to throw into a batch file.
     
  7. E_B_M

    E_B_M MDL Member

    Jan 16, 2012
    158
    83
    10
    Didn't work.:( After run the script WU disabled, I uninstalled KB3074665, rebooted & manually checked WU... KB3074665 auto d/l & installed then asked reboot...

    KB-auto-install.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. ashish.k

    ashish.k MDL Senior Member

    Dec 27, 2014
    269
    125
    10
    #28 ashish.k, Jul 18, 2015
    Last edited: Jul 18, 2015
    @E_B_M, Try to read the previous page. I have already told about this. This script stops Windows from automatically checking for updates and downloading them but if you do manually check it will download updates automatically. So in conclusion, Windows will never check for updates unless you manually check yourself but the only disadvantage is that it starts downloading immediately.
     
  9. timster

    timster MDL Senior Member

    Aug 23, 2009
    465
    344
    10
    If you're seeing a downloader on mirror creator, that's a fault on your end.
     
  10. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,316
    11,471
    240
    #30 murphy78, Jul 18, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Hmm... I'll have to figure out a different way to calculate the Windows version...
     
  11. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,316
    11,471
    240
    OK I changed the win10 check to: "wmic os get version|find /i "10.""
    It should be more tolerant of non-English versions now. Sorry non-English folks. My bad.
     
  12. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,316
    11,471
    240
    All this script does is:
    1 - query version number
    2 - query reg key
    3 - stop wuauserv (windows update service) if it's running
    4 - change reg key

    It does literally what you're suggesting.
     
  13. ashoktvm

    ashoktvm MDL Addicted

    Jul 29, 2009
    505
    48
    30
    #33 ashoktvm, Jul 18, 2015
    Last edited: Jul 18, 2015
    @murphy78 Worked perfectly in My laptop with enterprise edition but did not on my desktop with pro. It shows automatic (recommended) in update and security
     
  14. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,232
    15,388
    270
    No problem if you are a rookie for this mistake, were do I get relegated? As a kindergarten kiddo? :p
     
  15. labvxe

    labvxe MDL Expert

    Mar 24, 2015
    1,385
    165
    60
    But what happens if I turn on metered connection...
    Still confused just curious to know :)

    Thanks
     
  16. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,316
    11,471
    240
    It might take a while for the system to realize it's been disabled.
    Try rebooting if it doesn't seem to catch on.
     
  17. Daz

    Daz MDL Developer / Admin
    Staff Member

    Jul 31, 2009
    9,550
    67,154
    300
    This will help avoid wasting even more data if you're on a capped connection, but I hope that it doesn't catch on as a way to prevent some specific updates as it's not really a solution for that. People would be blocking all updates which would leave a lot of users vulnerable to exploits and they'd also be missing important OS fixes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. elzna

    elzna MDL Senior Member

    Aug 28, 2013
    436
    54
    10
    this will be good if kms7 is enforced.
     
  19. ashish.k

    ashish.k MDL Senior Member

    Dec 27, 2014
    269
    125
    10
    No, it won't. This does not gives us choice of updates to be installed but only stops Windows from checking for updates in the background. Once you manually check for updates, it will start downloading every update available.
     
  20. Daz

    Daz MDL Developer / Admin
    Staff Member

    Jul 31, 2009
    9,550
    67,154
    300
    I disagree for the exact reason I just mentioned. Disabling all updates because you don't want one isn't the smart thing to do.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...