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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |