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>?
Is there a way to change this, so that RDC v6 defaults to <domain>\<username>?
try editing Default.rdp
see http://support.microsoft.com/kb/885187
see http://support.microsoft.com/kb/885187
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.
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...
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
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
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
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
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.
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
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>
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...
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>
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...
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...
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
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....
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...
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...
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 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>Ma nage Passwords" dialog
Just need to find it.....
Just need to find it.....
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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?
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.‌ 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,60 0
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:01000000D08C9DDF0115D 1118C7A00C 04FC297EB0 1000000918 7DC485A0C9 94CAB4C293 71C388DC40 0000000080 0000070007 3007700000 003660000A 8000000100 00000FD805 AAEA4A4FB5 2D64FC3AE8 04904F7000 0000004800 000A000000 010000000C AC97C25733 A7D36A78C1 FFD6D3EBE3 0080200008 1C828A3F57 4E30E237A0 306DA64C84 053D534EFC 1C85CBC905 0833A643E8 BED35D238C 5868D93A74 9494AE570F 4CB27AA6E4 4BAC6C1B44 BDB112A37D 4725741C07 912CDB3515 64B75CEF41 D7C0ABE0F7 32ECA8AB0A E221F25A7A 2A588556D5 0722155167 E028B77D90 E322CD389D 5DFC8F617F 20ADE7F5A7 451B55D6EF 713D8104A0 4EBC416CAF 0F5EBCB054 C29F749CFC 38C52E7850 9404CE89CB A9E6015BA7 13879FB8EA F163E04688 DDFB361B45 F32E0AB333 2E4A3F4FCA 3305B6F29B 66210C9C84 F155E4325D E7291E27C7 1BD3113353 4DD15F841E 950C57D1AA 2B356095BD 86ABF03FD8 D980BB8BFA 30EADA0001 B928E4A181 562CC0E462 1788D79B50 A832650416 6DDB5E210C B15EE62F39 20FCC06094 46DABDC7FA EEC95EDD75 C3CC3F9FFC FCB923C117 CCEE1EBCF3 DA35F41A13 3AF8B786BA B159A2E568 86DD22ECE7 B4D4A6A310 1C86F9CD2D 6871EF4BF6 E2A6235434 670FDA88B5 DA2100A299 A4F3258CDD 12A6A8D940 F22D31D7DD 5EFCACFCD1 81E259A9B9 2B121D8588 A193FC57B5 C47E63EF38 83AABA274D 4C5396D980 ECBCCCDBA4 DF2F9292E4 269CDD0B93 6387ED095B 91AF06CA0A DA7F234CF3 63DF15F1C1 96C39AE284 5DB0976536 84C7F0EB23 40A5F117DF F062009531 FD2C1D0E57 6339E6E1DA 83B0CBFE5F 8F697306FF E8CDF9D442 D7ACA1B8BE 5FD99B44EA DC639FA55B A65880A069 F267A29344 7ED4A716E8 BDE2B991F1 4000000AB3 E1EC800896 318DD0CE7E 20E3171A8B 865E08D0
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
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.‌ 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,60
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
domain:s:
alternate shell:s:
shell working directory:s:
password 51:b:01000000D08C9DDF0115D
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
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/te rminal 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.
There is a GPO for remote desktop as well, to Store credentials. Ill need to find it....