|
|
Subject:
Registry key to turn off sp2's firewall.
Category: Computers > Software Asked by: gerth-ga List Price: $150.00 |
Posted:
31 Oct 2004 06:43 PST
Expires: 30 Nov 2004 06:43 PST Question ID: 422503 |
What is the registry key to turn off the windows firewall that comes with sp2? I know it exists, but after about an hour of googling, have given up on finding it. If you cannot find the registry key, what would be a simple way of turning off the firewall from console, suppose i needed to do it on a 100 machines without having to open up services.msc on each and disable it. As quick as possible please. Answer does not have to be extremely detailed, just needs to contain what i requested. | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
Subject:
Re: Registry key to turn off sp2's firewall.
Answered By: hummer-ga on 04 Nov 2004 02:53 PST |
Hi gerth, I have been reading Microsoft's document WF_XPSP2.doc, and am confident that it contains the solution you are looking for. >>>>>> WF_XPSP2.doc "Deploying Windows Firewall Settings for Microsoft: See: Disabling the Use of Windows Firewall Across Your Network: http://download.microsoft.com/download/6/8/a/68a81446-cd73-4a61-8665-8a67781ac4e8/WF_XPSP2.doc >>>>>> Forum Newsgroups: microsoft.public.windowsxp.security_admin Subject: Re: Tur[n]ing of[f] SP2 Firewall via registry entry? "There are several solutions available to disable the firewall programmatically without extracting the SP2 EXE file. Here are two ways: 1) Adding the registry values mentioned, this can be done either before or after SP2 is installed The registry key path has changed since I posted that post (it is now WindowsFirewall instead of FirewallPolicy): HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile \EnableFirewall=0 (DWORD data type) HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile \EnableFirewall=0 (DWORD data type) If you want to disable the service as well: sc.exe config SharedAccess start= disabled 2) The following command line will disable SP2's firewall (must be run after SP2 is installed and at least one reboot is done): netsh.exe firewall set opmode mode=disable profile=all The netsh.exe syntax is also documented in WF_XPSP2.doc. If you want to disable the service as well: sc.exe config SharedAccess start= disabled http://groups.google.ca/groups?hl=en&lr=&selm=e5NhVTWjEHA.536%40TK2MSFTNGP11.phx.gbl >>>>>> Additional Link Newsgroups: microsoft.public.windowsxp.security_admin Subject: Re: Cannot turn off Post SP2 firewall sc.exe config SharedAccess start= disabled netsh.exe firewall set opmode mode=disable profile=all met.exe stop SharedAccess The netsh.exe syntax is also documented in WF_XPSP2.doc. http://groups.google.ca/groups?hl=en&lr=&selm=ulEkptVgEHA.904%40TK2MSFTNGP09.phx.gbl I was happy to find this for you. If you have any questions, or if this isn't what you are looking for, please post a clarification request *before* closing/rating my answer and I'll be happy to reply. Thank you, hummer |
|
Subject:
Re: Registry key to turn off sp2's firewall.
From: lannaeus-ga on 02 Nov 2004 15:16 PST |
Hi Gerth, I have found a .bat file posted in a forum of governmentsecurity: KillFirewall.bat CODE: @echo off net stop "Security Center" net stop SharedAccess > "%Temp%.\kill.reg" ECHO REGEDIT4 >>"%Temp%.\kill.reg" ECHO. >>"%Temp%.\kill.reg" ECHO [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess] >>"%Temp%.\kill.reg" ECHO "Start"=dword:00000004 >>"%Temp%.\kill.reg" ECHO. >>"%Temp%.\kill.reg" ECHO [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv] >>"%Temp%.\kill.reg" ECHO "Start"=dword:00000004 >>"%Temp%.\kill.reg" ECHO. >>"%Temp%.\kill.reg" ECHO [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\wscsvc] >>"%Temp%.\kill.reg" ECHO "Start"=dword:00000004 >>"%Temp%.\kill.reg" ECHO. START /WAIT REGEDIT /S "%Temp%.\kill.reg" DEL "%Temp%.\kill.reg" DEL %0 The link is no longer available from the site, maybe it is still working via google cache: ://www.google.es/search?q=cache:EjKTRhZb4kIJ:www.governmentsecurity.org/forum/index.php%3Fshowtopic%3D7754%26view%3Dgetlastpost+XP+SP2+regedit+disable+firewall+&hl=es Hope it helps, Lannaeus Keywords in Google: "XP SP2 regedit disable firewall" |
Subject:
Re: Registry key to turn off sp2's firewall.
From: politicalguru-ga on 03 Nov 2004 08:41 PST |
Gerth, Hummer has not been paid yet for the help you received, and asked, whether the advice given was helpful, so it could be posted and Hummer will be paid for the work done. Could you please answer Hummer's "request for clarification" and tell us whether the advice helped, and if so, let Hummer post it as an official answer? |
Subject:
Re: Registry key to turn off sp2's firewall.
From: erkinbasyigit-ga on 26 Nov 2004 04:16 PST |
This method can be used to disable firewall in domain environment through GPO after sp2 has been installed.. there are two steps or we may say two script: here what these scripts do...... 1. add two line to netfw.inf file or copy all to(location:c:\windows\inf) 2. run "netsh firewall reset" ---------- copynetfw.bat if /I %windir% EQU C:\WINDOWS copy \\yourdc\share\netfw.inf c:\windows\inf\ if NOT %windir% EQU C:\WINDOWS echo hi ---------------------- reset.bat netsh firewall reset ---------------------- how to applay gpo:run these scripts as a startup script through computer configration here what the content of netfw.inf is: [version] Signature = "$Windows NT$" DriverVer =07/01/2001,5.1.2600.2132 [DefaultInstall] AddReg=ICF.AddReg.DomainProfile AddReg=ICF.AddReg.StandardProfile [ICF.AddReg.DomainProfile] HKLM,"SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\AuthorizedApplications\List","%windir%\system32\sessmgr.exe",0x00000000,"%windir%\system32\sessmgr.exe:*:enabled:@xpsp2res.dll,-22019" HKLM,"SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile","DoNotAllowExceptions",0x00010001,0 HKLM,"SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile","EnableFirewall",0x00010001,0 [ICF.AddReg.StandardProfile] HKLM,"SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List","%windir%\system32\sessmgr.exe",0x00000000,"%windir%\system32\sessmgr.exe:*:enabled:@xpsp2res.dll,-22019" |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |