Windows update and firewall

Microsoft Windows xp professional w/serv...
March 17, 2010 at 12:37:37
Specs: Windows XP
Is there a way to disable Windows update and Windows Firewall in a script/registry?

I've tried the following reg settings but they don't just disable, they stop a user from ever changing it.

'Disable Windows Update
'objShell.RegWrite "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU", "0", "REG_DWORD"

'Disable Windows Firewall
'objShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall", "0", "REG_DWORD"

Please help!

See More: Windows update and firewall

March 17, 2010 at 13:11:49
why not just turn them off in the security center?

Some HELP in posting on plus free progs and instructions Cheers

Report •

March 17, 2010 at 13:17:43
I want to put it in a script for company universal image. So it needs to be automated and don't want to manually change it.

Report •

March 17, 2010 at 14:05:37
I have done this for Automatic Updates using the SC and the NET commands. Here are my two batch file scripts:

To set service to Disabled and Stop it:
sc config Wuauserv start= disabled
net stop "Automatic Updates"

To set Service to Auto and Start it:
sc config Wuauserv start= auto
net start "Automatic Updates"

No doubt the Firewall can be dealt with similarly (although it sounds a bit dangerous LOL). This is one of several websites about the SC & NET commands:

Just for interest, my reason for using these is that I prefer not to allow anything to automatically update my machine. I put them on shortcuts and switch them on and off when I want to update. Auto Updates are also disabled in Windows but MSE will still auto update if the service is not physically stopped.

some other bloke...

Report •

Related Solutions

March 17, 2010 at 17:39:38
Thanks for the info. FYI I want auto updates disabled in the image script as offsites will use MS updates and connected sites will use patchlink.

Report •

Ask Question