RDP connection without domain name

I recently had an issue where I tried to connect to one of my servers, but I couldn't remember the domain name. 


I tried connecting with:

  • \myadministratoraccount
  • .\myadministratoraccount
  • myadministratoraccount


But all of these would prepend the name of my machine. e.g.

  • MYMACHINENAME\myadministratoraccount


So if you need to RDP to a server but you cannot easily find out the domain name, the simple solution is to use the localhost domain name.

  • LOCALHOST\myadministratoraccount