Reputation: 23
I'm setting up a new vanilla Windows Server 2016 VM on Azure cloud, and want to connect via RDP. I followed the steps in the Quickstart guide, but when I try to connect from a Windows 8 client on the company LAN, I get "An internal error has occurred." When I try to connect from an Android client on the public internet, I get "We couldn't connect to the remote PC. This might be due to an expired password. If this keeps happening, contact your admin or tech support for help. Error code: 0x207".
I've already tried the following.
Install-WindowsFeature -name Web-Server -IncludeManagementTools
I can view the IIS start screen from my browser using the public IP addressreg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server " /v fDenyTSConnections
> returns 0reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fDenyTSConnections
> key does not existreg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSEnabled
> key did not exist, therefore added it using reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSEnabled /t REG_DWORD /d 1 /f
> key added successullyreg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSServerDrainMode
> key does not existreg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSUserEnabled
> returns 0reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\Winstations\RDP-Tcp" /v fEnableWinStation
> returns 0reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\Winstations\RDP-Tcp" /v fLogonDisabled
> returns 0So I've followed all the online help guides I can find, rebuilt the VM, and tried accessing the VM from two different clients on two different networks, and nothing works! Any ideas?
Upvotes: 0
Views: 3660
Reputation: 3814
I suspect you have two different issues at play here.
You corpnet is blocking outbound RDP (3389) to public IP addresses. This is a typical setup and you can confirm by contacting your network team. Work-around would be to use a VPN. A point-to-site VPN is the quickest way to test this.
The old Android RDP client has some known issues connecting to Server 2016. Try the beta client, https://play.google.com/store/apps/details?id=com.microsoft.rdc.android.beta&hl=en
Upvotes: 0
Reputation: 116
Instead of clicking on Connect, Get the VM IP and try to RDP to it. You can get the VM IP from Networking tab.
Upvotes: 0