无忧启动论坛

标题: 防火墙被禁用了,如何开启? [打印本页]

作者: markyou1888    时间: 2019-11-18 07:47
标题: 防火墙被禁用了,如何开启?
防火墙被禁用了,如何开启?请大神们指点一下

QQ图片20191118074612.png (11.94 KB, 下载次数: 39)

QQ图片20191118074612.png

作者: markyou1888    时间: 2019-11-18 08:37
窄口牛 发表于 2019-11-18 08:28
刚才外面吃饭,看不到图片。gpedit.msc,里面取消禁用配置,然后重启试试。

这个试过了,还是不行的
作者: yaya141319    时间: 2019-11-18 08:44
本帖最后由 yaya141319 于 2019-11-18 08:45 编辑

刪掉這個, 然後重啟看看:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall
作者: markyou1888    时间: 2019-11-18 08:55
yaya141319 发表于 2019-11-18 08:44
刪掉這個, 然後重啟看看:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall

谢谢大神,好用了
作者: rockliu1800    时间: 2019-11-18 14:27
大神出马,一个顶俩!
作者: 2012雨晨绿软    时间: 2019-11-18 14:39
在注册表中将服务打开即可
作者: lookerJ    时间: 2019-11-18 15:47
求教个小问题,WindowsFirewall的不就是注册表里的Windows防火墙项吗,你按照他说的,删除掉这个键值后你的系统防火墙真的能用了吗?
作者: tzgbs    时间: 2019-11-18 22:17
因是在组策略禁用,在注册表删除改项,就是启用,不影响功能。
作者: 2010-First_HTPC    时间: 2021-3-25 02:39
markyou1888 发表于 2019-11-18 08:55
谢谢大神,好用了

真是救命啊,在VPS上用精简系统,被优化的把防火墙禁了,怎么都搞不定。。。
作者: 一本小书    时间: 2021-3-25 06:01
@echo off  ECHO 恢复开启Windows Defender reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /d 0 /t REG_DWORD /f echo 完成  ECHO 恢复开启Windows Defender防火墙 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile" /v "EnableFirewall" /d 1 /t REG_DWORD /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PrivateProfile" /v "EnableFirewall" /d 1 /t REG_DWORD /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PublicProfile" /v "EnableFirewall" /d 1 /t REG_DWORD /f sc stop MpsSvc MpsSvc & sc config MpsSvc start=auto ::设置防火墙服务为自动、手动、禁用等:样式:sc config MpsSvc start=auto、demand、disabled echo 完成
作者: 一本小书    时间: 2021-3-25 06:02
一本小书 发表于 2021-3-25 06:01
@echo off  ECHO 恢复开启Windows Defender reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Win ...

@echo off

ECHO 恢复开启Windows Defender
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /d 0 /t REG_DWORD /f
echo 完成

ECHO 恢复开启Windows Defender防火墙
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile" /v "EnableFirewall" /d 1 /t REG_DWORD /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PrivateProfile" /v "EnableFirewall" /d 1 /t REG_DWORD /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PublicProfile" /v "EnableFirewall" /d 1 /t REG_DWORD /f
sc stop MpsSvc MpsSvc & sc config MpsSvc start=auto
::设置防火墙服务为自动、手动、禁用等:样式:sc config MpsSvc start=auto、demand、disabled
echo 完成


作者: 2012wjia    时间: 2021-3-25 07:54
提示: 作者被禁止或删除 内容自动屏蔽




欢迎光临 无忧启动论坛 (http://wuyou.net/) Powered by Discuz! X3.3