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

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

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?
 

Answered 03/04/2013 by: dparekh
Orange Belt

  • simply by setting the service to disabled:
    sc config wuauserv start= disabled
    to be shure you should stop it before:
    net stop wuauserv
Please log in to comment

Answers

0

simply by setting the service to disabled:
sc config wuauserv start= disabled
to be shure you should stop it before:
net stop wuauserv

Answered 03/05/2013 by: Nico_K
Red Belt

  • 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
  • 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.
Please log in to comment
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

 

Answered 03/06/2013 by: mpace
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Share