1 2 Previous Next 19 Replies Latest reply on Feb 6, 2015 3:10 AM by greenm

    New Landesk User - PC not booting into sysprep process

    Apprentice

      Hi all,

       

      I am a new LANDESK user (currently in the trial), and I need a bit of help/advice regarding OS Provisioning.

       

      I have built a template which successfully deploys the image and inject's the unattended file but gets stuck on the Configure Target OS stage.

       

      After the image is deployed on the target PC and the unattended file is successfully injected, the PC reboots but the sysprep process does not kick in.  It just returns to the CTRL+ALT+DEL logon screen.

       

      Is there anything obvious I am doing wrong at this stage?

       

      Thanks all

        • 1. Re: New Landesk User - PC not booting into sysprep process
          Apprentice

          Ok, I think I was missing something obvious.  I had failed to launch sysprep on the PC before capturing the image.

           

          After recapturing the (syspreped) image I have got a bit further.  Now when my deploy template finishes the OS deployment phase and begins the sysprep stage it displays the "Setup is configuring your system for first use message", but then gets stuck on the administrator logon page and states that my password is incorrect.

           

          I have checked and double checked that the AdminPass variable is configured correctly as my local administrator account, but it keeps getting stuck on this phase.

          • 2. Re: New Landesk User - PC not booting into sysprep process
            Alex.Richardson SSMMVPGroup

            I would boot the client back into WinPE and manually verify your unattend.xml has the correct password being shown once written to the client. Below is the Audit section from my answer file with the required settings.

             

            <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                  <UserAccounts>

                    <AdministratorPassword>

                      <PlainText>true</PlainText>

                      <Value>%AdminPass%</Value>

                    </AdministratorPassword>

                  </UserAccounts>

                  <AutoLogon>

                    <Enabled>true</Enabled>

                    <Username>administrator</Username>

                    <Password>

                      <PlainText>true</PlainText>

                      <Value>%AdminPass%</Value>

                    </Password>

                    <LogonCount>1</LogonCount>

                  </AutoLogon>

                </component>

            • 3. Re: New Landesk User - PC not booting into sysprep process
              Apprentice

              Here is mine.  It looks identical:

               

              <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                    <UserAccounts>

                      <AdministratorPassword>

                        <PlainText>true</PlainText>

                        <Value>%AdminPass%</Value>

                      </AdministratorPassword>

                    </UserAccounts>

                    <AutoLogon>

                      <Enabled>true</Enabled>

                      <Username>Administrator</Username>

                      <Password>

                        <PlainText>true</PlainText>

                        <Value>%AdminPass%</Value>

                      </Password>

                      <LogonCount>1</LogonCount>

                    </AutoLogon>

                  </component>

               

              How would I manually verify the unattend.xml has the correct password as you describe?  I am not familiar with this process.

               

              Thanks

              • 4. Re: New Landesk User - PC not booting into sysprep process
                kesch Specialist

                Did you set up global variables or template variables for AdminPass?

                If there is no variable defined, the variable written in the unattaned will not be resolved.

                • 5. Re: New Landesk User - PC not booting into sysprep process
                  Apprentice

                  I have AdminPass configured as a 'public variable' (Type = sensitve data).  I have checked and double checked that this is the correct Local Administrator password and can confirm that it is.

                  • 6. Re: New Landesk User - PC not booting into sysprep process
                    Alex.Richardson SSMMVPGroup

                    If you boot the PC into WinPE then open a command prompt you can browse to where you injected the unattend file and open using notepad

                     

                    You can then see the variables have been replaced with the correct values which should help diagnose the problem

                    • 7. Re: New Landesk User - PC not booting into sysprep process
                      Apprentice

                      I don't think it is being copied.

                       

                      As part of the provisioning template (see attached) the file is injected to c:\unattend.xml

                       

                      However, although it says that it has succeeded when the template runs, I am not convinced that it is being copied.

                       

                      The system boots into reboots and loads Windows at the Configure Target OS stage (this is when I get the password problem) so I don't get a chance to check the system in the WinPE phase, but it is not there when the system boots into Windows.template.JPG

                      • 8. Re: New Landesk User - PC not booting into sysprep process
                        kesch Specialist

                        Do a wait action or make a template which stops there to debugging it. Then go to the specific folder and look the unattend up.

                        • 9. Re: New Landesk User - PC not booting into sysprep process
                          Apprentice

                          Allright i beleave  you are missing something essential here you can't put the Unattend in C:\ unless you specify sysprep process to look for unattended file here.

                          c:\windows\panther\unattend.XML

                           

                          REF:Methods for Running Windows Setup

                          The name of the answer file must be Unattend.xml or Autounattend.xml.

                          Note   Windows Setup only searches this directory on downlevel installations. If Windows Setup starts from Windows PE, the %WINDIR%\Panther\Unattend directory is not searched.

                          • 10. Re: New Landesk User - PC not booting into sysprep process
                            Apprentice

                            Ok, I will give that a try. 

                             

                            Its a bit annoying if that is the case as I downloaded a template from LANDesk which had c:\unattend.xml specified in it so presumed that this would be the correct location!

                             

                            I will let you know how I get on.....

                            • 11. Re: New Landesk User - PC not booting into sysprep process
                              Alex.Richardson SSMMVPGroup

                              Until v9.6 I always placed the unattend.xml in the root of the c drive and sysprep would use this without any extra command line parameters. In v9.6 the default template is now set to write directly to c:\windows\panther\unattend.XML but both locations does work.

                               

                              I believe the problem may be WinPE is assigning the c drive letter to the wrong partition so when your action to inject the unattend runs it works but the file is put in the wrong partition. Can you post you mount c action parameters?

                              One of the fixes in SP1 was to resolve this issue with the auto assign partition action which doesn't always work hence the mount command after this we had to put in.

                               

                              mount c.png

                              • 12. Re: New Landesk User - PC not booting into sysprep process
                                Apprentice

                                Hi,

                                 

                                Thanks for getting back to me.  I am having a bit of a nightmare with this!

                                 

                                So changing the location of the unattend file made no difference.

                                 

                                After speaking to a pre-sales contact at Landesk I decided to start fresh using two different templates (a basic template he sent me and also the template that is created when I use the deploy template wizard).  I also updated to 9.6 SP1.

                                 

                                Now I am getting a new error I have not seen before:

                                 

                                maptoprefferedhandler.JPG

                                 

                                This is appearing just as the image starts to deploy.

                                 

                                Below is my basic template.  Am I missing anything obvious?

                                 

                                template.JPG

                                 

                                Thank you

                                • 13. Re: New Landesk User - PC not booting into sysprep process
                                  Apprentice

                                  Arh if you updated to V 9.6 SP1 then u will have to redeploy your Prefered server(s). they updated the Boot.WIM on the prefered server

                                   

                                   

                                  Had the same problem when i tryed to upgrade

                                  • 14. Re: New Landesk User - PC not booting into sysprep process
                                    Apprentice

                                    Hi,

                                     

                                    Thanks for the quick reply.

                                     

                                    Do you mean update the PXE Representative (I have this on a separate server)?

                                     

                                    I just read this in another forum discussion and am currently in the process of upgrading.

                                    1 2 Previous Next