This article explains how to backup and restore Microsoft Defender Firewall settings in Windows 11.
The Windows Firewall helps safeguard your device by filtering network traffic and blocking unauthorized access.
On Windows 11, you can use the Windows Security app to view and manage the status of Windows Firewall. You can turn the firewall on or off at any time using the Windows Security app.
You can export (back up) and import (restore)新型或現有計算機上的Microsoft Defender防火牆設置以設置或解決出現的任何問題。
備份並使用高級安全性
備份並恢復Windows防火牆設置
有多種方式可以備份並恢復Windows FireWall的Windows FireWall在Windows 11中的Windows 11。 開始並在開始菜單上選擇設置。
Windows 11開始菜單設置在設置應用程序中更新
,在設置應用中更新
Next, click Open Windows Security button.
在您的PC上的Windows安全應用中href=“ windowsdefender://network/” target=“ _ blank”>防火牆和網絡保護。
接下來 src=””>
On the pop-up window, use the “Export Policy“link to export or back up your Firewall settings.
To restore the settings, click the “Import Policy“link.
When prompted, navigate to where you want to導出.wfw 文件,鍵入所需的文件名,然後單擊保存。
進行逆轉或導入防火牆設置。
備份和使用命令提示符的命令
還可以使用命令提示,您還可以備份persost,並將其恢復為備用,並恢復pere。
首先,打開 Windows終端應用程序作為管理員,然後選擇“ 命令提示“或 powerShell tab。
命令提示:
netSh adsh adsh adverfireWall
powershell :
netsh advfirewall 導出“ $ env:userProfile \ desktop \ firewallbackup.wfw”
恢復或導入FireWall的命令,使用下面的命令使用下面的命令,使用命令提示>命令提示> strong>或 strong> powernl import “ C:\ Users \ Richard \ desktop \ firewallbackup.wfw”
,應該做到!
結論:
備份並備份Windows 11中的Microsoft Defender FireWall設置對於維持網絡安全和解決潛在的潛在問題至關重要。 可以通過Windows安全應用程序或使用命令提示符輕鬆完成該過程。 定期備份防火牆設置可確保您可以在任何配置更改或問題的情況下快速恢復它們。 熟悉GUI和命令行方法,可以有效地管理防火牆設置。 始終確保將備份文件存儲在安全的位置中,以防止未經授權的訪問。