Link to home
Start Free TrialLog in
Avatar of Bhaskar CP
Bhaskar CPFlag for India

asked on

Auto Login - Windows server 2003

Hi there,

We have some servers i'd like to auto-login - though most of what they do
runs as a service, some legacy desktop applications point blank refuse to
play nicely and must be run under a domain account. As the servers are on a
domain, the control userpasswords2 method of auto-logon will not work (the
options do not appear on a domain machine). TweakUI would be overkill and a
pain to roll out, so the registry is our only option.

If we were to restrict the Winlogon key in the registry to the local admins
group via ACL, what's the worst that could happen? (Please bear in mind that
the only people who ever access this server do it via a local intranet site
over the anonymous IUSR account, and people in the local admins group).
Thanks!
Avatar of spamster
spamster
Flag of United States of America image

So the question is, what's the worst that could happen if you had your server's auto-login? As long as they're physically secured, I don't think you should run into any problems. I'm setting it up on a test VM right now, cause I'm curious...
Hello,

I think the real problem is the (encrypted) stored password. Somebody can copy these information from the registry to copy it to an other machine to gain admin access or the brute force to calc the password (with a current gpu it takes "only" 8 days).

But to gain access to the registry the attacker needs allready more rights than a normal user have.

Stefan
Avatar of Bhaskar CP

ASKER

To put it in a diff way is that...
  How do i go about autologin other than this above method on a server 2003 on a domain

http://support.microsoft.com/default.aspx?scid=kb;[LN];324737
or if the above KB can still be used then how do i go about modifying permissions so that i dont give permissions for users who login to server to read that password.
  Remember it can be a Remote login session that the user might be on and reading this information on registry.
I am not worried about the attacker from inside network. AS long as i am not storing password in clear text i am good. how do i go about it?
Hello,

tweak ui for windows 2003 server should store the password encrypted in
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon"

If not you may have a look at http://msdn.microsoft.com/en-us/library/aa378826.aspx

Stefan
Thanks a lot stefan. ofcourse i cannot use the winlogon in registry as it stores in clear text and we would be caught on auditing.
  Eventhough i was able to understand that the second part is about securing password i was unable to understand how i will be able to use that code available.
  btw... the server is in a domain.
Hello,

not so complicated. Tweak UI 2003 Server does store the password encrpyted.
But please try it and have a look in "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon" to be sure if the password is real encrypted.

The link show the routines to write a programm to store an encrypted password by yourself.
If you can write such a program, you can set the local stored password through the network in one step.
If not you need your feet :-)

Stefan
I have a very minimal knowledge on vb 2008.
  But then if i write a program will it run as a service? I cant seem to understand a code.. is it kind of shell scripting? How do i integrate in a program.
  Though TweakUI is not harmful my client is harmful. So i was checking if there is a different way of encrypting the password.  Thanks a lot for the code but i am not sure how do i go about using it.
Apologies for the ignorance.. See if you can point me in any right direction to use the code/ a different idea.
   
 
Any other way to keep the password encrypted other than tweakui. The Tweakui powertoy installation on server will not be permitted by our client.
we have a domain policy where we have the policy configured for "interactive message" like welcome to... and stuff. we have few servers also under the ou's and we need to prevent just the interactive message policy from getting applied for a single ou alone
and we cannot block the domain policy as there are several other policies configured in the domain policy

-?
ASKER CERTIFIED SOLUTION
Avatar of dkumar82
dkumar82
Flag of India 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
This really helps.