Re: Storing Username/Password problem



Eric has already pointed you to the autologon setting:

To enable this, go to Terminal Services Configureation, then
double click the RDP-Tcp connection and look at the Logon
Settings tab. There you can set the option "Always use the
following logon information" and give the account
information there. This should allow all users in your
network to connect without a password.

Make sure that you also uncheck the "Always prompt for password"
checkbox.

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

=?Utf-8?B?S2VuIE1vbnRnb21lcnk=?=
<KenMontgomery@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote on 18 okt 2006 in
microsoft.public.windows.terminal_services:

Ok, I'll try the autologon, though I honestly don't know where
to find it, I'll figure it out... thanks for the advice and
help...

"Eric Holk [MSFT]" wrote:

That I know of, autologon is not connected to security groups
or organizational units at all. It's set on a per-server
basis, so that any incoming RDP connection to that server is
logged on with the credentials specified in Terminal Services
Configuration.

Let me make sure I'm understanding your scenario well enough.
You have a terminal server and then several client machines.
Do you want each user to have their own account on the server,
or do you want all of your users to share an account?

If all the terminal server users are supposed to share a single
account on the server, you can do this with autologon, although
it may not be secure enough for you since anyone who is able to
see your server on the network will also be able to log on to
it.

If each user needs to connect to the server with their own
account, I think the best you can do is have them type their
password the first time they log in, and then save this for
future use. If you want them just to log in to the client
machine and have their password automatically saved in the RDP
file, I don't think this is possible. The users will have to
type their password at least once.

--
Eric Holk
Terminal Services Developer

This posting is provided "AS IS" with no warranties, and
confers no rights.

"Ken Montgomery" <KenMontgomery@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message
news:CE5C9A3B-B195-4995-B7AA-42A1ECF42D3D@xxxxxxxxxxxxxxxx
Is it possible to do those auto-logons by Security group, not
by organizational unit?



"Eric Holk [MSFT]" wrote:

Ok. I know in Remote Desktop Connection 6 that will ship
with Vista, passwords are no longer stored in the RD file,
but instead in a more secure
password store somewhere else. It doesn't sound like you
are using this client though, so this is probably not the
problem.

You asked "how can I get it to save that information as a
default for all users on a PC, regardless of whether they
have logged on before or not?" Does this mean once the user
logs on for the first time, the password is saved?

As I understand it, passwords in the RDP file are encrypted
based on something tied to the local user's account. This
is for security, to keep
someone from using your RDP file and being able to log into
a Terminal Server using your credentials. This means what
you are trying to do is not
possible.

If you are on a private network, you can use the autologon
feature. To enable this, go to Terminal Services
Configureation, then double click the
RDP-Tcp connection and look at the Logon Settings tab.
There you can set the option "Always use the following logon
information" and give the account
information there. This should allow all users in your
network to connect
without a password.

--
Eric Holk
Terminal Services Developer

This posting is provided "AS IS" with no warranties, and
confers no rights.

"Ken Montgomery" <KenMontgomery@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message
news:52070795-747E-4B14-AE4B-A6658DC82C73@xxxxxxxxxxxxxxxx
Sorry, should have mentioned that... Windows Server 2000
Terminal Server,
Clients are all Windows XP Professional.

"Eric Holk [MSFT]" wrote:

Are all of your desktops using the same version of Remote
Desktop Connection? What server are you running?

--
Eric Holk
Terminal Services Developer

This posting is provided "AS IS" with no warranties, and
confers no rights.

"Ken Montgomery"
<KenMontgomery@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:ED107DFC-2F64-4F5C-B59F-99008C1C57EE@xxxxxxxxxxxxxxxx
Hi Everyone,

We run an application through Terminal Services using
RDP to connect on
multiple desktops. On most, when you go into Remote
Desktop Connection,
use
the Options button and build a connection 'profile' and
save it to the
desktop, it saves the username/password/domain
successfully and works
fine.
On some though it doesn't save that information, which
causes confusion
for
passwords for my users... how can I get it to save that
information as
a
default for all users on a PC, regardless of whether
they have logged
on
before or not.

I have tried creating the 'profile' onto the All
Users/Desktop and to
Default User/dekstop, but each time they log on it
prompts them for WIndows
username/password/domain. I also tried creating the
.rdp file in Notepad/Editor and pushing to the desktop,
still no save of password...
though that does save the username and domain. I have
searched the registry
but found no key specific to that conneciton to enter
the password in...

I really need this to work quickly... any thoughts?

Thanks,
Ken
.