標籤

2021年2月9日 星期二

啟用訪客,啟用防火牆的批次檔

net user guest ""
pause

Net User Guest /Active:Yes
pause

Netsh Advfirewall Firewall Set Rule Group="檔案及印表機共用" New Enable=Yes
pause

\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
"AllowInsecureGuestAuth"=dword:1

開啟防火牆說明連結
https://docs.microsoft.com/zh-tw/troubleshoot/windows-server/networking/netsh-advfirewall-firewall-control-firewall-behavior

沒有留言:

智慧型應用程式控制

現象: 解法