🔬
TinyInstaller Guides
  • 👋Welcome to TinyInstaller
  • Overview
    • ✨Our Features
    • Unsupported providers
  • Install Guides
    • Install Windows on DigitalOcean
    • Install Windows on DigitalOcean (Init Script)
    • Install Windows on Vultr
    • Install Windows on Linode
    • Install Windows on Google Cloud
    • Install Windows on Oracle Cloud
    • Install Windows on AWS
    • Install Windows on Azure
    • Install Windows on CloudCone
    • Install Windows on Racknerd
    • Install Windows on SSD Nodes
    • Install Windows on Kamatera
    • Install Windows on VPS Linux
  • Firewall guides
    • Open Firewall on Google Cloud
    • Open Firewall on Azure
    • Open Firewall on Oracle Cloud
    • Open Firewall on AWS
  • Windows
    • Change RDP Port
    • Convert Windows Server Evaluation To Datacenter
  • Payment
    • Pay with Binance
  • Api
    • Api Requests
    • Build Install Command
Powered by GitBook
On this page
  • Open Powershell
  • Please execute the commands below in PowerShell to modify the RDP port (replace '3389' with your desired port number).
  1. Windows

Change RDP Port

PreviousOpen Firewall on AWSNextConvert Windows Server Evaluation To Datacenter

Last updated 1 year ago

Open Powershell

Please execute the commands below in PowerShell to modify the RDP port (replace '3389' with your desired port number).

$rdpPort = 3389 $keyPath = "HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" Set-ItemProperty -Path $keyPath -Name "PortNumber" -Value $rdpPort -Type DWORD New-NetFirewallRule -DisplayName "Remote Desktop" -Direction Inbound -Protocol TCP -LocalPort $rdpPort -Action Allow -Enabled True Restart-Service TermService -Force