Disable Windows Update and Windows Firewall through KACE Scripting
I need to know how to disable windows updates and firewall on all windows 7 users. Please assist me in doing so via scripting.
Thanks,
D
Answers (3)
Ok, so i found out how to disable the Private and Public Firewall:
Registry Entries:
HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile
and
HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\PublicProfile
EnableFirewall
Set to 0
Manually reboot the machine. Done. Now who can tell me how to disable windows updates?
Comments:
-
simply by setting the service to disabled:
sc config wuauserv start= disabled
to be shure you should stop it before:
net stop wuauserv - Nico_K 11 years ago
simply by setting the service to disabled:
sc config wuauserv start= disabled
to be shure you should stop it before:
net stop wuauserv
Comments:
-
You can still use the "netsh" command like this ( with an elevated cmd ) :
netsh advfirewall set DomainProfile state off
netsh advfirewall set PublicProfile state off
netsh advfirewall set PrivateProfile state off
The solution of Nico_K can work too, but it's not really recommended to shutdown the service itself.
If your organization needs to block their users from using Windows Update to update Windows components, you can use the following registry
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate
Name: DisableWindowsUpdateAccess
Type: REG_DWORD
Value: 1
Equivalent is HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer DWORD value NoWindowsUpdate = 1 - fantomasss 11 years ago -
What I want to push windows updates through KACE, however, I still want user's to be able to check for updates because some user's may want certain patches. Therefore how can I turn off windows updates yet still allow users to still check for updates? In the "Change Settings" page, I want it to be do not check for updates. Sorry for the confusion. - dparekh 11 years ago