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

How to disable Windows Firewall service in XP SP2



 
 
Thread Tools Display Modes
  #1  
Old July 20th 05, 06:46 PM
Amanda George
external usenet poster
 
Posts: n/a
Default How to disable Windows Firewall service in XP SP2

Does anyone know how to disable the Windows Firewall/Internet Connection
Sharing service in Windows XP SP2 in the registry? I know how to manually
disable the service under Computer Management --Services, but I would like
to see if I can add/modify a registry key to do the trick. Any ideas would
be appreciated. Thanks!
Ads
  #2  
Old July 20th 05, 06:52 PM
Torgeir Bakken \(MVP\)
external usenet poster
 
Posts: n/a
Default

Amanda George wrote:

Does anyone know how to disable the Windows Firewall/Internet Connection
Sharing service in Windows XP SP2 in the registry? I know how to manually
disable the service under Computer Management --Services, but I would like
to see if I can add/modify a registry key to do the trick. Any ideas would
be appreciated. Thanks!

Hi,

The VBScript below sets those two registry values that will disable
the WinXP SP2 firewall.

Put the VBScript below in a .vbs file and run it by double-clicking
on it.


'--------------------8----------------------
Set oShell = CreateObject("WScript.Shell")

oShell.RegWrite "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirew all" _
& "\DomainProfile\EnableFirewall", 1, "REG_DWORD"

oShell.RegWrite "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirew all" _
& "\StandardProfile\EnableFirewall", 1, "REG_DWORD"

MsgBox "Done, please reboot computer", vbSystemModal+vbInformation

'--------------------8----------------------



--
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
  #3  
Old July 20th 05, 07:00 PM
Tom Porterfield
external usenet poster
 
Posts: n/a
Default

Amanda George wrote:
Does anyone know how to disable the Windows Firewall/Internet Connection
Sharing service in Windows XP SP2 in the registry? I know how to manually
disable the service under Computer Management --Services, but I would like
to see if I can add/modify a registry key to do the trick. Any ideas would
be appreciated. Thanks!


Services are stored in the registry at
HKLM\System\CurrentControlSet\Services. The Firewall/Internet
connection service is called SharedAccess. Set the Start value there to
4 to disable the service. Note that changing that won't stop the
service. To stop the service open a command prompt window and enter the
following command:

net stop SharedAccess
--
Tom Porterfield
MS-MVP Windows
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 




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
creating boot disc for windows xp home edition Big Bearded Buddy Performance and Maintainance of XP 28 September 7th 05 06:56 PM
Problem about Window Xp SP2 firewall and the buildin FTP command ping Windows Service Pack 2 2 June 23rd 05 02:47 PM
SP2 issue sc Windows Service Pack 2 3 May 16th 05 04:29 AM
reinstall without losing files Danny Windows XP Help and Support 6 May 11th 05 02:58 AM
Best way to install SP2 ?? which is ?? Avid Gamer Windows Service Pack 2 8 September 25th 04 08:58 PM






All times are GMT +1. The time now is 08:49 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.