Windows XP force authentication on RDP

0

I've been trying now for a while, but cannot sort this out...

I am running two Windows XP guest machines on VirtualBox and if I connect to either of them via RDP, they log straight into the desktop without authenticating. It just goes straight into the Windows XP desktop without asking for a username of password... I cannot for the life of me figure out how to force it to authenticate?

I can log onto the Host machine via RDP fine and it authenticates.

I 'have' installed PowerToy for XP so that the machine boots automatically without asking for a password, but I need this functionality.

How can I force RDP on the Windows XP guest machines to ask for a username and password?

Thanks in advance for help on this one!

omega1

Posted 2014-01-20T19:33:00.890

Reputation: 305

If you've saved RDP shortcuts to the VMs, ensure you haven't saved/set credentials in the shortcut (to check, edit the RDP connection and hit "Show Options"). – Ƭᴇcʜιᴇ007 – 2014-01-20T20:10:54.853

Hi, no it is not that, as I have tried logging in via other machines (not just my own) and it does the same thing... – omega1 – 2014-01-21T10:56:45.023

Answers

1

The stored username, on an XP system, is in a text file with the system name or "default.RDP", usually found in My Documents. Edit that file to remove the username.

Alternatively, run Remote Desktop (mstsc.exe) so that the program opens, select the system you want to change, click the Options button:

RDP basic

then remove the credentials & uncheck the box for "Allow me to save credentials", and then be sure to click "Save".

RDP2

This assumes that you haven't explicitly made a registry edit to cause the system to pass through credentials.

Debra

Posted 2014-01-20T19:33:00.890

Reputation: 4 000

Hi, this is connecting TO the Windows XP (machines) not FROM them. Just to clarify, I have a Windows & machine runnign VirtualBox which has two Windows XP machines on it (not sure how relevant this is).

If I attempt to connect TO either of these two machines, from any other machine, it logs straight into the desktop without asking for any authentication.

It does not appear to be an issue of the user/pass being stored on the machine as I have tried from other machines and it still just logs straight in.

Which registry setting would I need to check re: your end comment?

Thanks. – omega1 – 2014-01-21T10:59:19.863

If you have a single user account on the XP system, and especially it's "Home" version, there is no requirement to enter a password. What you should do is remove the powertoy and use "autoadminlogon" (registry settings for username & password) for the machine login you need; then RDP will prompt for the password for any other connections, but the console session won't. Sorry that I misunderstood & thought you were logging in -from- XP as well. – Debra – 2014-01-21T22:42:02.497

Hi, I have tried this, but it still bypasses the login request when connecting via RDP.

I disabled PowerToy and made the changes in regedit and entered the username and password.

I am using Windows XP Professional.

Is there anything else I can try? – omega1 – 2014-01-22T16:00:20.157

Add a new account with a password. – Debra – 2014-01-23T08:45:14.320

Hi, I did this and added a new user account with a password, ensured that the credentials weren't stored in the local RDP yet it still just logs straight into the XP desktop! Any further ideas? Many thanks again for your help! – omega1 – 2014-01-23T09:57:18.730

I've partially solved this by setting the screen saver to timeout after 5 minutes... This will initially fix my issue, but i'd be interested in finding out why is will not prompt me for a password? – omega1 – 2014-01-23T14:44:07.837

When you start that remote system, does it now stop with the "welcome" screen? (It should, as long as there is more than one account & passwords are required.) Have you installed any other network providers that could interfere with authentication? Check the registry key at HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services\fPromptForPassword - it should be set to 1; could it have been changed at some point? – Debra – 2014-01-24T14:24:40.917

Hi, thanks again.

I didn't have this entry so I added it as a REG_DWORD and set it to a 1, but it still doesn't prompt me for a username/password and RDP as acting like a VNC session rather than RDP... – omega1 – 2014-01-24T17:38:21.797

Argh! I feel a little stupid now! Inside VirtualBox I had enabled Remote Display which seems to have somehow interfered with Windows own RDP... I have disabled it in Oracle VirtualBox manager and it now works as expected. My apologies and thank you for sticking with me on this one! – omega1 – 2014-01-24T17:44:22.900

Well, at least you found it. It's not always easy to track what one has configured that can interfere. Glad it's resolved now. – Debra – 2014-01-25T18:43:51.670