April 28, 200620 yr 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.
April 28, 200620 yr 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
May 2, 200620 yr Try moving the command & import from cmdlines.txt to GuiRunOnce section if possible....Best RegardsTha Sausage Eater...
May 2, 200620 yr Author I am loggin on the domain with an autologon to get script I store on network.Ill try the GuiRunOnce today.Thanks
May 2, 200620 yr [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.
May 4, 200719 yr 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, 200719 yr by omniwolf
May 8, 200719 yr 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, 200719 yr by omniwolf
June 4, 200719 yr Author 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.
July 30, 200719 yr yeah, very occasionally this will happen to me too.. but a reboot seems to fix it.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now