TS does not auto logon to finish the sequence (Full Version)

All Forums >> [Management Products] >> Operating System Deployment



Message


jagustin -> TS does not auto logon to finish the sequence (5/8/2008 5:06:58 PM)

When I sysprep my "gold" image I use a sysprep.inf that tells it to auto logon with the local administrator in order to finish the task sequence.

Despite this, after deploying an image, the machine sits at the Ctrl+Alt+Del screen. Once I log into the machine with the local administrator account (with the same password as specified in the sysprep.inf & unattend.txt) it continues the TS and finishes with no errors or warnings (which deletes my logs).

Has anyone come across something like this before? 

Here is what my sysprep.inf/unattend.txt look like:
_____________________________________

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   Repartition=Yes
   UnattendedSwitch="Yes"
   TargetPath=\WINDOWS

[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="010"                ; 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="**Password Removed**"






greatbarrier86 -> RE: TS does not auto logon to finish the sequence (5/9/2008 8:57:10 PM)

This happened to me once. It turned out that the password found in the MININT folder was different than my password at the time.  I had changed it and forgot to delete the MININT folder. Could this be your problem?




sounddoc -> RE: TS does not auto logon to finish the sequence (5/14/2008 4:24:48 PM)

Not sure if this applies, but I was using custom wims in my image creation, and I found that after the reboot the machine autologged in, but the task sequence didn't continue. Getting rid of the remaining sysprep.inf in the c:\sysprep folder on the wim stopped the issue. However, now i'm using a task sequence to create a gold image so it's a moot point. anyway, sorry if this doesn't help, but it's something to look at.




jagustin -> RE: TS does not auto logon to finish the sequence (5/23/2008 4:11:47 PM)

Hey guys,

Thanks for the input. I thought at first it was an incorrect password, but all the sysprep and unattend files have the correct password and there are nothing in the BDD or EventViewer logs to show a failed attempt to login.

I took a look at the logs again, and here's a little more information from the log files.

<![LOG[No value found for AutoLogon]LOG]!><time="11:10:46.000+000" date="05-23-2008" component="ZTIConfigure" context="" type="1" thread="" file="ZTIConfigure">
<![LOG[No value found for AutoLogonCount]LOG]!><time="11:10:46.000+000" date="05-23-2008" component="ZTIConfigure" context="" type="1" thread="" file="ZTIConfigure">
<![LOG[<Message containing password has been suppressed>]LOG]!><time="11:10:46.000+000" date="05-23-2008" component="ZTIConfigure" context="" type="1" thread="" file="ZTIConfigure">

 
No value found, yet I've put it in all the places I could find. I've taken a look at how ZTIConfigure.wf works and it's logic is: If not sysprep file is found then set the autologon and autologoncount entries to blank/zero.  I wonder if this is happening before it even gets a chance to login a first time.

Any ideas?

Joel




jagustin -> RE: TS does not auto logon to finish the sequence (5/23/2008 6:00:40 PM)

Was thinking of something.

I'm taking a look at more logs with Trace32.exe  (soo much easier than wading through the logs). Anyways, everything is executing correctly and returning errorcodes 0. My request... can someone post their logs of a machine that successfully auto logs in? I want to see if something is missing from my logs that should be there.

Thanks,
Joel




sounddoc -> RE: TS does not auto logon to finish the sequence (5/27/2008 10:01:38 AM)

Sorry man, I don't think that's the cause of it. Here's a snippet of my log files from a machine that autologs on and completes successfully;

<![LOG[Updated C:\sysprep\Sysprep.inf section [GuiUnattended] with TimeZone=035 (value was 010)]LOG]!><time="17:02:33.000+000" date="05-20-2008" component="ZTIConfigure" context="" type="1" thread="" file="ZTIConfigure">
<![LOG[Updated C:\MININT\unattend.txt section [GuiUnattended] with TimeZone=035 (value was "010"                ; Sets Timezone 010=Mountain)]LOG]!><time="17:02:33.000+000" date="05-20-2008" component="ZTIConfigure" context="" type="1" thread="" file="ZTIConfigure">
<![LOG[No value found for AutoLogon]LOG]!><time="17:02:33.000+000" date="05-20-2008" component="ZTIConfigure" context="" type="1" thread="" file="ZTIConfigure">
<![LOG[No value found for AutoLogonCount]LOG]!><time="17:02:33.000+000" date="05-20-2008" component="ZTIConfigure" context="" type="1" thread="" file="ZTIConfigure">
<![LOG[<Message containing password has been suppressed>]LOG]!><time="17:02:33.000+000" date="05-20-2008" component="ZTIConfigure" context="" type="1" thread="" file="ZTIConfigure">
<![LOG[Updated C:\sysprep\Sysprep.inf section [Display] with BitsPerPel=32 (value was 32)]LOG]!><time="17:02:33.000+000" date="05-20-2008" component="ZTIConfigure" context="" type="1" thread="" file="ZTIConfigure">


The weird thing is that I can't find the phrase "No value found for AutoLogon" in any of the ZTI scripts...

Are you building your gold image yourself, or do you have a task sequence doing it? I made the mistake of trying to build my own image, and then capturing it by calling imagex directly from PE. I had a lot of problems with things not being cleaned up, drivers ending up on machines that shouldn't have them, you get the idea.

I guess i'm unsure of what you're trying to do from your first message. If you're sysprepping your gold image, then this should be the last part of the build - i.e. sysprepping so it can be deployed to another piece of hardware. If you want a task sequence to continue after the image is deployed to a machine, then using a standard / generic task sequence in BDD/MDT will do this for you automatically - just select your custom wim to be the operating system to be installed. I wouldn't reccommend making a system like this though - I ended up switching to using one task sequence to build a gold image, and another to deploy it. I'm able to use a single image this way on 8 or so different models and 2 HALs. (bloody t42s won't cooperate [:@]) This is how Ben Hunter does it, so there must be some benefit :)




jagustin -> RE: TS does not auto logon to finish the sequence (5/27/2008 6:17:33 PM)

Hey SoundDoc,

Thanks for the reply. You are right in your assumptions. I had originally created a very basic - no customizations/apps - windows XP image using a default TS and the original Windows XP source files. From there I created another local admin account, tweaked settings and installed our basic environment applications, copied that profile over "Default User," then sysprepped, booted to PE, and used imagex to capture the image.
I added that custom wim image to MDT and now use that as the base image. I guess you could consider that my gold image.
Now when I want to deploy that image I have another TS pointing to that custom.wim and have added a few more applications.

The reason I did all my customizations (desktop icons, overall look and feel) was because it was a heck of a lot faster to do it that way than to find reg/scripts to configure the things automatically.

It's weird, I am successful in deploying this image to most of our different models - desktop & laptop - (IBM environment) it just doesn't log in.

I will try creating another build from original source files and see if that logs in.

Joel




dmartin561 -> RE: TS does not auto logon to finish the sequence (6/10/2008 10:06:56 AM)

it will actually copy your sysprep and then REWRITE the sections you've reconfigured. So regardless of what you've entered into them, it will remove them.  Autologon is set by default, but if you changed your password somewhere it'll cause this.

are you using a database backend? Make sure the password you set in your *BASE* build (not in your sysprep file, the one you set before you captured the image) - and the password in your database are a match.  If you change it, it'll rewrite your sysprep password to the new one, and cause this problem.  Theres likely easy ways around this, but i personally don't have much need to explore them




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.3280029