Sysprep help for Windows 7

stevec59

New member
Local time
9:11 PM
Messages
11
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 Computer

Computer type
PC/Desktop
OS
Windows 7 Profesional, 64 bit
CPU
I7
Are you doing "Generalized" when you do sysprep? This would take out the drivers so that you could install it on other hardware.
 

My Computer

Computer Manufacturer/Model Number
Self-Built in July 2009
OS
Windows 7 Ultimate x64
CPU
Intel Q9550 2.83Ghz OC'd to 3.40Ghz
Motherboard
Gigabyte GA-EP45-UD3R rev. 1.1, F12 BIOS
Memory
8GB G.Skill PI DDR2-800, 4-4-4-12 timings
Graphics Card(s)
EVGA 1280MB Nvidia GeForce GTX570
Sound Card
Realtek ALC899A 8 channel onboard audio
Monitor(s) Displays
23" Acer x233H
Screen Resolution
1920x1080
Hard Drives
Intel X25-M 80GB Gen 2 SSD
Western Digital 1TB Caviar Black, 32MB cache. WD1001FALS
PSU
Corsair 620HX modular
Case
Antec P182
Cooling
stock
Keyboard
ABS M1 Mechanical
Mouse
Logitech G9 Laser Mouse
Internet Speed
15/2 cable modem
Other Info
Windows and Linux enthusiast. Logitech G35 Headset.

My Computer

Computer Manufacturer/Model Number
Self built
OS
Windows 7 Ultimate x64
CPU
Intel Pentium Dual Core E5200 2.5GHz (3.77GHz OC)
Motherboard
Asus P5Q-E
Memory
Corsair 4GB DDR2 (4x1GB CM2X1024-6400C4)
Graphics Card(s)
Palit GeForce GTS 250 (1024MB)
Sound Card
On Board (ADI AD2000B 8ch HD)
Monitor(s) Displays
Samsung 32in LCD TV
Screen Resolution
1360x768
Hard Drives
2 x 1TB Samsung 103SJ (Raid0)
2 x External 500GB Samsung 502IJ (NexStar 3 HD Enclosures)
PSU
550W Antec Neo HE 550
Case
Antec P180
Cooling
Xigmatex Red Scorpion CPU Cooler. 3x120mm Fans
Keyboard
Logitech MX5000 Laser (Combo)
Mouse
Logitech MX5000 Laser (Combo)
Internet Speed
ADSL2+ (avg 10 Mbps Down, 0.80 Mbps up)
Other Info
Gigabyte GN-WP01GS 54g Wireless Lan Card
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 Computer

Computer type
PC/Desktop
OS
Windows 7 Profesional, 64 bit
CPU
I7
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) - http://www.sevenforums.com/installation-setup/69246-deployment-sysprep-answer-files.html

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
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 Computer

Computer Manufacturer/Model Number
Self built
OS
Windows 7 Ultimate x64
CPU
Intel Pentium Dual Core E5200 2.5GHz (3.77GHz OC)
Motherboard
Asus P5Q-E
Memory
Corsair 4GB DDR2 (4x1GB CM2X1024-6400C4)
Graphics Card(s)
Palit GeForce GTS 250 (1024MB)
Sound Card
On Board (ADI AD2000B 8ch HD)
Monitor(s) Displays
Samsung 32in LCD TV
Screen Resolution
1360x768
Hard Drives
2 x 1TB Samsung 103SJ (Raid0)
2 x External 500GB Samsung 502IJ (NexStar 3 HD Enclosures)
PSU
550W Antec Neo HE 550
Case
Antec P180
Cooling
Xigmatex Red Scorpion CPU Cooler. 3x120mm Fans
Keyboard
Logitech MX5000 Laser (Combo)
Mouse
Logitech MX5000 Laser (Combo)
Internet Speed
ADSL2+ (avg 10 Mbps Down, 0.80 Mbps up)
Other Info
Gigabyte GN-WP01GS 54g Wireless Lan Card
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 Computer

Computer Manufacturer/Model Number
Dell XPS 15 L502x
OS
Windows 7 Ultimate x64 SP1
CPU
Core i7-2670QM
Memory
8GB DDR3 PC3-10600
Graphics Card(s)
Intel HD Graphics 3000 + GeForce GT 540M
Screen Resolution
1920x1080
Hard Drives
1TB 5400RPM Seagate
Thanks for that :D

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 Computer

Computer type
PC/Desktop
OS
Windows 7 Profesional, 64 bit
CPU
I7
Back
Top