/build/static/layout/Breadcrumb_cap_w.png

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


0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Posted by: dparekh 11 years ago
Orange Belt
1

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
Posted by: Nico_K 11 years ago
Red Belt
0

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
Posted by: mpace 11 years ago
Red Belt
0

Disable Windows updates: REG ADD "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoWindowsUpdate /t REG_DWORD /d 1 /f

Disable firewall: netsh advfirewall set profiles AllProfiles state off

 

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ