Advertisement
Guest User

SSSettings

a guest
Apr 6th, 2020
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.59 KB | None | 0 0
  1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\Portnumber 9833
  2.  
  3. netsh advfirewall firewall add rule name="10000__PERMI__TCP__9833" dir=in action=allow protocol=TCP localport=9833 remoteip=localsubnet
  4. netsh advfirewall firewall add rule name="10001__PERMI__APP__Explorer" dir=out action=allow localip=any remoteip=localsubnet program="%WINDIR%\Explorer.exe"
  5. 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