|
2#

楼主 |
发表于 2014-7-2 00:09:57
|
只看该作者
封装系统前关闭防火墙就会出现叉,无法打开应用。封装后安装再启用防火墙,叉就没了,应用就能用了。这是为何?
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile" /v "EnableFirewall" /d 0 /t REG_DWORD /f
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PrivateProfile" /v "EnableFirewall" /d 0 /t REG_DWORD /f
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PublicProfile" /v "EnableFirewall" /d 0 /t REG_DWORD /f
- sc stop MpsSvc
- sc config MpsSvc start=disabled
复制代码 |
|