Jump to content

Recommended Posts

Posted

I am working on a script to point our laptops to our WSUS server to get updates. Everything works correctly except for one line. The line of code is:

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU", "RescheduleWaitTime", "REG_DWORD", "0000002D")

The registry value should be 0000002D(45) but it is writing it as just 2.

Any help would be greatly appreciated.

Posted

I am working on a script to point our laptops to our WSUS server to get updates. Everything works correctly except for one line. The line of code is:

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU", "RescheduleWaitTime", "REG_DWORD", "0000002D")

The registry value should be 0000002D(45) but it is writing it as just 2.

Any help would be greatly appreciated.

How about:

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU", "RescheduleWaitTime", "REG_DWORD", "45")

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...