Solved

AutoAdminLogon

Posted on 2004-10-13
7
935 Views
Last Modified: 2007-12-19
Here's the situation.....

We are running an automated Windows XP build based on an Unattend.txt script.
The regisrty is poked at the end of the installation to run a .cmd file following the windows installation.
The system logs on automatically (autoadminlogoncount) and starts the cmd file as expected.
Amongst other things the cmd file:

Joins the PC to the domain
Sets the default username, password and autoadminlogon registry keys in the winlogon folder of the registry before restarti

At time of reboot these values are definitely still set in the registry. However when the PC restarts (to automatically logon and run a further cmd file the machine has reset the default domain to the the local PC name.

I have an idea that this is something to do with the PC building the domain list for the first time after joining the domain.

Any ideas either why it doesn't work or how to make it automatically log on for the first time after joining the domain.


0
Comment
Question by:johndawsonbooth
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 4

Expert Comment

by:internetsavant
ID: 12299752
if i'm reading what you're wanting correctly, you don't like the fact that even after the computer has been joined to the domain via your custom script, the Logon field still defaults to the local machine instead of the newly added domain???

if so, the computer name being the default logon value after rebooting is completely normal UNLESS you've specified it to be something different in the registry.  do you have DefaultDomainName key set in your script?  If not, follow this link which may help you in your endeavor:

http://www.winguides.com/registry/display.php/13/

0
 

Author Comment

by:johndawsonbooth
ID: 12299835
yes - sorry, alonhgside all the other registry settins the defaultdomainname is set prior to the reboot. Just before the reboot this value is set correctly.
0
 
LVL 4

Expert Comment

by:internetsavant
ID: 12300459
screen shot this entry after logon... also, do you have this set??

For Windows 2000 the additional ForceAutoLogon setting must be enabled to stop the tweak from resetting on reboot.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 3

Accepted Solution

by:
eveljkov earned 300 total points
ID: 12310007
xp seems to need the forceautologon too.  Here's my autologin file

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"ForceAutoLogon"="1"
"DefaultUserName"="Student"
"DefaultDomainName"="domain"
"AutoAdminLogon"="1"
"DefaultPassword"="password"
0
 

Author Comment

by:johndawsonbooth
ID: 12336840
thanks for thyose suggestions - I am back in our office tomorrow (Tues) & will test then....
0
 

Author Comment

by:johndawsonbooth
ID: 12412616
I would say as well that an alternative is to set the default user to be user@domain. The default domain is then ignored.....
0
 
LVL 4

Expert Comment

by:internetsavant
ID: 12412634
My answer said exactly what eveljkov said and I gave it to you a day before he did...
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

623 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