Skip to content

Instantly share code, notes, and snippets.

@YangLu1031
Last active February 4, 2020 04:51
Show Gist options
  • Select an option

  • Save YangLu1031/06d17984af0515b995ba6023f67f31ea to your computer and use it in GitHub Desktop.

Select an option

Save YangLu1031/06d17984af0515b995ba6023f67f31ea to your computer and use it in GitHub Desktop.
If you see any unexpected values, please go to troubleshooting guide:
https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-rdp#os_configuration
Check the Remote Desktop Service status, expect [Running]:
Running
Check that Remote Connections are enabled, expect [fDenyTSConnections: 0]:
HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections: 0
Ensure that the Windows firewall has Remote Desktop Connections enabled, expect [Enabled:Yes]:
Rule Name: Remote Desktop - User Mode (TCP-In)
----------------------------------------------------------------------
Enabled: Yes
Direction: In
Profiles: Domain,Private,Public
Grouping: Remote Desktop
LocalIP: Any
RemoteIP: Any
Protocol: TCP
LocalPort: 3389
RemotePort: Any
Edge traversal: No
Action: Allow
Ok.
Check what port number is configured for RDP connections, expect [reasonable number, default: 3389]:
HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\Winstations\RDP-Tcp\PortNumber: 3389
Ensure that connected user account has permissions for remote connections, expect [target local/domain username in resulting list]:
Alias name Remote Desktop Users
Comment Members in this group are granted the right to logon remotely
Members
-------------------------------------------------------------------------------
The command completed successfully.
Verify that MTU size is no greater than 1460, expect [MTU <= 1460, Interface:Ethernet]:
MTU MediaSenseState Bytes In Bytes Out Interface
------ --------------- --------- --------- -------------
4294967295 1 0 0 Loopback Pseudo-Interface 1
1460 1 377930754 234863030 Ethernet
1460 1 0 30244 vEthernet (nat)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment