Skip to content

Instantly share code, notes, and snippets.

@erronjason
Created October 15, 2016 00:45
Show Gist options
  • Save erronjason/fa8a2693c693d0d7dce9636525ad0314 to your computer and use it in GitHub Desktop.
Save erronjason/fa8a2693c693d0d7dce9636525ad0314 to your computer and use it in GitHub Desktop.
Sets your RDP port to 55555
REGEDIT4
@ This sets your RDP port to "55555".
@ The value is just hex dword
; @ECHO OFF
; CLS
; REGEDIT.EXE /S "%~f0"
; EXIT
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"PortNumber"=dword:0000d903
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment