jfmartel Posted April 28, 2006 Share Posted April 28, 2006 Hello all!I'm having weirdo problem with the autologon.At Stage T-13 my cmdlines.txt import a registry file like this: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="RIS-Autologon""DefaultPassword"="mySuperDuperPassword""DefaultDomainName"="myDomain""ShowLogonOptions"=dword:00000001"AutoAdminLogon"="1"Sif File:[GuiUnattended] AdminPassword=someEncryptedPassword EncryptedAdminPassword=Yes OEMSkipRegional=1 TimeZone=%TIMEZONE% OemSkipWelcome=1[UserData] ProductID=I WONT TELL FullName="LocalAdmin" OrgName=%SERVERDOMAIN% ComputerName=%MACHINENAME%[Identification] JoinDomain=%MACHINEDOMAIN% DoOldStyleDomainJoin=YesWhen windows setup has finished, Autologon fails. The username and password are filled with the right value, but the domain field is filled with the computer name. The computer is in the domain, all drivers are installed correctly.It seems like Im having this problem only in the new computer wich never joined the domain before. Link to comment Share on other sites More sharing options...
Fencer128 Posted April 28, 2006 Share Posted April 28, 2006 Hi,This isn't much help, but all of our PCs default to the local computer instead of a domain after build has completed. So it may be standard behaviour.Can I ask - do you need to log on with credentials other than local Admin? If not, then you can do the logon through the SIF file only (as we do).Cheers,Andy Link to comment Share on other sites More sharing options...
Br4tt3 Posted May 2, 2006 Share Posted May 2, 2006 Try moving the command & import from cmdlines.txt to GuiRunOnce section if possible....Best RegardsTha Sausage Eater... Link to comment Share on other sites More sharing options...
jfmartel Posted May 2, 2006 Author Share Posted May 2, 2006 I am loggin on the domain with an autologon to get script I store on network.Ill try the GuiRunOnce today.Thanks Link to comment Share on other sites More sharing options...
RogueSpear Posted May 2, 2006 Share Posted May 2, 2006 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="RIS-Autologon""DefaultPassword"="mySuperDuperPassword""AltDefaultDomainName"="myDomain""DefaultDomainName"="myDomain""ShowLogonOptions"=dword:00000001"AutoAdminLogon"="1"In my experience adding the entry AltDefaultDomainName clears up autologon issues. Link to comment Share on other sites More sharing options...
jfmartel Posted May 25, 2006 Author Share Posted May 25, 2006 So far so good! Thanks for the tips! Link to comment Share on other sites More sharing options...
omniwolf Posted May 4, 2007 Share Posted May 4, 2007 (edited) hey guys,sorry to bring up an old topic, but this is exactly the problem I'm having.i launch a reg file from the cmdlines.txt which has this:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="s_nicholasf""DefaultDomainName"="CORP""LegalNoticeCaption"=-"LegalNoticeText"=-"AutoAdminLogon"="1""DefaultPassword"="myPwd""AutoLogonCount"=dword:000003e4"AltDefaultUserName"="s_nicholasf""AltDefaultDomainName"="CORP""AltDefaultPassword"="myPwd""ForceAutoLogon"="1"and the same thing happens as above - the first time it tries to login it fails at the login screen because the logon domain is set to the local PC, not to my "CORP".As you can see i already have the altdefaultdomainname set (on a side note, does anyone find that funny? alternate default domain name? oxymoron anyone?), and i can't see how putting it in GuiRunOnce would be of any benefit?? GuiRunOnce is only exectuted AFTER the first login.. which i can't seem to kick off!just for kicks, here's the relevent section of my unattend.txt file:[GuiUnattended]; Arguments= ; Used with Detached programs to provide arguments OEMSkipRegional=1 ; Indicates Regional info GUI to be skipped in setup; EncryptedAdminPassword=No ; For OEMs allows use of hashpwd.exe cannot be used with autologon TimeZone="255" ; Sets Timezone 010=Mountain OemSkipWelcome=1 ; Used to skip welcome screens in GUI setup; ProfilesDir="" ; Allows to change default location of profiles; AutoLogon="Yes" ; Indicates that system should autologon after reboot; AutoLogonCount=999 ; Number of times to auto logon; DetachedProgram="" ; Specifies programs to run concurrently with Setup AdminPassword="blahblah"as you can see i've commented out most of the entries as my reg file should cover it all i would say.. another thing, i tried:"DefaultUserName"="corp\s_nicholasf"but whnever i did that, it seemed to completely ignore the s_nicholasf username and just try and login with the administrator username (however! it was trying to logon to the domain using this method.. just the wrong username! nooo!!)so another dead-end there.thanks for any replies!ps i just noticed this topic is in the RIS forum, my install isn't RIS at all, but that shouldn't matter at this point. Edited May 4, 2007 by omniwolf Link to comment Share on other sites More sharing options...
omniwolf Posted May 8, 2007 Share Posted May 8, 2007 (edited) thanks for all the replies! for anyone else having this issue, i seemed to solve it by using this reg file..Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="s_nicholasf""DefaultDomainName"="CORP""LegalNoticeCaption"=-"LegalNoticeText"=-"AutoAdminLogon"="1""DefaultPassword"="blah""AutoLogonCount"=dword:000003e4"AltDefaultUserName"="s_nicholasf""AltDefaultDomainName"="CORP""AltDefaultPassword"="blah""ForceAutoLogon"="1""CachePrimaryDomain"="CORP""DisableCAD"=dword:00000001[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]"legalnoticecaption"=-"legalnoticetext"=-"disablecad"=dword:00000001it seems "CachePrimaryDomain"="CORP""DisableCAD"=dword:00000001probably solved it.. what a strange issue. Edited May 8, 2007 by omniwolf Link to comment Share on other sites More sharing options...
jfmartel Posted June 4, 2007 Author Share Posted June 4, 2007 Got surprised to see one of my old topic back.On some PCs I still have the problem. Some IBM R60 will have the problem, while other R60 don't.Rebooting the computer, will however resolve the issue 100% of time.Hope this help. Link to comment Share on other sites More sharing options...
omniwolf Posted July 30, 2007 Share Posted July 30, 2007 yeah, very occasionally this will happen to me too.. but a reboot seems to fix it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now