10 Replies Latest reply on Feb 4, 2013 2:34 AM by Frank Wils

    I just want a clear answer on Unattend.xml

    Froggmann Apprentice

      What options do I need to image Windows 7 with LD 9.0 SP2? Primarily I just want to standardize the desktop settings, join it to the network and name it according to it's name in the database.

       

       

      Also a secondary request, I have yet to find a good refrence link for all of the component options. Does anyone have one?

        • 2. Re: I just want a clear answer on Unattend.xml
          Expert

          Just read the title and got a chuckle. Wouldn't we all....

          • 3. Re: I just want a clear answer on Unattend.xml
            EMiranda Expert

            jmac wrote:

             

            Just read the title and got a chuckle. Wouldn't we all....

             

             

            HAHA exactly, going from XP sysprep to Win7 sysprep, your jaw kinda drops with the mass confusion of xml and feature options.  But...just takes a little time to read up on how it works and it ends up not being so bad.

            • 4. Re: I just want a clear answer on Unattend.xml
              Expert

              It doesn't help much either when as your reading through technet and you find different results for the settings in the xml file or conflicting white papers. As usual with MS, the documentation and functionality of automated deployment is usually fixed at or just after the OS's first SP. It just sux when your trying to get on board right from the start and everything is as clear as mud.

              • 5. Re: I just want a clear answer on Unattend.xml
                Froggmann Apprentice

                Exactly, I had to keep checking to see which site I was on, kept thinking I was on RIM's support pages.

                • 6. Re: I just want a clear answer on Unattend.xml
                  Specialist

                   

                   

                  So I am not the only one who has been slamming head against brick wall while trying do this. I have looked over everythng and tried it all, still get wierd errors here and there no matter what I try. Closest I have come has been a problem with the specialize section, specifically the area of Microsoft-Windows-Shell-Setup_nuetral. It's got to be the variable that LANDesk is trying to inject to get me a device/hostname or something with the copy profile being set to true and the image not being captured in Audit mode. 

                  • 7. Re: I just want a clear answer on Unattend.xml
                    EMiranda Expert

                    I do not capture my image in Audit mode and I still am able to get LANDesk to inject the hostname into my sysprep .xml.

                     

                    I have to manually edit the .xml and place the line:

                     

                    <ComputerName>%COMPUTERNAME%</ComputerName>

                     

                     

                    in my OSD script i have the line:

                     

                    REMEXECXX=ldrun tokreplw c:\windows\panther\unattend.xml COMPUTERNAME=%Computer - Device Name%

                     

                     

                    if you inject your own .xml from a file share or not have it in the image, I copy my sysprep to c:\windows\panther\unattend.xml and not c:\windows\system32\sysprep\unattend.xml

                     

                    because once you do /oobe /generalize the c:\windows\system32\sysprep\unattend.xml is copied to c:\windows\panther\unattend.xml and the c:\windows\system32\sysprep\unattend.xml one is no longer used, any changes need to made to the panther one, which is processed during your first boot.

                     

                     

                    hope that helps out, if not let me know what you are working with and we can try to get you going.

                    • 8. Re: I just want a clear answer on Unattend.xml
                      jabramson Apprentice

                      I have a question on this. We are using LANDesk 9 SP2.

                       

                      I copied an edited .xml file into the same directory I store the .wim file. I added the line

                      REMEXEC44=ldrun tokreplw I:\images\KHE_ImageUnattend_ALTERNATE_1-14-11.xml COMPUTERNAME=%Computer - Device Name%

                      to the OSD script.

                       

                      In the .xml file that I describe above has the following line added to it.

                      <ComputerName>%COMPUTERNAME%</ComputerName>

                       

                      This is the same .xml file that exists in the image but that one doesn't have this line in it.

                       

                      As a result, when imaging I see the following line in the cj-osd log file

                      "1515-JSATEST6","OK",0,0:00:01,1/14/2011 10:27:33 AM,1/14/2011 10:27:34 AM,"ldrun tokreplw I:\images\KHE_ImageUnattend_ALTERNATE_1-14-11.xml COMPUTERNAME=1515-JSATEST6"

                       

                      So I know it is now picking up the name. However when the computer continues the process and comes up in Windows 7, it asks for the name you want to call the computer dialog box.

                       

                      Now I didn't create the image so I don't know if there is something in the image that forces this or is there some other reason it is doing this.

                       

                      I am customizing this OSD script to use Jan's preferred server tool and that is working fine but I would like to have two OSD scripts where one allows the techs to rename the PC when it comes up and the other to auto-rename based on what is in LANDesk.

                      • 9. Re: I just want a clear answer on Unattend.xml
                        Apprentice

                        Where did you insert the line?  I do not have that line.

                        • 10. Re: I just want a clear answer on Unattend.xml
                          Frank Wils ITSMMVPGroup

                          In your OSD script, somewhere after the Unattend.xml has been copied to the local drive but before the reboot. Make sure to give the REMEXEC a unique sequencenumber.

                           

                          Frank