Windows 8 RDP – Your credentials did not work

This is a very annoying thing to encounter when connecting to a Remote Desktop on a machine in the network. That green bar just goes round and round for ages! I don’t know why this happens – in my case it is a machine in another domain that I log in to:


Let us say that this machine resides on IP address, then the following Powershell snippet will fix your woes:

Code Snippet
  1. Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Terminal Server Client\Servers\' -Name UsernameHint -Value ''
  2. mstsc.exe /v:

There are other ways to go about this, such as the REG command in a batch-file, but these days doing .bat files is just soooo old school 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s