Automatic login on Window 7

Is it possible to automatically login a domain account on a workstation granted on a window domain ?

Tks
AXISHKAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
I am not certain about third party offerings, but out of the box, Windows 7 needs a user name and password. That cannot be automated with native Windows 7.

I would view it as a very high security risk as well.

... Thinkpads_User
AXISHKAuthor Commented:
Yes, there is a workstation that has been configured with automatic domain login but I can't figure out how to make it work. There is no 3rd party software installed.

Tks
MiftaulCommented:
Mr Google says, automatic domain logon can be enabled using registry edit. Wondering why on earth, we enable this for a domain account !!

The link is - Here
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

miworksITCommented:
I ran into the same issue when upgrading to Windows 7 a few years ago. In XP, I always used the tweakui utility. However, that no longer works in Windows 7.

As a work around (as we have 'public' computers), I created a registry file used to import into the registry.

Approximate directions below. May need to do some tweaking based on your specific environment, but it should get you started.

Navigate to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

Export the key. Then, edit it.
Change "AutoAdminLogon"="0"   to 1

Add the following lines (if they don't already exist) underneath the AutoAdminLogon:
"DefaultPassword"="clientpassword"
"DefaultUserName"="clientusername"
"DefaultDomainName"="DOMAIN"

Change the " " areas to match your username, password, and domain.

Save As (to keep a backup just in case). Then just double click to execute/import.

Note, that it does store the credentials in plain text, so it is not secure. However, if it is something you give out publicly anyway, shouldn't be too much of a risk.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
That registry hack is a bad way to do it, because the password is in plain text.
We can use the same feature as with TweakUI, with password contained in the local SAM (and hence encrypted), by applying AutoLogin from www.sysinternals.com ( http://technet.microsoft.com/en-us/sysinternals/bb963905 ). It doesn't require to be installed (another pro), but does not allow to display the password or whether AutoAdminLogon is already enabled.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dragonjimCommented:
As these are public computers, I'm presuming it doesn't matter if the password gets out... The autologin is removed from Advanced screen in users menu for domain computers in Windows 7.

For public lab computers, general user account - I'd say registry hack, if the passwords are not sensative, as above is your best bet...

Honestly, for my public use machines under XP; the restricted account username / password were posted on the monitors anyway, and the user name auto-populated - should someone simply "log off" rather than restart.

For any non-public machines, I'd avoid that trick.  Qlemo is correct and TweakUI has always been a great utility, I'd be more included to use this for our front desk staff computers, with a shared domain log-in.

If those public computers share common passwords with machines you do not wish to see a password get out.... use TweakUI.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
I have several issues with your post, dragonjim.

Firstly, noone mentioned those are "public computers", so I don't know how it comes to your first sentence.

TweakUI doesn't work anmore on W7, hence I recommended AutoLogin. There is no reason NOT to use it - with one exception, which is automated setup. But that wasn't available with TweakUI either.
dragonjimCommented:
Oops.... picked up the IT post above for public.
Haven't tried TweakUI with 7 yet; everything I've had to use was good with registry.
AXISHKAuthor Commented:
Tks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.