14 Replies Latest reply on Dec 7, 2012 8:36 AM by payjota

    Windows 7 32 bit and 64 bit HII process

    Rookie

      We currently in process of moving some of our computers over to Windows 7 from XP.  Some of the people "need" to have Win7-32.  For the most part everything works fine.  I have two Windows 7 images in the PXE menu to choose from and I have added the 32 bit and 64 bit drivers into the driver library.  However, on certain models, say the Latitude E5500 and ProBook 6560p, I get some weird errors.

       

      On the ProBook if I have the 32 bit and 64 bit drivers associated in the manage drivers area I get an error message:

       

      Windows could not parse or process the unattend answer file [C:\unattend.xml].  (or sometimes C:\Windows\System32\Sysprep\Panther\)
      The answer file is invalid. The error was detected on line # column # of the answer file. (Line and column numbers change).

       

      When I remove all the 32 driver associations it will work fine with 64 bit and vice versa.

       

      On the Latitude I get an error message that the computer restarted because on an error message during the Windows setup then you click OK and it reboots again.  Remove the 32 bit drivers and it works fine.

       

      So, I think the problem is when I have 32 bit and 64 bit drivers associated with one model.  How does HII handle the different drivers?  Has anybody else had this problem?

        • 1. Re: Windows 7 32 bit and 64 bit HII process
          Apprentice

          I have this problem currently with my Windows 7 64bit HII image. I have no 32bit drivers associated with the image either. I have called LANDesk's support about this and it seems no one there has any idea how to fix this issue. I've been trying to figure out a work around for a couple months now.

           

          The problem occurs somewhere during the image process. When you create the image, there shouldn't be an unattend.xml in C:\Windows\Panther or anywhere else. When LANDesk pulls the unattend file that it creates during the script, it places it in C:\unattend.xml

           

          For some reason, a rouge unattend.xml file gets created in C:\Windows\Panther, and sysprep chooses to use that file instead of the one in C:\. I have no idea where this file comes from or how to remove it.

          • 2. Re: Windows 7 32 bit and 64 bit HII process
            EMiranda Expert

            Tom Reeb wrote:

            For some reason, a rouge unattend.xml file gets created in C:\Windows\Panther, and sysprep chooses to use that file instead of the one in C:\. I have no idea where this file comes from or how to remove it.

             

            I dont have any answers to your actual problem, but I would like to chime in on the C:\Windows\Panther.

             

            The unattend.xml file that is placed there is the one that the actual Sysprep process uses during the actual process when it is booted up.  The file is placed there when the /oobe switch is ran and is usually processed and created automatically from the C:\windows\system32\sysprep\unattend.xml file unless it is specificed otherwise with the /unattend:C:\unattend.xml switch.

             

            If you guys are having problems with just LANDesk messing up the unattend.xml files during the HII process, you can always have a repository of the "correct" unattend.xml's and copy them over after the image is laid down to C:\Windows\Panther and override what is there and that unattend.xml will be processed.

            • 3. Re: Windows 7 32 bit and 64 bit HII process
              Apprentice

              I wonder then... Would placing a working unattend.xml in C:\Windows\system32\sysprep make this work?

              • 4. Re: Windows 7 32 bit and 64 bit HII process
                EMiranda Expert

                Tom Reeb wrote:

                 

                I wonder then... Would placing a working unattend.xml in C:\Windows\system32\sysprep make this work?

                 

                 

                You would have to place it before LANDesk runs the /oobe command, which im not sure when that is. (I Dont use LANDesk HII process) but i believe it should be one of the Synchronous commands in sysprep.

                 

                do you capture your image with /audit or /oobe /generalize?

                • 5. Re: Windows 7 32 bit and 64 bit HII process
                  Apprentice

                  I capture the image in audit mode.

                   

                  I took the unattend.xml that landesk creates, modified it (eseentially replaced the x86 stuff with amd64 stuff), and have it copied to c:\windows\panther after the image is deployed, but before the machine reboots.

                   

                  I've tried everything I can think of, but for the life of me I still can not get this to work. I may call landesk support again. Thanks for your help and I appreciate any other advice you can give.

                   

                  Also, I'm sorry for the thread hijack but we are working to fix the same issue.

                  • 6. Re: Windows 7 32 bit and 64 bit HII process
                    Rookie

                    Just chiming in to say I'm seeing the same issue as well. I haven't found a solution or workaround.

                    • 7. Re: Windows 7 32 bit and 64 bit HII process
                      Rookie

                      not really a solution, but an alternative way.

                      I use HII only for the neccessary drivers(only network and storage). The other driver will install after Windows 7 (32 or 64) is complete installed. I use the Tool  "DPinst.exe" from the WDK( or SDK - I not sure). I wrote a C# execute file (you can also use wsf or vbs) with WMI-Querys for model and OS to use the correct path on my "drivers storage(is simple a folder structure on a file-server). With different parameters you can use "DPinst.exe" for installing the driver do you need and complete silently.

                       

                       

                      path.png

                      • 8. Re: Windows 7 32 bit and 64 bit HII process
                        EMiranda Expert

                        thomas.wallner wrote:

                         

                        not really a solution, but an alternative way.

                        I use HII only for the neccessary drivers(only network and storage). The other driver will install after Windows 7 (32 or 64) is complete installed. I use the Tool  "DPinst.exe" from the WDK( or SDK - I not sure). I wrote a C# execute file (you can also use wsf or vbs) with WMI-Querys for model and OS to use the correct path on my "drivers storage(is simple a folder structure on a file-server). With different parameters you can use "DPinst.exe" for installing the driver do you need and complete silently.

                         

                         

                        path.png

                         

                         

                        Hi Thomas,

                         

                        what version of DPinst.exe are you using?

                         

                        I could not get one version to work on both x86 and amd64.  I had to use the 32-bit version of DPinst.exe for x86 stuff and DPinst64.exe for the amd64 drivers.

                        • 9. Re: Windows 7 32 bit and 64 bit HII process
                          Rookie

                          Hi EMiranda,

                           

                          that's thats correct. I have also two version of DPinst one for x86 and one for 64Bit, but my C# tool checks which OS it is(Windows XP or WIN7 / 64Bit or 32Bit) and use than the correct path for example ...\latitude e5420\Winxp\x86\DPinst.exe.

                           

                          Thomas

                          • 10. Re: Windows 7 32 bit and 64 bit HII process
                            Rookie

                            I was originally using DPInst as a RunSynchronous Command in the audit user phase after injecting the boot critical drivers but even with that setup, I was still getting the errors discussed above.

                             

                            To give you an idea, I have 2 folders on a network share, x86 and x64. The x86 folder has the 32bit version of dpinst and all the XP drivers for the models we support (extracted from Dell driver pack cabs). The x64 folder has the 64bit version of dpinst and all the Windows 7 drivers (since we only deploy 64bit windows 7)

                             

                            Both folders have a dpinst.xml file to configure it to scan the current directory (and all subdirectories, install the drivers silently, and ignore signature checks. The file looks like this:

                             

                            <?xml version="1.0" ?>
                              <dpinst>
                            
                            <suppressAddRemovePrograms/>
                            
                            <!-- The following search and subDirectory elements direct
                                 DPInst to search all subdirectories (under the DPInst working directory) to locate driver
                                 packages. -->
                                <search>
                                  <subDirectory>*</subDirectory>
                                </search>
                            
                            
                            <!-- Allows Unsigned Drivers -->
                            <legacyMode/>
                            
                            <!-- Disables UI prompts -->
                            <quietInstall/>
                            
                            
                            <!-- The following language element localizes its child elements
                                 for the English (Standard) language. The child elements
                                 customize the text that appears on the DPInst wizard pages. -->
                                <language code="0x0409">
                                  <dpinstTitle>Device Driver Updater</dpinstTitle>
                                  <welcomeTitle>Welcome to the Device Installer!</welcomeTitle>
                                  <welcomeIntro>This wizard will walk you through updating the drivers for your device.</welcomeIntro>
                                  <installHeaderTitle>Installing the software for your device...</installHeaderTitle>
                                  <finishTitle>Congratulations! You finished installing your device drivers.</finishTitle>
                                </language>
                            
                                <scanHardware/>
                            
                            </dpinst>

                             

                            DPInst scans all the drivers and installs the necessary ones. It takes about 10 minutes to complete with about 19 model driver packs to scan (about 10GB of drivers)

                             

                            Instead of calling dpinst during the audituser phase, I've moved it to the execute file action in my provisioning template. This appears to be working but I still have more testing to do to confirm.

                             

                            Hope that helps

                             

                            -George

                            • 11. Re: Windows 7 32 bit and 64 bit HII process
                              EMiranda Expert

                              thomas.wallner wrote:

                               

                              Hi EMiranda,

                               

                              that's thats correct. I have also two version of DPinst one for x86 and one for 64Bit, but my C# tool checks which OS it is(Windows XP or WIN7 / 64Bit or 32Bit) and use than the correct path for example ...\latitude e5420\Winxp\x86\DPinst.exe.

                               

                              Thomas

                               

                               

                              I understand now. Thanks!  I love DPinst.exe, btw.

                              • 12. Re: Windows 7 32 bit and 64 bit HII process
                                riccafer Apprentice

                                Hi guys,

                                anyone has found a solution to this issue? I cannot say to my customer:"Sorry, we cannot use LANDesk HII because...", they have upgraded to SP3 for HII...

                                Thanks

                                • 13. Re: Windows 7 32 bit and 64 bit HII process
                                  technobabble Apprentice

                                  Has anyone tried to use MDT 2012 and LANDesk provisioning? This seems to be the best solution for this type of issue. I was able to get Windows PE 4.0 (x86) with the LANDesk agent installed to work with LANDesk provisioning in order to facilitate the installation Windows 7 OS (64 bit) using MDT 2012. This included running all MDT task sequences and appropriate drivers.

                                  • 14. Re: Windows 7 32 bit and 64 bit HII process
                                    payjota Employee

                                    This fixed my problem. I had an windows xp driver with DPInst and was causing failure in my sysprep file. After removing it from the drivers I did not receive error in sysprep.