action=allow localport=rpc-epmap protocol=tcp program= %windir%\system32\svchost.exe • > netsh advfirewall firewall add rule name=PsExec dir=in action=allow localport=445 protocol=tcp • > netsh advfirewall firewall add rule name=PsExec dir=in action=allow localport=rpc protocol=tcp program=%SystemRoot%\system32\services.exe • > netsh advfirewall firewall set rule name=PsExec new enable=yes • https://qiita.com/0829/items/5518256b348521ac358c