Automatic login on Window 7

Posted on 2013-12-30
Medium Priority
Last Modified: 2014-01-01
Is it possible to automatically login a domain account on a workstation granted on a window domain ?

Question by:AXISHK
  • 2
  • 2
  • 2
  • +3
LVL 101

Expert Comment

by:John Hurst
ID: 39746051
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

Author Comment

ID: 39746066
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.

LVL 11

Expert Comment

ID: 39746121
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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Assisted Solution

miworksIT earned 1000 total points
ID: 39746135
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:

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.
LVL 72

Accepted Solution

Qlemo earned 1000 total points
ID: 39746177
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.
LVL 10

Expert Comment

ID: 39746352
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.
LVL 72

Expert Comment

ID: 39746427
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.
LVL 10

Expert Comment

ID: 39746538
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.

Author Closing Comment

ID: 39749639

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In a question here at Experts Exchange, a member was looking for "a little app that would allow sound to be turned OFF and ON by simply clicking on an icon in the system tray". This article shows how to achieve that, as well as providing the same OF…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question