Link to home
Start Free TrialLog in
Avatar of psandak
psandak

asked on

Remote Desktop Connection v6.06 default username

My client is running WIndows XP SP2 with Remote Desktop Connection v6.06.  When users attempt to connect to the Windows Server 2003 terminal server (or any server for that matter), the RDC authenication window that pops up defaults the username to <servername>\<username> when it should default to <domain>\<username> or just <username>.  The users do not have local computer logons to ANY server and so they have to "fix" the username each time they need to use the terminal server.

Is there a way to change this, so that RDC v6 defaults to <domain>\<username>?
Avatar of johnb6767
johnb6767
Flag of United States of America image

Under the General tab of mstsc>Options>General, what is stored there?

There is a GPO for remote desktop as well, to Store credentials. Ill need to find it....
Avatar of help-me
help-me

try editing Default.rdp
see http://support.microsoft.com/kb/885187
Avatar of psandak

ASKER

Not much is stored in the general tab.

There is a drop down menu for the server list.
the username says "(none)" and below it says, "You will be asked for credentials when you connect"

It is when you click connect that the username is set to <servername>\<username> and there is no apparent way to change it, other than to check the "remember me" checkbox which bypasses the logon process which the client does not want to do.
What about
Start->Run->mstsc
Click OPtions
Enter the info there and click Save As, saving it as Default.rdp up under the user's profile\My Documents folder....

Next time you open it - it should use that file's settings...
Yes Locate the users default.rdp file (usually in my documents) open it with notepad or wordpad

add / edit the following two lines

username:s:{your username}
domain:s:{your domain name}

Close and save the file
pah! far to slow today
Avatar of psandak

ASKER

"sirbounty:
What about
Start->Run->mstsc
Click OPtions
Enter the info there and click Save As, saving it as Default.rdp up under the user's profile\My Documents folder....

Next time you open it - it should use that file's settings..."

There is no place to enter information.  Unlike version 5 where you can enter information and save the default.rdp, in version 6 yes you can save it but there is no information boxes except the server name
Avatar of psandak

ASKER

"PeteLong:

Yes Locate the users default.rdp file (usually in my documents) open it with notepad or wordpad

add / edit the following two lines

username:s:{your username}
domain:s:{your domain name}

Close and save the file"

None of the users have a saved default.rdp they simply launch mstsc from run, change the server if necessary and click connect.
once you open mstsc once you will get a default.rdp file
Avatar of psandak

ASKER

I found the hidden deafult.rdp file and opened it with notepad and I did as PeteLong said and it did not work.

When you click connect the username remains <servername>\<username>
If you save over the existing one (it may be the older version?) - it should prompt you with a blank credentials box...
Avatar of psandak

ASKER

"sirbounty:
If you save over the existing one (it may be the older version?) - it should prompt you with a blank credentials box..."

I deleted the current default.rdp and had the system recreate it and when I entered the server name and clicked connect I got the same <servername>\<username>
Try this:

Start->Run->MStsc <Enter>
Click Options
Remove the computername (highlight and click <Del>)
Click Save As - save as Default.RDP in My Documents folder, choosing to overwrite the file.
Close out the session.

Restart Mstsc - it should use that default.rdp and prompt you for credentials...
Avatar of psandak

ASKER

"sirbounty:
Try this:

Start->Run->MStsc <Enter>
Click Options
Remove the computername (highlight and click <Del>)
Click Save As - save as Default.RDP in My Documents folder, choosing to overwrite the file.
Close out the session.

Restart Mstsc - it should use that default.rdp and prompt you for credentials..."

Did this exactly and got the same result <servername>\<username> in the credentials window
"There is no place to enter information.  Unlike version 5 where you can enter information and save the default.rdp, in version 6 yes you can save it but there is no information boxes except the server name"

Could you clarify this? You can edit the same things and more, in mstsc>options>, lots more than just a server name....Maybe I misunderstood this comment though...too much chocolate yesterday...   :)

If a password is stored, you can click Edit or Delete these credentials, under where it displays who you are going to connect as....
Actually, from the help file:

If your computer is part of a domain, you can't save your credentials when you connect to a remote computer.

But it shouldn't be keeping the servername either...
Avatar of psandak

ASKER

"johnb6767:
"There is no place to enter information.  Unlike version 5 where you can enter information and save the default.rdp, in version 6 yes you can save it but there is no information boxes except the server name"

Could you clarify this? You can edit the same things and more, in mstsc>options>, lots more than just a server name....Maybe I misunderstood this comment though...too much chocolate yesterday...   :)

If a password is stored, you can click Edit or Delete these credentials, under where it displays who you are going to connect as...."

I run version 5 on my laptop (because I have simply not upgraded yet and when you go into the RDP options there are connection options: computer, username, password, domain and a save my password checkbox.  You can then save these options as a separate RDP connection, believe me I know I have many of these files saved.

In version 6 however they took out these editable options from the general tab.  the only change you can save is the server name.  Once you click connect a window appears that you enter your domain\username and password and there is a checkbox to save your password and then these settings stick, BUT the customer does not want the users to save their passwords in this manner for security reasons.
There is a reg edit that allows it...I have several .rdp files on my desktop that stored the credentials....When prompting to edit, it opens the Local "Control userpasswords2>Advanced>Manage Passwords" dialog

Just need to find it.....
Avatar of psandak

ASKER

sirbounty:Actually, from the help file:

If your computer is part of a domain, you can't save your credentials when you connect to a remote computer.

But it shouldn't be keeping the servername either...

I think the customer would accept having to enter the username if it was not present, but it is and they want to know how to permanently change it even to just get rid of it.
Now I got a visual of that boxes you are talking about........
ASKER CERTIFIED SOLUTION
Avatar of johnb6767
johnb6767
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of psandak

ASKER

Ok johnb you've posted EXACTLY what's happening.

But i have tried to do this over and over again with no success.  How do you clear out ALL the information that Windows has on RDP?  I have tried deleting the Default.rdp file in My Documents without success.
Are there any other default.rdp's like in All users?
Avatar of psandak

ASKER

johnb thank you.  what I did not think to do was have the user manually change the logon to domainname\username and actually logon to the TS.  this fixed the problem
Cool....Glad we got it worked out quickly....
How about editing the RDP file using notepad?  I've a template RDP file that I edit using notepad and the only thing I do is change the server name and username and leave the rest as is.  

This came in handy when Microsoft decided NOT to include usename/passowrd/domain entry option on the new RDP client for non Vista updates.

The new RDP client prompts for username/password/domain prior to establishing connection and there is no work around it (with the exception of gpedit.msc vista solution)
1.  Click the Start button , type gpedit.msc, and then press ENTER.&#8204; If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
 
2.  Under Computer Configuration, double-click Administrative Templates, double-click System, and then double-click Credentials Delegation.
 
3.  In the right pane, double-click Allow Saved Credentials with NTLM-only Server Authentication.
 
4.  In the dialog box that appears, click Enabled, and then click Show.
 
5.  In the Show Contents dialog box, click Add, type the name of the remote computer (server) in this format: TERMSRV\<computername>, and then click OK.

NoteBe sure to capitalize “TERMSRV” as shown. <computername> can either be the name of a specific remote computer (for example, TERMSRV/myremotepc) or you can use an asterisk (*) to include a group of computers (for example, TERMSRV/* or TERMSRV/*.corp.com). <computername> should exactly match the name you enter in the Computer box in Remote Desktop to connect to that remote computer.

For non-vista approach, notepad edit seems to work best.  Sample of the RDP code:
1 - edit the RDP file using NotePad - server.rdp - replace servername and username@domain.com

screen mode id:i:2
desktopwidth:i:1024
desktopheight:i:768
session bpp:i:16
winposstr:s:0,3,0,0,800,600
full address:s:servername
compression:i:1
keyboardhook:i:2
audiomode:i:0
redirectdrives:i:0
redirectprinters:i:1
redirectcomports:i:0
redirectsmartcards:i:1
displayconnectionbar:i:1
autoreconnection enabled:i:1
username:s:username@domain.com
domain:s:
alternate shell:s:
shell working directory:s:
password 51:b:01000000D08C9DDF0115D1118C7A00C04FC297EB010000009187DC485A0C994CAB4C29371C388DC40000000008000000700073007700000003660000A800000010000000FD805AAEA4A4FB52D64FC3AE804904F70000000004800000A000000010000000CAC97C25733A7D36A78C1FFD6D3EBE300802000081C828A3F574E30E237A0306DA64C84053D534EFC1C85CBC9050833A643E8BED35D238C5868D93A749494AE570F4CB27AA6E44BAC6C1B44BDB112A37D4725741C07912CDB351564B75CEF41D7C0ABE0F732ECA8AB0AE221F25A7A2A588556D50722155167E028B77D90E322CD389D5DFC8F617F20ADE7F5A7451B55D6EF713D8104A04EBC416CAF0F5EBCB054C29F749CFC38C52E78509404CE89CBA9E6015BA713879FB8EAF163E04688DDFB361B45F32E0AB3332E4A3F4FCA3305B6F29B66210C9C84F155E4325DE7291E27C71BD31133534DD15F841E950C57D1AA2B356095BD86ABF03FD8D980BB8BFA30EADA0001B928E4A181562CC0E4621788D79B50A8326504166DDB5E210CB15EE62F3920FCC0609446DABDC7FAEEC95EDD75C3CC3F9FFCFCB923C117CCEE1EBCF3DA35F41A133AF8B786BAB159A2E56886DD22ECE7B4D4A6A3101C86F9CD2D6871EF4BF6E2A6235434670FDA88B5DA2100A299A4F3258CDD12A6A8D940F22D31D7DD5EFCACFCD181E259A9B92B121D8588A193FC57B5C47E63EF3883AABA274D4C5396D980ECBCCCDBA4DF2F9292E4269CDD0B936387ED095B91AF06CA0ADA7F234CF363DF15F1C196C39AE2845DB097653684C7F0EB2340A5F117DFF062009531FD2C1D0E576339E6E1DA83B0CBFE5F8F697306FFE8CDF9D442D7ACA1B8BE5FD99B44EADC639FA55BA65880A069F267A293447ED4A716E8BDE2B991F14000000AB3E1EC800896318DD0CE7E20E3171A8B865E08D0
disable wallpaper:i:1
disable full window drag:i:1
disable menu anims:i:1
disable themes:i:0
disable cursor setting:i:0
bitmapcachepersistenable:i:1
 
 
Someone asked how to clear all the rdp information from a workstation.  I don't think it was really answered.  Run regedit, then current user/software/microsoft/terminal server client\default.  It is there that you will find the terminal servers that the workstation has communicated with.  A great way to clean up where you have been on a public computer.  Remember to delete the default.rdp too, if you really need to clean up.