Page 2 of 2 FirstFirst 12
  1.    18 Apr 2017 #10
    Join Date : Apr 2016
    Craiova
    Posts : 41
    ten 64

    Quote Originally Posted by balubeto View Post
    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.

    Quote Originally Posted by guniu View Post
    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 ComputerSystem Spec
  2.    18 Apr 2017 #11
    Join Date : Apr 2016
    Italy
    Posts : 92
    Windows 10 Pro

    Quote Originally Posted by guniu View Post
    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...

    Quote Originally Posted by guniu View Post
    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 ComputerSystem Spec
  3.    4 Weeks Ago #12
    Join Date : Aug 2015
    Posts : 142
    Windows 10 Enterprise x64 1709

    No way to set from within Registry?
      My ComputerSystem Spec
  4.    4 Weeks Ago #13
    Join Date : Oct 2013
    Posts : 25,641
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Quote Originally Posted by omidsolo View Post
    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 ComputersSystem Spec
  5.    4 Weeks Ago #14
    Join Date : Aug 2015
    Posts : 142
    Windows 10 Enterprise x64 1709

    No problem bro, just let me know the Registry Address, I only use on my own PC
      My ComputerSystem Spec
  6.    4 Weeks Ago #15
    Join Date : Oct 2013
    Posts : 25,641
    64-bit Windows 10 Pro build 17046
    Thread Starter

    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 ComputersSystem Spec
  7.    5 Days Ago #16
    Join Date : Aug 2015
    Posts : 142
    Windows 10 Enterprise x64 1709

    Wasted so much time and no luck
      My ComputerSystem Spec
  8.    5 Days Ago #17
    Join Date : Oct 2013
    Posts : 25,641
    64-bit Windows 10 Pro build 17046
    Thread Starter

    That's the luck I had.
      My ComputersSystem Spec

 
Page 2 of 2 FirstFirst 12


Similar Threads
Tutorial Category
Windows update settings - Give me updates for other Msoft products
I'm running Win10 Home 1511 and I see that the option "Give me updates for other Msoft products...." is checked cannot be unchecked. I don't it was that way before the 1511 update - was it? And what exactly does it do anyway, aren't all Msoft apps...
Windows Updates and Activation
Solved how to permanently turn off windows 10 updates
Hi, My Question is that how can I permanently turn off windows 10 updates . I am using Windows 10 Enterprise . Help please
Windows Updates and Activation
AU only updating Windows products; AV listed Canon updates too
Hello all. My AV software warns me when my system isn't up to date and so today when I looked, it offered two windows and one canon, being my printer . When I activated the AU facility, it only offered the two windows updates. How can I...
Windows Updates and Activation
Solved Turn off windows updates?
How can I turn off windows updates? The new windows update settings page is extremely basic and appears to lack many options from windows 7. I am concerned about updates downloading and update checks being performed whilst gaming. I would not be...
Windows Updates and Activation
Windows 10 Store -App Updates - Unable to turn on.
Hi, Just upgraded from windows 8.1 to Windows 10 and I notice under Windows Store, settings I am unable to turn on App Updates, Update apps automatically. There is a message below saying: Contact your system administrator about changing this...
Software and Apps
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 19:05.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums