Ok...so here's the deal. About 3 years ago I was tasked with creating a hardware independent image. If successful, we would be able to cut our total number of images from 18 to 3. So I spent a solid week reading every forum and article you can think of in regards to this very topic. When it was all said and done...it only took 3 SIMPLE STEPS to CONVERT all of our existing images to hardware independent images!!! I underline the word CONVERT because you don't have to build brand new images to get this to work. In addition to that, you don't have to do all this crazy stuff of collecting hal files and all that to get it to work. It's sooo much easier this way. So without further babbling....here you go! Enjoy and please leave feedback!
PREPERATION - Before completing the steps below, you'll want a pc with your current image loaded on it. This is the pc you will capture your new hardware independent image from. Rule of thumb is to use your oldest production model for your image building machine. For us, it's a Dell GX270. You'll also want your Sysprep files on the C drive along with your sysprep.inf file. We will make some changes to your sysprep.inf in steps 2 and 3. That being said, let's go!
Step 1 - Set Your IDE Controllers to the Default Windows Drivers
a) Open Device Manager and navigate to the IDE Controllers section.
b) 2 Controllers will be listed. For most people, they will start with "Intel....". Right-click on the first one and choose Update Driver.
c) Choose "No, not at this time" and click Next.
d) Choose "Install from a specific location" and click Next.
e) Chose "Don't search. I will choose the drive to install." and click Next.
f) Choose "Standard Dual Channel PCI IDE Controller" and click Next.
g) Choose Finish and then repeat steps A through F for the other IDE Controller.
Step 2 - Add 2 Mass Storage Device Commands to Your Sysprep.inf File
a) This part is EASY!!! Just copy the text in red and add it to the very end of your sysprep.inf file.
Step 3 - Build Your Driver Database
a) First, you should note that after completing steps one and two, you can pull your image and it WILL WORK ON ANY MANUFACTURER AND MODEL OF PC!!! The purpose of this 3rd step is simply to build your driver database so you don't have to install drivers post-image. If you've got a lot of different makes and models, this step will be the most time consuming but well worth it.
b) First, note that you DO NOT want to keep the original driver files from the OEM. They are way too large and most of the files are unnecessary. So what you'll want to do is find a driver extraction tool out there to pull out all of the .inf's and dll's necessary to install the drivers. My favorite is a free program called "Drive Magician". Google it. :-)
c) So once you have your tool, simply start going to each of your models and running it to extract the driver files. Once you have them, start building a driver data base. Keep it simple. Sysprep only allows so much text for the drivers path section so make it something easy like "c:\d\1", "c:\d\2", etc. D being the main folder and 1 & 2 being different models. Just create a text document to keep as a "key".
d) Finally, once you've built up your driver database, add the paths to your sysprep.inf file. Below in red is a good example...
e) That's it!!! Now capture your image and give it a shot! NOTE: It's not uncommon for Sysprep to hang up during the driver installation phase of mini-setup. A lot of newer drivers have hard-coded driver paths. Here is an example of what I mean...
You have a Dell 755 that you've just extracted drivers from. You've added the drivers to "c:\d\23" on your image. You capture the image and then push it out to a 755. During the driver installation phase, it hangs up stating that it can't find a certain file because it can't be found. It will show you what file it needs and what subdirectory it needs to be in. For instance, it's looking for it in a folder called "B_74543. So what you'll want to do is create a subdirectory in your "23" folder called "B_74543" and put the missing file in there. Pull your image again and give it a shot now. Should work like a champ!
Again, feedback is appreciated. Thanks and enjoy!!!