Jump to content

Another weirdo autologon problem


Recommended Posts

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=Yes

When 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


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

[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

  • 4 weeks later...
  • 11 months later...

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 by omniwolf
Link to comment
Share on other sites

thanks for all the replies! :P

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:00000001

it seems

"CachePrimaryDomain"="CORP"

"DisableCAD"=dword:00000001

probably solved it.. what a strange issue.

Edited by omniwolf
Link to comment
Share on other sites

  • 4 weeks later...

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

  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...