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
|
|||
|
|||
Firewall start/stop with registry-keys
Hello Windows XP Community,
i want to start and stop the windows internal firewall by the registry with delphi. I can start the Firewall, but not stop ... so i change the follow reg-keys: start: (works) ************************************************** **************** rootkey=HKEY_LOCAL_MACHINE SYSTEM\CurrentControlSet\Services\SharedAccess\Par ameters\FirewallPolicy\StandardProfile\ EnableFirewall dword(01000000) SYSTEM\ControlSet001\Services\SharedAccess\Paramet ers\FirewallPolicy\StandardProfile\ EnableFirewall dword(01000000) ************************************************** **************** stop: (do not works) ************************************************** **************** rootkey=HKEY_LOCAL_MACHINE SOFTWARE\Policies\Microsoft\WindowsFirewall\Domain Profile\ EnableFirewall dword(00000000) SOFTWARE\Policies\Microsoft\WindowsFirewall\Standa rdProfile\ EnableFirewall dword(00000000) SYSTEM\CurrentControlSet\Services\SharedAccess\Par ameters\FirewallPolicy\StandardProfile\ EnableFirewall dword(00000000) SYSTEM\ControlSet001\Services\SharedAccess\Paramet ers\FirewallPolicy\StandardProfile\ EnableFirewall dword(00000000) ************************************************** **************** Any idea which registry-keys i need? I will not use netsh. Regards Cornelius Wasmund --- www.4logistic.de - www.windows-xp-embedded.de |
Ads |
Thread Tools | |
Display Modes | |
|
|