In order to turn off the Windows Firewall in the Registry Editor, the correct key must be amended.
Go to Start > Run and type regedit at the insertion point.
In the Registry Editor, go to Edit > Find and paste the following path (Windows XP SP3) then click OK
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile
The Reg_DWORD value EnableFirewall can be edited, with an amendment to the Value Data setting of 0. By changing this to 1, the Windows Firewall will be disabled.
For Windows XP SP2, the Reg_DWORD value EnableFirewall can be accessed via the following registry entries, depending upon your environment:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfiles
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfiles
Again as with the Service Pack 3 solution, the Value Data setting of 0 should be changed to 1 in the Reg_DWORD value EnableFirewall.