Turn On or Off Windows Updates for Microsoft Products in Windows 10  

Page 2 of 4 FirstFirst 1234 LastLast

  1. Posts : 44
    ten 64
       #10

    balubeto said:
    In Windows 10 v1607, how do I manage this option completely through the group policies and the registry entries?

    Thanks

    Bye
    I use in my main autoit script (tool) these functions

    ;----------------------------------------------------------------------------
    Func _set_Microsoft_Update_ON ( )
    ;
    Local $_ServiceManager , $_NewUpdateService
    ;
    $_ServiceManager = ObjCreate ("Microsoft.Update.ServiceManager" , @ComputerName)
    $_ServiceManager.ClientApplicationID = "My App"
    $_NewUpdateService = $_ServiceManager.AddService2 ("7971f918-a847-4430-9279-4a52d1efe18d" , 7 ,"" )
    ;
    EndFunc ;~ _set_Microsoft_Update_ON.
    ;----------------------------------------------------------------------------
    ;----------------------------------------------------------------------------
    Func _set_Microsoft_Update_OFF ( )
    ;
    Local $_ServiceManager , $_NewUpdateService
    ;
    $_ServiceManager = ObjCreate ("Microsoft.Update.ServiceManager" , @ComputerName)
    $_ServiceManager.ClientApplicationID = "My App"
    $_NewUpdateService = $_ServiceManager.RemoveService("7971f918-a847-4430-9279-4a52d1efe18d")
    ;
    EndFunc ;~ _set_Microsoft_Update_OFF.
    ;----------------------------------------------------------------------------
    ;----------------------------------------------------------------------------
    Func _is_Microsoft_Update_ON ( )
    ;
    Local $_tampon = RegRead ( "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services" , "DefaultService" )
    ;
    If $_tampon = "7971f918-a847-4430-9279-4a52d1efe18d" Then
    Return True
    Else
    Return False
    EndIf
    ;
    EndFunc ;~ _is_Microsoft_Update_ON.
    ;----------------------------------------------------------------------------
    must be compiled in autoit in both versions x86 and x64 because we have an HKLM there
    or just translate them in your favorite programming/scripting language.

    guniu said:
    Since I updated to Windows 1703 this option keeps enabling by itself. I noticed it installed a bunch of Office updates, so I disabled it and removed the updates. Few hours later it downloaded updates again, I went in to check and the option was back on. Microsoft is ****ing as over harder and harder.

    EDIT: Actually I just noticed that every time it checks for updates (auto or manual) the setting auto enables itself. Test it for yourself. Disable the setting, check for updates and go back to see if it's enabled.
    when I use above functions Microsoft update did not auto-turn on again, tested on more computers.

    the functions works on xp ,vista,7,8.x,10

    I can provide compiled scripts (.exe), but this is a trust issue.

    c
    Last edited by oneLess; 18 Apr 2017 at 09:19.
      My Computer


  2. Posts : 138
    Windows 10 Pro
       #11

    guniu said:
    Since I updated to Windows 1703 this option keeps enabling by itself. I noticed it installed a bunch of Office updates, so I disabled it and removed the updates. Few hours later it downloaded updates again, I went in to check and the option was back on. Microsoft is ****ing as over harder and harder.
    Hi guniu and thanks for feedback. I don't know if you can hide and select as "unwanted" these updates as you could do in Windows 8 'cause Microsoft keeps on changing the cards on the table, as usual...

    guniu said:
    EDIT: Actually I just noticed that every time it checks for updates (auto or manual) the setting auto enables itself. Test it for yourself. Disable the setting, check for updates and go back to see if it's enabled.
    Yes: I can fully confirm it and add that it flags to true before it completes the searching for updates (so I think Windows resets it as checked once you've pushed the button Check for new updates (I've italian version so I translated it).
      My Computer


  3. Posts : 174
    Windows 10 Enterprise x64 1709
       #12

    No way to set from within Registry?
      My Computer


  4. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #13

    omidsolo said:
    No way to set from within Registry?
    I'm afraid the registry keys for this uses unique ID numbers per PC, so it doesn't seem feasible.
      My Computers


  5. Posts : 174
    Windows 10 Enterprise x64 1709
       #14

    No problem bro, just let me know the Registry Address, I only use on my own PC :)
      My Computer


  6. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #15

    It would be best to us Process Monitor to get your specific registry entries for this setting.

    You would basically run Process Monitor, make the setting change in Settings, and look to see what Process Monitor reports has changed for this setting.

    Process Monitor - Windows Sysinternals | Microsoft Docs
      My Computers


  7. Posts : 174
    Windows 10 Enterprise x64 1709
       #16

    Wasted so much time and no luck
      My Computer


  8. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #17

    That's the luck I had.
      My Computers


  9. Posts : 16,784
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #18

    Brink,

    I'm a bit baffled by your comment about the Registry key being unique on each computer.

    I have just checked 4 Ver 1709 computers and each one of them uses the same Registry key
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\7971f918-a847-4430-9279-4a52d1efe18d
    {Value name - RegisteredWithAU, Value data - 1 for On or 0 for Off}

    I experimented with setting & unsetting the checkbox at Settings, Windows update, Advanced options, Give me updates for other Microsoft products when I update Windows.
    The Registry key responded correctly each time.

    Isn't it the same Registry key for us all?

    Denis
      My Computer


  10. Posts : 68,667
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #19

    Hello Denis,

    I'm seeing the same registry value being changed by the setting. However, if I manually change the registry value, it doesn't change the setting for me in 1803. Even after a restart.

    Do you see the same?
      My Computers


 

Tutorial Categories

Turn On or Off Windows Updates for Microsoft Products in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:33.
Find Us




Windows 10 Forums