Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Set ServiceManager = CreateObject("Microsoft.Update.ServiceManager")
- ServiceManager.ClientApplicationID = "My App"
- 'add the Microsoft Update Service, GUID
- Set NewUpdateService = ServiceManager.AddService2("7971f918-a847-4430-9279-4a52d1efe18d",7,"")
- ' START NOTES
- ' Reference:
- ' <https://docs.microsoft.com/en-gb/windows/desktop/Wua_Sdk/opt-in-to-microsoft-update>
- ' <https://blogs.technet.microsoft.com/danbuche/2010/01/06/enabling-and-disabling-microsoft-update-in-windows-7-via-script/>
- ' END NOTES
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement