Firewall start/stop with registry-keys

  • Thread starter Cornelius Wasmund
  • Start date
C

Cornelius Wasmund

Hello XPe 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\Parameters\FirewallPolicy\StandardProfile\
EnableFirewall dword(01000000)

SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\
EnableFirewall dword(01000000)


stop: (do not works)
rootkey=HKEY_LOCAL_MACHINE

SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile\
EnableFirewall dword(00000000)

SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\
EnableFirewall dword(00000000)

SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\
EnableFirewall dword(00000000)

SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\
EnableFirewall dword(00000000)


Any idea which registry-keys i need?

Regards
Cornelius
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top