A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows Service Pack 2
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Turing of SP2 Firewall via registry entry?



 
 
Thread Tools Display Modes
  #1  
Old August 25th 04, 05:12 PM
Sean B
external usenet poster
 
Posts: n/a
Default Turing of SP2 Firewall via registry entry?

Is it possible for me to push out a reg entry and have the firewall turned
off in my environment?

thanks!
Sean


Ads
  #2  
Old August 25th 04, 06:44 PM
Mike Bright MSP
external usenet poster
 
Posts: n/a
Default Turing of SP2 Firewall via registry entry?

Sean,

The Windows Firewall is a service and therefore there are no registry
entries which you can use to Switch it off. Although it can be swtiched off
programatically, but sorry no registry key for it.

Regards

Mike Bright MCP, MSP




  #3  
Old August 25th 04, 09:28 PM
David H. Lipman
external usenet poster
 
Posts: n/a
Default Turing of SP2 Firewall via registry entry?

That really doesn't answer his question.

So in a script (such as the login script assuming they can access the server to execute the
login script) there would be an entry such as...

net stop FireWallService_Name

Now, how would you disable it such that it does not "turn on" upon a reboot ?

Or to ask it a little better, in a script, how can one completely disable the FireWall ?

My org. for one has issued a statement that the FireWall in SP2 *must* be disabled.

I have created a CDROM and a Kixtart script that slipstreams the root i386 directory then
installs SP2. I would like to programmatically permanently disable the fireWall upon
installation of the Service Pack.

Dave





"Mike Bright MSP" wrote in message
...
| Sean,
|
| The Windows Firewall is a service and therefore there are no registry
| entries which you can use to Switch it off. Although it can be swtiched off
| programatically, but sorry no registry key for it.
|
| Regards
|
| Mike Bright MCP, MSP
|
|
|
|


  #4  
Old August 26th 04, 02:39 AM
Jeff
external usenet poster
 
Posts: n/a
Default Turing of SP2 Firewall via registry entry?

Hi David,

I can`t remember how, but I know there is some command
line inputs you can excute while using the SP2 update to
disable the firewall. I think it was posted in the
testing newsgroup for SP2. I know it was answered by one
of the many MVP`s there. Sorry I can`t be more help. I
know there are command line switchs you can use though.

Jeff

-----Original Message-----
That really doesn't answer his question.

So in a script (such as the login script assuming they

can access the server to execute the
login script) there would be an entry such as...

net stop FireWallService_Name

Now, how would you disable it such that it does not "turn

on" upon a reboot ?

Or to ask it a little better, in a script, how can one

completely disable the FireWall ?

My org. for one has issued a statement that the FireWall

in SP2 *must* be disabled.

I have created a CDROM and a Kixtart script that

slipstreams the root i386 directory then
installs SP2. I would like to programmatically

permanently disable the fireWall upon
installation of the Service Pack.

Dave





"Mike Bright MSP"

wrote in message
...
| Sean,
|
| The Windows Firewall is a service and therefore there

are no registry
| entries which you can use to Switch it off. Although

it can be swtiched off
| programatically, but sorry no registry key for it.
|
| Regards
|
| Mike Bright MCP, MSP
|
|
|
|


.

  #5  
Old August 26th 04, 03:12 AM
David H. Lipman
external usenet poster
 
Posts: n/a
Default Turing of SP2 Firewall via registry entry?

I look forward to its discovery and resultant use.

Dave




"Jeff" wrote in message
...
| Hi David,
|
| I can`t remember how, but I know there is some command
| line inputs you can excute while using the SP2 update to
| disable the firewall. I think it was posted in the
| testing newsgroup for SP2. I know it was answered by one
| of the many MVP`s there. Sorry I can`t be more help. I
| know there are command line switchs you can use though.
|
| Jeff
|
| -----Original Message-----
| That really doesn't answer his question.
|
| So in a script (such as the login script assuming they
| can access the server to execute the
| login script) there would be an entry such as...
|
| net stop FireWallService_Name
|
| Now, how would you disable it such that it does not "turn
| on" upon a reboot ?
|
| Or to ask it a little better, in a script, how can one
| completely disable the FireWall ?
|
| My org. for one has issued a statement that the FireWall
| in SP2 *must* be disabled.
|
| I have created a CDROM and a Kixtart script that
| slipstreams the root i386 directory then
| installs SP2. I would like to programmatically
| permanently disable the fireWall upon
| installation of the Service Pack.
|
| Dave
|
|
|
|
|
| "Mike Bright MSP"
| wrote in message
| ...
| | Sean,
| |
| | The Windows Firewall is a service and therefore there
| are no registry
| | entries which you can use to Switch it off. Although
| it can be swtiched off
| | programatically, but sorry no registry key for it.
| |
| | Regards
| |
| | Mike Bright MCP, MSP
| |
| |
| |
| |
|
|
| .
|


  #6  
Old August 26th 04, 03:27 AM
Jeff
external usenet poster
 
Posts: n/a
Default Turing of SP2 Firewall via registry entry?

Hi,

Found it, at=20
http://communities.microsoft.com/new...s/default.asp?
icp=3Dxpsp2&slcid=3Dus

in security, July 20 at 8:03 am, topic is sp2 Firewall=20
installation option. Responding person is Torgeir Bakken=20
(MVP) his response is:

G wrote:

Does anyone know of a way to install sp2 with an option=20
that would keep the firewall off?

Hi

If you are running Active Directory, you can configure a
Group Policy that disables the firewall (see WF_XPSP2.doc
in the link further down for more on this).

If Group Policy is not an option and you want to avoid a=20
post SP2
install scripting solution (you can disable the FW with a=20
script
after hand), there is another options available:

Push out some some registry settings before the SP2=20
installation
so the FW disables itself when it finds those registry=20
settings:


From WF_XPSP2.doc ("Deploying Windows Firewall Settings=20
for Microsoft
Windows XP with Service Pack 2") at
http://www.microsoft.com/downloads/details.aspx?
familyid=3D4454e0e1-61fa-447a-bdcd-499f73a637d1

quote
Disabling the Use of Windows Firewall Across Your Network
If you decide to disable the use of Windows Firewall=20
across your entire
network, and you are not or cannot use the Windows=20
Firewall Group
Policy settings, you can use the Unattend.txt or Netfw.inf=20
to disable
Windows Firewall as Windows XP SP 2 is being installed.=20
For an example
of using Unattend.txt, see Appendix E. For an example of=20
using
Netfw.inf, see Appendix F.

Depending on your network policies, your users might elect=20
either
intentionally or accidentally to install Windows XP SP 2=20
through
Windows Update, rather than through a central network=20
location that
contains the modified Netfw.inf file. If this occurs, the=20
modified
Netfw.inf file is not read during the installation and =20
Windows
Firewall is enabled.

One solution to this possible problem is to create the=20
registry
settings on your client computers to disable Windows=20
Firewall before
your users have a chance to install Windows XP SP2 from=20
Windows Update.
ICF on computers running Windows XP (prior to SP2) ignores=20
these
registry settings. When the user installs Windows XP SP2=20
from Windows
Update and restarts their computer, Windows Firewall reads=20
the registry
settings already in place and disables itself.

To add a registry setting on all of your computers running=20
Windows XP,
you can use the following tools:

=B7 Regini.exe from the Windows 2000 Server Resource Kit=20
Tools
=B7 Reg.exe from the Windows Server 2003 Resource Kit=20
Tools

In both cases, you create a script file that is read by=20
the tool to add
a registry setting. The tool has to be run in the security=20
context of a
local administrator account.

Alternately, you can use network management software to=20
change registry
settings on managed computers.

The registry keys to add to disable Windows Firewall for=20
both the
domain and standard profiles are the following:


HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Fir ewallPoli
cy\DomainProfile
\EnableFirewall=3D0 (DWORD data type)

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Fir ewallPoli
cy\StandardProfile
\EnableFirewall=3D0 (DWORD data type)

/quote

Why they are talking about getting Regini.exe and Reg.exe=20
from the
Server resource kits I do not understand, both those tools=20
comes
builtin with WinXP.


--=20
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx



-----Original Message-----
I look forward to its discovery and resultant use.

Dave




"Jeff" wrote in=20

message
...
| Hi David,
|
| I can`t remember how, but I know there is some command
| line inputs you can excute while using the SP2 update to
| disable the firewall. I think it was posted in the
| testing newsgroup for SP2. I know it was answered by=20

one
| of the many MVP`s there. Sorry I can`t be more help. I
| know there are command line switchs you can use though.
|
| Jeff
|
| -----Original Message-----
| That really doesn't answer his question.
|
| So in a script (such as the login script assuming they
| can access the server to execute the
| login script) there would be an entry such as...
|
| net stop FireWallService_Name
|
| Now, how would you disable it such that it does=20

not "turn
| on" upon a reboot ?
|
| Or to ask it a little better, in a script, how can one
| completely disable the FireWall ?
|
| My org. for one has issued a statement that the=20

FireWall
| in SP2 *must* be disabled.
|
| I have created a CDROM and a Kixtart script that
| slipstreams the root i386 directory then
| installs SP2. I would like to programmatically
| permanently disable the fireWall upon
| installation of the Service Pack.
|
| Dave
|
|
|
|
|
| "Mike Bright MSP"
| wrote in message
| ...
| | Sean,
| |
| | The Windows Firewall is a service and therefore there
| are no registry
| | entries which you can use to Switch it off. Although
| it can be swtiched off
| | programatically, but sorry no registry key for it.
| |
| | Regards
| |
| | Mike Bright MCP, MSP
| |
| |
| |
| |
|
|
| .
|


.

  #7  
Old August 26th 04, 03:42 AM
David H. Lipman
external usenet poster
 
Posts: n/a
Default Turing of SP2 Firewall via registry entry?

Togeir !
I should have known. The man is a scripting genious.

Information contained in -- WF_XPSP2.doc

I read that about 2 or 3 weeks ago. Its not pretty. It needs the SP2 EXE extracted. I'd
rather keep the EXE in its 266MB distriburtion executable so I dropped that idea. I want a
solution to be done AFTER SP2 is installed either before rebooting the PC or something I can
run in RunServicesOnce or RunOnce from the Registry upon the reboot.

Thanx Jeff !
Dave



"Jeff" wrote in message
...
Hi,

Found it, at
http://communities.microsoft.com/new...s/default.asp?
icp=xpsp2&slcid=us

in security, July 20 at 8:03 am, topic is sp2 Firewall
installation option. Responding person is Torgeir Bakken
(MVP) his response is:

G wrote:

Does anyone know of a way to install sp2 with an option
that would keep the firewall off?

Hi

If you are running Active Directory, you can configure a
Group Policy that disables the firewall (see WF_XPSP2.doc
in the link further down for more on this).

If Group Policy is not an option and you want to avoid a
post SP2
install scripting solution (you can disable the FW with a
script
after hand), there is another options available:

Push out some some registry settings before the SP2
installation
so the FW disables itself when it finds those registry
settings:


From WF_XPSP2.doc ("Deploying Windows Firewall Settings
for Microsoft
Windows XP with Service Pack 2") at
http://www.microsoft.com/downloads/details.aspx?
familyid=4454e0e1-61fa-447a-bdcd-499f73a637d1

quote
Disabling the Use of Windows Firewall Across Your Network
If you decide to disable the use of Windows Firewall
across your entire
network, and you are not or cannot use the Windows
Firewall Group
Policy settings, you can use the Unattend.txt or Netfw.inf
to disable
Windows Firewall as Windows XP SP 2 is being installed.
For an example
of using Unattend.txt, see Appendix E. For an example of
using
Netfw.inf, see Appendix F.

Depending on your network policies, your users might elect
either
intentionally or accidentally to install Windows XP SP 2
through
Windows Update, rather than through a central network
location that
contains the modified Netfw.inf file. If this occurs, the
modified
Netfw.inf file is not read during the installation and
Windows
Firewall is enabled.

One solution to this possible problem is to create the
registry
settings on your client computers to disable Windows
Firewall before
your users have a chance to install Windows XP SP2 from
Windows Update.
ICF on computers running Windows XP (prior to SP2) ignores
these
registry settings. When the user installs Windows XP SP2
from Windows
Update and restarts their computer, Windows Firewall reads
the registry
settings already in place and disables itself.

To add a registry setting on all of your computers running
Windows XP,
you can use the following tools:

· Regini.exe from the Windows 2000 Server Resource Kit
Tools
· Reg.exe from the Windows Server 2003 Resource Kit
Tools

In both cases, you create a script file that is read by
the tool to add
a registry setting. The tool has to be run in the security
context of a
local administrator account.

Alternately, you can use network management software to
change registry
settings on managed computers.

The registry keys to add to disable Windows Firewall for
both the
domain and standard profiles are the following:


HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Fir ewallPoli
cy\DomainProfile
\EnableFirewall=0 (DWORD data type)

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Fir ewallPoli
cy\StandardProfile
\EnableFirewall=0 (DWORD data type)

/quote

Why they are talking about getting Regini.exe and Reg.exe
from the
Server resource kits I do not understand, both those tools
comes
builtin with WinXP.


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx



-----Original Message-----
I look forward to its discovery and resultant use.

Dave




"Jeff" wrote in

message
...
| Hi David,
|
| I can`t remember how, but I know there is some command
| line inputs you can excute while using the SP2 update to
| disable the firewall. I think it was posted in the
| testing newsgroup for SP2. I know it was answered by

one
| of the many MVP`s there. Sorry I can`t be more help. I
| know there are command line switchs you can use though.
|
| Jeff
|
| -----Original Message-----
| That really doesn't answer his question.
|
| So in a script (such as the login script assuming they
| can access the server to execute the
| login script) there would be an entry such as...
|
| net stop FireWallService_Name
|
| Now, how would you disable it such that it does

not "turn
| on" upon a reboot ?
|
| Or to ask it a little better, in a script, how can one
| completely disable the FireWall ?
|
| My org. for one has issued a statement that the

FireWall
| in SP2 *must* be disabled.
|
| I have created a CDROM and a Kixtart script that
| slipstreams the root i386 directory then
| installs SP2. I would like to programmatically
| permanently disable the fireWall upon
| installation of the Service Pack.
|
| Dave
|
|
|
|
|
| "Mike Bright MSP"
| wrote in message
| ...
| | Sean,
| |
| | The Windows Firewall is a service and therefore there
| are no registry
| | entries which you can use to Switch it off. Although
| it can be swtiched off
| | programatically, but sorry no registry key for it.
| |
| | Regards
| |
| | Mike Bright MCP, MSP
| |
| |
| |
| |
|
|
| .
|


.



  #8  
Old August 26th 04, 04:27 AM
Jeff
external usenet poster
 
Posts: n/a
Default Turing of SP2 Firewall via registry entry?

Your welcome

Glad I could be useful in someway, even though its from=20
someone else`s post

Jeff

-----Original Message-----
Togeir !
I should have known. The man is a scripting genious.

Information contained in -- WF_XPSP2.doc

I read that about 2 or 3 weeks ago. Its not pretty. It=20

needs the SP2 EXE extracted. I'd
rather keep the EXE in its 266MB distriburtion executable=20

so I dropped that idea. I want a
solution to be done AFTER SP2 is installed either before=20

rebooting the PC or something I can
run in RunServicesOnce or RunOnce from the Registry upon=20

the reboot.

Thanx Jeff !
Dave



"Jeff" wrote in=20

message
...
Hi,

Found it, at
http://communities.microsoft.com/new...s/default.asp?
icp=3Dxpsp2&slcid=3Dus

in security, July 20 at 8:03 am, topic is sp2 Firewall
installation option. Responding person is Torgeir Bakken
(MVP) his response is:

G wrote:

Does anyone know of a way to install sp2 with an option
that would keep the firewall off?

Hi

If you are running Active Directory, you can configure a
Group Policy that disables the firewall (see WF_XPSP2.doc
in the link further down for more on this).

If Group Policy is not an option and you want to avoid a
post SP2
install scripting solution (you can disable the FW with a
script
after hand), there is another options available:

Push out some some registry settings before the SP2
installation
so the FW disables itself when it finds those registry
settings:


From WF_XPSP2.doc ("Deploying Windows Firewall Settings
for Microsoft
Windows XP with Service Pack 2") at
http://www.microsoft.com/downloads/details.aspx?
familyid=3D4454e0e1-61fa-447a-bdcd-499f73a637d1

quote
Disabling the Use of Windows Firewall Across Your Network
If you decide to disable the use of Windows Firewall
across your entire
network, and you are not or cannot use the Windows
Firewall Group
Policy settings, you can use the Unattend.txt or Netfw.inf
to disable
Windows Firewall as Windows XP SP 2 is being installed.
For an example
of using Unattend.txt, see Appendix E. For an example of
using
Netfw.inf, see Appendix F.

Depending on your network policies, your users might elect
either
intentionally or accidentally to install Windows XP SP 2
through
Windows Update, rather than through a central network
location that
contains the modified Netfw.inf file. If this occurs, the
modified
Netfw.inf file is not read during the installation and
Windows
Firewall is enabled.

One solution to this possible problem is to create the
registry
settings on your client computers to disable Windows
Firewall before
your users have a chance to install Windows XP SP2 from
Windows Update.
ICF on computers running Windows XP (prior to SP2) ignores
these
registry settings. When the user installs Windows XP SP2
from Windows
Update and restarts their computer, Windows Firewall reads
the registry
settings already in place and disables itself.

To add a registry setting on all of your computers running
Windows XP,
you can use the following tools:

=B7 Regini.exe from the Windows 2000 Server Resource Kit
Tools
=B7 Reg.exe from the Windows Server 2003 Resource Kit
Tools

In both cases, you create a script file that is read by
the tool to add
a registry setting. The tool has to be run in the security
context of a
local administrator account.

Alternately, you can use network management software to
change registry
settings on managed computers.

The registry keys to add to disable Windows Firewall for
both the
domain and standard profiles are the following:


HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Fi rewallPol

i
cy\DomainProfile
\EnableFirewall=3D0 (DWORD data type)

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Fi rewallPol

i
cy\StandardProfile
\EnableFirewall=3D0 (DWORD data type)

/quote

Why they are talking about getting Regini.exe and Reg.exe
from the
Server resource kits I do not understand, both those tools
comes
builtin with WinXP.


--=20
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx



-----Original Message-----
I look forward to its discovery and resultant use.

Dave




"Jeff" wrote in

message
...
| Hi David,
|
| I can`t remember how, but I know there is some command
| line inputs you can excute while using the SP2 update=20

to
| disable the firewall. I think it was posted in the
| testing newsgroup for SP2. I know it was answered by

one
| of the many MVP`s there. Sorry I can`t be more help. =20

I
| know there are command line switchs you can use though.
|
| Jeff
|
| -----Original Message-----
| That really doesn't answer his question.
|
| So in a script (such as the login script assuming they
| can access the server to execute the
| login script) there would be an entry such as...
|
| net stop FireWallService_Name
|
| Now, how would you disable it such that it does

not "turn
| on" upon a reboot ?
|
| Or to ask it a little better, in a script, how can one
| completely disable the FireWall ?
|
| My org. for one has issued a statement that the

FireWall
| in SP2 *must* be disabled.
|
| I have created a CDROM and a Kixtart script that
| slipstreams the root i386 directory then
| installs SP2. I would like to programmatically
| permanently disable the fireWall upon
| installation of the Service Pack.
|
| Dave
|
|
|
|
|
| "Mike Bright MSP"=20


| wrote in message
| ...
| | Sean,
| |
| | The Windows Firewall is a service and therefore=20

there
| are no registry
| | entries which you can use to Switch it off. =20

Although
| it can be swtiched off
| | programatically, but sorry no registry key for it.
| |
| | Regards
| |
| | Mike Bright MCP, MSP
| |
| |
| |
| |
|
|
| .
|


.



.

  #9  
Old August 29th 04, 02:08 AM
Torgeir Bakken \(MVP\)
external usenet poster
 
Posts: n/a
Default Turing of SP2 Firewall via registry entry?

David H. Lipman wrote:

Togeir !
I should have known. The man is a scripting genious.

Information contained in -- WF_XPSP2.doc

I read that about 2 or 3 weeks ago. Its not pretty. It needs the SP2 EXE extracted. I'd
rather keep the EXE in its 266MB distriburtion executable so I dropped that idea. I want a
solution to be done AFTER SP2 is installed either before rebooting the PC or something I can
run in RunServicesOnce or RunOnce from the Registry upon the reboot.

Hi

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\Win dowsFirewall\DomainProfile
\EnableFirewall=0 (DWORD data type)

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Win dowsFirewall\StandardProfile
\EnableFirewall=0 (DWORD data type)

Those registry values are documented in WF_XPSP2.doc

WF_XPSP2.doc "Deploying Windows Firewall Settings for Microsoft
Windows XP with Service Pack 2" is downloadable from
http://www.microsoft.com/downloads/d...d-499f73a637d1


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



--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx
  #10  
Old August 29th 04, 02:54 AM
David H. Lipman
external usenet poster
 
Posts: n/a
Default Turing of SP2 Firewall via registry entry?

What can I say ?

Except a repeat....

"Togeir !
I should have known. The man is a scripting genious."

You have helped me so many times. You are definitely, and undoubtedly, the best on the
Microsoft News Groups !!!!

With much gratitude....
Dave

BTW: I just bought the book "Microsoft Windows Command-Line", William R. Stanek, Microsoft
Press, 2004.

Do you know the book or the author ? If so -- Any comments ?




"Torgeir Bakken (MVP)" wrote in message
...
| David H. Lipman wrote:
|
| Togeir !
| I should have known. The man is a scripting genious.
|
| Information contained in -- WF_XPSP2.doc
|
| I read that about 2 or 3 weeks ago. Its not pretty. It needs the SP2 EXE extracted.
I'd
| rather keep the EXE in its 266MB distriburtion executable so I dropped that idea. I
want a
| solution to be done AFTER SP2 is installed either before rebooting the PC or something I
can
| run in RunServicesOnce or RunOnce from the Registry upon the reboot.
| Hi
|
| 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\Win dowsFirewall\DomainProfile
| \EnableFirewall=0 (DWORD data type)
|
| HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Win dowsFirewall\StandardProfile
| \EnableFirewall=0 (DWORD data type)
|
| Those registry values are documented in WF_XPSP2.doc
|
| WF_XPSP2.doc "Deploying Windows Firewall Settings for Microsoft
| Windows XP with Service Pack 2" is downloadable from
|
http://www.microsoft.com/downloads/d...d-499f73a637d1
|
|
| 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
|
|
|
| --
| torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
| Administration scripting examples and an ONLINE version of
| the 1328 page Scripting Guide:
| http://www.microsoft.com/technet/scr...r/default.mspx


  #11  
Old August 29th 04, 03:29 AM
Torgeir Bakken \(MVP\)
external usenet poster
 
Posts: n/a
Default Turing of SP2 Firewall via registry entry?

David H. Lipman wrote:

What can I say ?

Except a repeat....

"Togeir !
I should have known. The man is a scripting genious."

You have helped me so many times. You are definitely, and undoubtedly,
the best on the Microsoft News Groups !!!!

With much gratitude....
Dave


Thanks for those nice words :-)


BTW: I just bought the book "Microsoft Windows Command-Line", William R.
Stanek, Microsoft Press, 2004.

Do you know the book or the author ? If so -- Any comments ?


No, sorry, I do not know that book or author...


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Environment variables not being expand in Path registry entry Joi Osoy Customizing Windows XP 0 July 30th 04 01:44 PM
Environment variables not being expand in Path registry entry Joi Osoy Customizing Windows XP 0 July 30th 04 01:44 PM
Environment variables not being expand in Path registry entry Joi Osoy Customizing Windows XP 0 July 30th 04 02:04 AM
Environment variables not being expand in Path registry entry Joi Osoy Customizing Windows XP 0 July 29th 04 03:52 AM
Adding Registry Entry for Windows Installer Logging SidBord General XP issues or comments 0 July 17th 04 04:56 AM






All times are GMT +1. The time now is 08:16 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.