Remote Desktop connection without domain name

4

1

I'm trying to connect to a Windows Server 2016 cloud hosted machine using remote desktop, yet whether I enter the user name as Administrator or .\Administrator, I always get a "login failed" message for MYMACHINENAME\Administrator.

How do I force rdp to connect without any domain name?

ProfK

Posted 2018-06-25T17:50:14.060

Reputation: 2 094

@PimpJuiceIT Nope, it seems to take that literally, and says login failed for ~\administrator. My client tells me he can connect, so I think I'm going to have to go and watch exactly how he manages. – ProfK – 2018-06-26T06:29:15.537

There's no such thing as a Windows account that doesn't have a domain name, just accounts that aren't part of an Active Directory domain. Specifically, local accounts are members of the local computer's domain. – I say Reinstate Monica – 2018-06-26T08:19:04.707

@TwistyImpersonator I never said there was a Windows account without a domain name. I asked how to log in without specifying a domain name. – ProfK – 2018-06-27T06:12:29.597

@PimpJuiceIT Yes, that worked for me, thanks, but I see that has already been added as an answer too. – ProfK – 2018-06-29T04:58:06.803

Ah.... I didn't even read that answer but I see that now too. No worries, glad you got it resolved. – Pimp Juice IT – 2018-06-29T05:22:32.143

Answers

6

Use the computername of the remote system, e.g., CLOUDHOSTEDVM\Administrator. When you use .\ (or no prefix) via RDP, it assumes the domain/computer name of your connection, not the target computer.

Jeff Zeitlin

Posted 2018-06-25T17:50:14.060

Reputation: 2 918

-2

You can also use localhost\administrator to connect.

Ian Barnacle

Posted 2018-06-25T17:50:14.060

Reputation: 1