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: Sysprep help for Windows 7

27 Apr 2012   #1
stevec59

Windows 7 Profesional, 64 bit
 
 
Sysprep help for Windows 7

Hi,
We have created a Syspreped image of windows 7 with all the drivers that we need, I have some questions:-

1) When we install the image on a new PC, it doesn't keep the Video driver, I have got around that by putting the install files in C:\temp and then running, is there a way to keep the video driver, so That I don't need to install?

2) We might want to Strip out the Licence code,
a) Is that possible
b) What effect will it have, will it just ask for licenec code or will you have to go through a lot of the setup again?


Thanks

Steve


My System SpecsSystem Spec
.

27 Apr 2012   #2
pparks1

Windows 7 Ultimate x64
 
 

Are you doing "Generalized" when you do sysprep? This would take out the drivers so that you could install it on other hardware.
My System SpecsSystem Spec
27 Apr 2012   #3
Duzzy

Windows 7 Ultimate x64
 
 

I think you use something along these lines,

sysprep.exe /generalize /unattend:answerfile

and in the answer file under the generalize configuration pass use the Microsoft-Windows-PnPSysprep\PersistAllDeviceInstalls

More info
Sysprep Command-Line Syntax
Prepare to Capture an Image for Deployment (Generalize)
My System SpecsSystem Spec
.


28 Apr 2012   #4
stevec59

Windows 7 Profesional, 64 bit
 
 

Thanks Guys, I am using:-

"In sysprep dialog that opens, choose System Cleanup Action as Enter System Out-of-Box-Experience (OOBE), select Generalize, select Shutdown Options Shutdown. Click OK"

But it keeps all the other drivers that I have added to the Basic Windows 7, x32 (NIC and a few others), which is good, it looses the Video, Is there a way around it?

What about the licence question?

Thanks

Steve
My System SpecsSystem Spec
29 Apr 2012   #5
Duzzy

Windows 7 Ultimate x64
 
 

I've never used Sysprep myself only read a little when I created a Unattended setup so I've had a little play and a bit more of a read.

About the drivers and the info I gave previously.
I came to the conclusion that using Sysprep with Generalize will uninstall the driver but not remove the driver files. The next time that image is booted you will see a mini setup and part of that will display "Configuring Device Drivers" or something like that and during this stage (specialize pass) any previously installed 3rd-Party drivers will be installed. Now if that doesn't make much sense I found another thread that seems to confirm this but explains it differently (maybe better) - Deployment: sysprep and answer files

Using PersistAllDeviceInstalls I think keeps the driver installed so during the mini setup it probably skips the "Configuring Device Drivers" stage but would cause errors if installed to a system with different hardware. I have not tried this yet so this is only a guess.

Your video driver
Now with your video driver and considering the above I would try installing Windows then your video driver. Next open Device Manager select your Display Adaptor and search automatically for a updated driver.

If Windows chooses a different driver then I would think this is your problem. During the "Configuring Device Drivers" stage it would be choosing the driver it thinks is best. Let us know what happens and maybe we can find a way around this.

If this image will only be installed to systems with identical hardware then you could also try the PersistAllDeviceInstalls. Sysprep GUI will need to be closed and run from the command line and include the /unattend switch. eg. sysprep.exe /oobe /generalize /shutdown /quiet /unattend:answerfile

Product Key.
I have read conflicting threads about Sysprep removing this so I can not say if it can be removed by Sysprep but I guessing your key remains after using Sysprep with Generalize which also happened with me, although my test may not be correct.

I can confirm that if you do not enter a Product Key during setup then you will be prompted for one when booting OOBE, so I would suggest if you can customise everything for your image without it and in less than 30 days then don't enter it. When you Sysprep with Generalize the Activation clock will rearm but if you plan on generalizing the image more than once then beware
Quote:
If you do not use KMS, you can generalize the image to rearm the activation clock. However, you can rearm the clock only a limited number of times, determined by the Windows edition. After you reach this limit, you can still generalize the image, but the activation clock is not rearmed.
My System SpecsSystem Spec
29 Apr 2012   #6
kegobeer

Windows 7 Ultimate x64 SP1
 
 

Quote   Quote: Originally Posted by Duzzy View Post
I think you use something along these lines,

sysprep.exe /generalize /unattend:answerfile

and in the answer file under the generalize configuration pass use the Microsoft-Windows-PnPSysprep\PersistAllDeviceInstalls

More info
Sysprep Command-Line Syntax
Prepare to Capture an Image for Deployment (Generalize)
To piggyback on this: if you don't know how to make an answerfile, check out this post:

Video Drivers Stripped Out during Sysprep

Also, watch this video that explains how to make one.

http://www.youtube.com/watch?v=PWnPWoQ1jqI
My System SpecsSystem Spec
02 May 2012   #7
stevec59

Windows 7 Profesional, 64 bit
 
 

Thanks for that

Things have been a bit hectic at work this week, so I haven't had a chance to look at this yet, but if I have any more questions, I will update this topic.

Thanks again

Steve
My System SpecsSystem Spec
Reply

 Sysprep help for Windows 7




Thread Tools





Similar help and support threads
Thread Forum
windows 7 sysprep keep asking for username
i created an answer key with windows system image manager for windows 7 professional 64 bit. everything works fine. but when i run sysprep with it keeps asking me for a username is there a way to not ask for username during sysprep and only ask for computer name. i created a local profile on there...
General Discussion
Sysprep - Windows 7 - unable to sysprep image that joins domain
Good morning all: Below is my unattend.xml. I am using the sysprep + win7 for creating virtual machines in Red Hat Enterprise Virtualization 3.0 but having difficulty getting them to auto-join the domain. My sysprep progression proceeds normally and completes. The initial boot of the image...
Virtualization
win7 after sysprep reboot always with sysprep box
hello, 1st sorry for my english (i'm french guy). I made a sysprep and all parameters are corrects. but after the reboot I have always the sysprep preparation tools box. for me the sysprep is correct but I don't know what's happended. in attachment my unattend.xml
Installation & Setup
Windows 7 sysprep questions.
Hi Folks, I'm trying to create a Windows 7 image ... Steps. 1) I installed all necessary apps, made customizations. 2) I run Sysprep utility ( select Generalize, Shutdown, OBOE ) 3) Before Windows starts I create an image ( Using DD ) 4) I deploy Image to different machine ( Same...
Installation & Setup
SysPrep deactivates Windows?
Hi, I am using Windows 7 OPK and I'm deploying images to the computers that I sell. I would like to activate windows before shipping to my customers however, after windows has been activated in Audit mode, sysprep runs to reboot the PC in OOBE mode, but windows is no longer activated and...
Customization
Windows 7 Sysprep VBS Script Help
I am setting up an Image for Windows 7 and using WAIK and everything. I have a script file that prompts PC name, domain name and user name and password to join domain. I want to make it to where the password is NOT shown while typing. Any suggestions? Thanks in advance. here is the VBS script...
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 16:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App