Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a load of new Lenovo laptops which I am due to distribute in my company. We are distributed in multiple locations and I want to ship the laptops "boxed" and untouched by IT hand for distribution.

We are using LANDesk to do all the software distribution and provisioning, but are currently falling at the first hurdle as when booted, the laptops kick into the Lenovo mini-setup wizard.

I assume this is because they have been sysprepped at Lenovo. In order to keep with our (almost) zero touch strategy I want the users to PXE boot into a PE of some sort, which will run a script on startup which replaces the sysprep answer file with one of my own. (i.e. prepopulated with product key, company info etc.) and then reboot to complete Sysprep.

The plan is that this will run, and then install the LANDesk agent as a post-sysprep task, which in turn will complete the provisioning.

Anyone have any experience / know any pitfalls to look out for / can suggest a suitable, PXE-bootable PE environment?

Apologies for the verbosity of the question - it takes a bit of explaining!

Thanks in advance,


share|improve this question
up vote 1 down vote accepted

You can simply just replace the unattend.xml file found in C:\windows\Panther. I've done this before for deployments with no problems at all. I would grab a copy of Lenovo's file and modify it as needed. They are probably using an OEM product key with a BIOS lock so if you duplicate that, you won't need to supply your own key or worry about activation. As far as a pxe environment, I'll have to apologize as I don't know a perfect solution. I'd consider using Windows Deployment Server to distribute a custom WinPE image that runs a script to replace the unattended answer file and reboot the computer. Find a tutorial on making a custom WinPE image using WAIK (this technet tutorial should be a good place to start and add the script to %windir%\System32\startnet.cmd on the image. Someone out there may have a better way of doing this. This was just the first thing to pop into my mind.

share|improve this answer

Since you are setting them up to PXE boot anyway, your best bet would be to develop a base image and pxe boot to the imaging software. Then just blast down a known good image with your agent, and the proper sysprep setup.

But if you want to go the copy config way, you'll need to find out where Lenovo stores it's sysprep.ini and then copy that over (most likely C:\sysprep)

Oh as another option that probably won't help you right now. Most OEMs will work with you to put a custom image on your machines if you buy enough from them. I know we used to do this at the college I went to.

share|improve this answer
great answer! the MDT and the WAIK can help build and deploy the images via PXE – Jim B May 5 '10 at 21:43
Thanks Zypher - we're trying to use the "out the box" lenovo image as the base image, as opposed to pushing an image. I'll check the location of the sysprep.ini (or unattend.xml as I think it is now) – Ben May 5 '10 at 21:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.