If you are setting up a new program that needs network access, but are not paying close enough attention, you might end up accidentally causing Windows firewall to block the program. How do you fix such a mistake? Today’s SuperUser Q&A post helps a frustrated reader fix a firewall headache.
如果要设置需要网络访问权限的新程序,但没有引起足够的重视,则可能最终导致Windows防火墙意外阻止该程序。 您如何解决这种错误? 今天的“超级用户问答”帖子可帮助沮丧的读者解决防火墙问题。
Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.
今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。
问题 (The Question)
SuperUser reader Dims wants to know how to reopen a Windows Firewall approve/deny notification:
超级用户阅读器Dims想知道如何重新打开Windows防火墙批准/拒绝通知:
I ran a program that caused a Windows Firewall notification to pop up, but I did not stop to think and quickly clicked “Cancel”. Now my program crashes due to network errors. How can I reopen or access the notification message so that I can select the option to allow the program to have proper network access?
我运行了一个导致Windows防火墙通知弹出的程序,但我没有停下来思考并Swift单击“取消”。 现在我的程序由于网络错误而崩溃。 如何重新打开或访问通知消息,以便选择选项以允许程序具有适当的网络访问权限?
Note
注意
My question is not about how to add an exception to Windows Firewall because I do not know the exact “name” of the program that triggered the notification. Imagine I ran a script that started another script running, which in turn caused a program to run. Something in the process activated the firewall message that I unfortunately ignored.
我的问题不是关于如何向Windows防火墙添加例外,因为我不知道触发通知的程序的确切“名称”。 想象一下,我运行了一个脚本,该脚本启动了另一个脚本的运行,进而导致程序运行。 在此过程中,某些东西激活了防火墙消息,但我不幸忽略了它。
Now the program is blocked and when I try running the script again, it malfunctions without any messages that would allow me to fix things. I need help to either find the program or to reopen/access the notification.
现在,该程序已被阻止,当我再次尝试运行脚本时,它会出现故障,并且没有任何消息可以修复我的问题。 我需要帮助才能找到程序或重新打开/访问通知。
How do you reopen a Windows Firewall approve/deny notification?
如何重新打开Windows防火墙批准/拒绝通知?
答案 (The Answer)
SuperUser contributor DavidPostill has the answer for us:
超级用户贡献者DavidPostill为我们提供了答案:
How do I Find Out Which Program was Blocked?
我如何找出被阻止的程序?
Changes to the Windows Firewall rule set are logged in the “Application and Services” event logs. You can inspect the logs (which includes the date and time of events) to see what rules were added around the time you installed the program. With this information, you can remove the rule or create an appropriate exception in the firewall.
Windows防火墙规则集的更改记录在“应用程序和服务”事件日志中。 您可以检查日志(包括事件的日期和时间),以查看在安装程序时添加了哪些规则。 使用此信息,您可以删除规则或在防火墙中创建适当的例外。
Viewing Firewall and IPsec Events in Event Viewer
在事件查看器中查看防火墙和IPsec事件
Source: Viewing Firewall and IPsec Events in Event Viewer
来源:在事件查看器中查看防火墙和IPsec事件
What Event is Triggered When a Rule is Added?
添加规则会触发什么事件?
“4946: A change has been made to Windows Firewall exception list. A rule was added.” For example:
“ 4946:对Windows防火墙例外列表进行了更改。 添加了一条规则。” 例如:
Source: Windows Security Log Event ID 4946
来源: Windows安全日志事件ID 4946
Further Reading
进一步阅读
Windows Security Log Events
Windows安全日志事件
Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.
有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程。
翻译自: https://www.howtogeek.com/284375/how-do-you-reopen-a-windows-firewall-prompt/