|
|
发表于 2013-6-17 16:31:18
|
显示全部楼层
- @echo off
- reg add HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /V EnableFirewall /T REG_DWORD /D 0 /F
- reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile" /V EnableFirewall /T REG_DWORD /D 0 /F
复制代码- @echo off
- reg add HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /V EnableFirewall /T REG_DWORD /D 1 /F
- reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile" /V EnableFirewall /T REG_DWORD /D 1 /F
复制代码 |
|