Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\Portnumber 9833
- netsh advfirewall firewall add rule name="10000__PERMI__TCP__9833" dir=in action=allow protocol=TCP localport=9833 remoteip=localsubnet
- netsh advfirewall firewall add rule name="10001__PERMI__APP__Explorer" dir=out action=allow localip=any remoteip=localsubnet program="%WINDIR%\Explorer.exe"
- netsh advfirewall firewall add rule name="00000__BLOCK__APP__Cortana" dir=out action=block localip=any remoteip=any program="%WINDIR%\systemapps\Microsoft.Windows.Cortana._cw5n1h2txyewy\SearchUI.exe"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement