
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/