Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Deployment: sysprep and answer files


07 Mar 2010   #1

Windows XP
 
 
Deployment: sysprep and answer files

Hi, I had a couple of questions regarding Windows 7 Deployment. Not sure if this is the right subforum to post to, but it seemed the best fit.

One: I tried using sysprep with an answer file to configure a different product key by adding the Microsoft-Windows-Shell-Setup component to the Specialize pass and configuring ProductKey setting (I should mention that this was the only setting I configured). When rebooting to the image after sysprep (for testing), it errors out and the image is useless. I'm wondering if I am configuring the wrong setting, leaving blank settings that need to be configured, or if maybe I am adding it to the wrong pass. From what I understand the specialize pass is the first pass to run at startup after running /generalize.

Two: I tried running sysprep again (after re-installing to my test partition of course) without the answer file and everything worked fine. However, I was under the impression that without configuring the PersistAllDeviceInstalls setting in an answer file, all the device drivers would be uninstalled. Yet when I logged on, to my surprise, all my drivers remained. This is a good thing in my opinion, but I want to make absolutely sure that it wasn't a fluke and that device drivers are not typically uninstalled when running /generalize.

If anybody can help me out with this I would very much appreciate it. Thanks.

My System SpecsSystem Spec
.

07 Mar 2010   #2

Windows 8.1 Pro (x64)
 
 

Do not currently have any answers to your questions, but may want to review: Deploying Windows 7 - Part 1: Windows AIK 2.0 Enhancements
My System SpecsSystem Spec
07 Mar 2010   #3

Windows XP
 
 

Thanks. Unfortunately, most of that deals with server side tools, which I'm not really working with at the moment. It's an excellent resource though, and I have bookmarked it for further reading. I will continue my trial and error on this issue, however, if anyone else has any more thoughts or suggestions, I'd love to hear them. Thanks again.
My System SpecsSystem Spec
.


14 Mar 2010   #4

Windows XP
 
 

After some more trial and error, I have come up with the following answers:

Question one: It turns out I was using a product key for the wrong edition of windows 7. It works just fine now

Question two: Without the PersistAllDeviceInstalls set to true in an answer file, the generalize pass DOES remove all the drivers. However, if a third-party driver was installed before running sysprep, the driver files will still be present and the specialize pass will re-install the third-party drivers for their respective devices. If you don't want the third-party drivers re-installed, you have to remove them before running sysprep. Also, if you apply the image to computers with a slightly different hardware configuration (and you're using an answer file), be sure that the DoNotCleanUpNonPresentDevices setting is set to false. Otherwise all drivers that were present on the original reference computer will be re-installed, regardless of the hardware configuration.

Hope this can be of some help to somebody in the future.
My System SpecsSystem Spec
Reply

 Deployment: sysprep and answer files




Thread Tools



Similar help and support threads for2: Deployment: sysprep and answer files
Thread Forum
Sysprep answer file Installation & Setup
Sysprep - Windows 7 - unable to sysprep image that joins domain Virtualization
cannot open files in Sysprep folder Installation & Setup
Sysprep Fails After Deployment With: Windows could not finish configur Installation & Setup
sysprep copyprofile copies all the junk files too Installation & Setup
Sysprep Answer file question Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:50 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33