T
Ty Moffett
Below is a set of insructions that changes the registry keys pertaining to
Automatic Updates on my Windows XP box.
I can make changes using the control panel applet and see the changes
reflected via regedit.exe. However when I make the changes with the code
below those changed are NOT reflected in the control panel applet even
though they are actully being set.
Does anyone have any experience with this?
Thanks again!
Imports Microsoft.Win32
Module Module1
Sub Main()
Dim rk As RegistryKey =
Registry.LocalMachine.CreateSubKey("Software\Microsoft\Windows\CurrentVersio
n\WindowsUpdate\Auto Update")
rk.SetValue("NoAutoUpdate", 0)
rk.SetValue("AUOptions", 4)
rk.SetValue("ScheduledInstallTime", 12)
rk.SetValue("ScheduledInstallDay", 0)
End Sub
End Module
Automatic Updates on my Windows XP box.
I can make changes using the control panel applet and see the changes
reflected via regedit.exe. However when I make the changes with the code
below those changed are NOT reflected in the control panel applet even
though they are actully being set.
Does anyone have any experience with this?
Thanks again!
Imports Microsoft.Win32
Module Module1
Sub Main()
Dim rk As RegistryKey =
Registry.LocalMachine.CreateSubKey("Software\Microsoft\Windows\CurrentVersio
n\WindowsUpdate\Auto Update")
rk.SetValue("NoAutoUpdate", 0)
rk.SetValue("AUOptions", 4)
rk.SetValue("ScheduledInstallTime", 12)
rk.SetValue("ScheduledInstallDay", 0)
End Sub
End Module