Link to home
Start Free TrialLog in
Avatar of dbonis77
dbonis77

asked on

Windows 7 login does not stay on domain

Here's a better explaination:

I have a win 7 workstation (that has the Local Administrator Enabled)  I have joined it to a domain.  The login box defaults to my domain (shows it under the login boxes.  However, when I start typing in "administrator"  (which I want to be the Domain admin)  the login switches back to the machine name.  Thus to login to the domain, I have to enter Domain\Administrator

The point being, I want it to stay logging into the domain.  In any previous windows version, once you choose your domain login, it stays.  Windows 7 seems to be defaulting back to the machine, if an ID with the same name resides locally as well.

Any thoughts or answers as to have it be locked on the domain (or whichever) once I start logging in and not swap back?
Avatar of AncientFrib
AncientFrib
Flag of United States of America image

I have the same problem with my Windows 7 workstations.  Although there may be a way around it I am not aware of one.  Have you considered renaming your local administrator account?  Something like "localadmin"?
Avatar of KieranFoot
KieranFoot

You need to set the default login domain using the Group Policy Editor tool.
Run: gpedit.msc from a command line to access this tool.

Im just finding the location of this entry for you.
Its in:

Computer Configuration, Administrative Templates, System, Logon

The Setting is:

Assign a default domain for logon
    Hi there dbonis77,,,,

Do you have the same problem when attempting to access the domain with any other user a part from the Local Administrator ?????

If you dont have it  I recommend you to create a new local user and add it to the administrators group then disable the local Administrator , try and see if you get the same problem
http://windows7news.com/2009/01/30/windows-7-uac-security-flaw/

By the way what edition of win7 do you have .???

Best Wishes
akhafaf, this problem is with all editions of windows 7 and accurs any time you attempt to logon to a domain with an account that also exists on the local system. The logon app (by default) prefers the logon of local users to domain ones and changing the stated setting will correct this.
Avatar of dbonis77

ASKER

Does anyone know if this is something that can be configure in a SysPrep answer file?
Im sorry, I have no idea, I know you can joing a domain using sysprep, but im not sure about setting GP settings.
regardless about Sysprep, and going back to the real issue.  Is there a way to pick the domain on the fly without having to key in the full domain\username?  Ie:  as the drop down box in XP and prior?
Can you add registry entries using the sysprep tool?

If so, add this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"DefaultLogonDomain"="test-domain"
As far as I know, there is no way to get a dropdown list of domain on windows 7
ASKER CERTIFIED SOLUTION
Avatar of Todd Gerbert
Todd Gerbert
Flag of United States of America 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
To my knowledge, after testing and perusing documentation, http:#a26138916 is correct.