MSFN Forum: Another weirdo autologon problem - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Another weirdo autologon problem Rate Topic: -----

#1 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 28 April 2006 - 06:45 AM

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.


#2 User is offline   Fencer128 

  • Fluffy
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 05-January 05

Posted 28 April 2006 - 07:11 AM

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

#3 User is offline   Br4tt3 

  • World famous sausage eater...
  • PipPipPipPip
  • Group: Members
  • Posts: 566
  • Joined: 20-April 04

Posted 02 May 2006 - 02:16 AM

Try moving the command & import from cmdlines.txt to GuiRunOnce section if possible....

Best Regards
Tha Sausage Eater...

#4 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 02 May 2006 - 06:03 AM

I am loggin on the domain with an autologon to get script I store on network.

Ill try the GuiRunOnce today.

Thanks

#5 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 02 May 2006 - 07:46 AM

[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.

#6 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 25 May 2006 - 08:26 AM

So far so good! Thanks for the tips!

#7 User is offline   omniwolf 

  • ta'veren
  • Group: Members
  • Posts: 21
  • Joined: 04-May 07

Posted 04 May 2007 - 01:24 AM

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.

This post has been edited by omniwolf: 04 May 2007 - 01:33 AM


#8 User is offline   omniwolf 

  • ta'veren
  • Group: Members
  • Posts: 21
  • Joined: 04-May 07

Posted 07 May 2007 - 08:16 PM

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.

This post has been edited by omniwolf: 07 May 2007 - 11:23 PM


#9 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 04 June 2007 - 07:48 AM

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.

#10 User is offline   omniwolf 

  • ta'veren
  • Group: Members
  • Posts: 21
  • Joined: 04-May 07

Posted 30 July 2007 - 01:05 AM

yeah, very occasionally this will happen to me too.. but a reboot seems to fix it.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy