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: System Preparation Tool - Use to Customize Windows

09 Sep 2016   #80
soleliquido

Win 7 Pro x86
 
 

Hi everybody! this is my second post I wanted to Thank you a lot, Kari, coz your tutorials are being super for me now! I'm studying a lot about sysprepping, and I think it will let me have a big step in the pc production here where I work!

I'm working on win 7 pro x86, I've prepared an answer file, and I added the partitioning part in the beginning...Now, my question:
I want to create 3 partition (1: only boot partition-2: C for windows-3: D for data and backups, etc)
About the boot partition: is it enough to indicate it as a FAT32, 300mb, primary and active partition for Windows to copy the boot files inside?
In my master image, which I'm preparing now, I must have the 3 partition already, before sysprepping/OOBEing? Now I'm working with the Boot one and C only...


My System SpecsSystem Spec
.
09 Sep 2016   #81
soleliquido

Win 7 Pro x86
 
 

Quote   Quote: Originally Posted by ahelton View Post
Does that effectively append my answer file to the sysprepped image? So when imaging my other computers I don't need to reference my answer file any longer?
I'm asking myself, too!

I use win pe with IMAGEX and I guess I must do this, tell me if i'm wrong please:
- launch sysprep with generalize and oobe and reboot/shutdown whatever
- before OS reboot I capture the image with IMAGEX
- After saving the image I let the OS to boot to complete installation
- When I need to install another computer with the same image I just APPLY it on an empty hdd with IMAGEX, right? no more answer files needed right?

Thanks!
My System SpecsSystem Spec
09 Sep 2016   #82
ahelton

Windows 7 x64
 
 

Quote   Quote: Originally Posted by soleliquido View Post
Quote   Quote: Originally Posted by ahelton View Post
Does that effectively append my answer file to the sysprepped image? So when imaging my other computers I don't need to reference my answer file any longer?
I'm asking myself, too!

I use win pe with IMAGEX and I guess I must do this, tell me if i'm wrong please:
- launch sysprep with generalize and oobe and reboot/shutdown whatever
- before OS reboot I capture the image with IMAGEX
- After saving the image I let the OS to boot to complete installation
- When I need to install another computer with the same image I just APPLY it on an empty hdd with IMAGEX, right? no more answer files needed right?

Thanks!
I'm using WinPE and DISM to capture my images. I would think the answer file is appended to the image once you run the Sysprep command with the /Shutdown switch. I'm sure someone will let use know, but I'm just going to test it on a computer and see what happens when I apply the image.
My System SpecsSystem Spec
11 Sep 2016   #83
Kari

Microsoft Community Contributor Award Recipient

 

When you run sysprep on technician machine, all changes will be applied. That's it. When the image is then applied to any computer it does not need any new answer file nor does it need to be sysprepped again.
My System SpecsSystem Spec
.

12 Sep 2016   #84
soleliquido

Win 7 Pro x86
 
 

HI Kari!
I've tried my unattended.xml and everything worked fine I couldn't believe it, except for the disk partitioning, as you described in your tutorial.
After the setup I only find the boot (disk 0 partition 1) partition and C (disk 0 partition 2), but not the third partition (data, disk 0 partition 3). All exactly as before oobe.

What should I do to obtain this?
Creating the partitions BEFORE sysprepping is the solution? Or there's something wrong in xml?

Here's the part regarding this:

Quote:
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>300</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Size>276638</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Size>200000</Size>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>FAT32</Format>
<Label>Boot</Label>
<Order>1</Order>
<PartitionID>1</PartitionID>
<TypeID />
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order>2</Order>
<Active>false</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>System</Label>
<Letter>C</Letter>
<PartitionID>2</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order>3</Order>
<Letter>D</Letter>
<Active>false</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Data</Label>
<PartitionID>3</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>
My System SpecsSystem Spec
16 Sep 2016   #85
ahelton

Windows 7 x64
 
 

I'm having some problems applying my sysprepped imaged to a new computer. I keep getting a message similar to this: "Image can't be applied because hardware note supported."

I'm confused by this because I thought the whole purpose of sysprepping was to make a hardware independent image. Also, the hardware in this case is the exact same as the computer I sysprepped anyway, so I would think it should definitely work.

I used WinPE 10 to capture my image since I already had a bootable USB with it installed. Is it ok to use it for W7 deployment? I read this on the TechNet blog, so I thought it would be no problem:

Quote:
Any existing Windows PE 3.1 or Windows PE 5 boot images can still be used, but are no longer customizable from the Configuration Manager console. You can create new boot images which will now be using Windows PE 10. Windows PE 10 boot images support deployments of Windows 7 through Windows 10.
Lastly, when I apply the sysprepped image to another computer which already has Windows 7 installed on it, do I just tell the image to be applied to the C: drive? I followed the instructions on disc partitioning listed in the tutorial and it seems to me that it should wipe the disc first and then apply the image, but I wasn't sure where I should tell the image to be applied.

Thanks.
My System SpecsSystem Spec
24 Sep 2016   #86
Rhothgar

Windows 7 Ultimate x64 SP1
 
 

Hi Kari

Followed your brilliant tutorial on doing a Custom Windows 7 installation.

I have now got the system up and running and activated online.

After I activated, I wondered if I had done the right thing because I want to be able to build on the reference image and create a library of different configurations.

Am I able to recreate a new image at any point if I run the sysprep /audit /generalize /shutdown from elevated command line after stopping Windows Media Player Network service?

Presumably this would take be back to a certain Step (Step 6?) in your original tutorial?

This is something I have been meaning to do for years. Having read and followed your tutorial, I feel like I have been freed of the shackles of the limitation of a long reinstall prison sentence!

Also, I want to create another image from the original image for my partner's computer because she wants different things on hers and is more likely to download nasties as she is not as savvy at times.

Presumably I just create another Unattended Answer File for her PC with her Product Activation Key populated and I can enjoy doing reinstalls on her machine far quicker than I have ever done.

Thanks in advance. I appreciate you are a busy man.
My System SpecsSystem Spec
16 Jan 2017   #87
prateeeks

Windows 8.1 Enterprise x64
 
 

I have tried these methods and still it gives me fatal error. When checked the OPenCL drivers are still shown under.
@Kari Please help.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\PnpLockdownFiles

Quote   Quote: Originally Posted by Kari View Post
OK, luckily you still have that working system image .

I've gone through your logs and I have two possible scenarios to suggest to you.

First the installation logs (C:\Windows\Panther):
Windows recognizes all your hardware, setup is flawless, error log is totally empty.

Then the "bad child", Sysprep logs:
The culprit is Intel / OpenCL drivers, the GPU driver to be specific. Sysprep /generalize cannot release this driver, which automatically means Sysprep fails as it is unable to completely remove hardware information. OpenCL for instance takes care of the igfxtray.exe application which runs in sys tray although you cannot find it in installed programs. To ascertain this, Intel seems to have "tied" OpenCL somehow to that OEM UEFI pre-installation of yours, in a way that locks the drivers so Sysprep cannot remove them.

My suggestions below.

Alternative 1, using your existing image which already contains software needed:
  • Restore your normal working image on reference computer
  • Reboot to Audit Mode, command to do it is %windir%\system32\sysprep\sysprep.exe /audit /reboot
  • When in Audit Mode, click Cancel to close the Sysprep dialog which is automatically shown in desktop
  • Turn Windows Automatic Updates off
  • Turn Windows Defender and Firewall off
  • Uninstall (Programs & Features) all Intel and / or OpenCL items
  • Uninstall (Device Manager) both video and audio drivers
  • Now continue from Method Two as told in this tutorial to capture the image: Windows 7 Installation - Transfer to a New Computer
- - OR - -

Alternative 2, start from scratch:
  • Install Windows 8.1 on your reference computer, enter Audit Mode after installation has done the last reboot (this tutorial you are reading now, Part 2, steps 2.1 and 2.2)
  • When in Audit Mode, click Cancel to close the Sysprep dialog which is automatically shown in desktop
  • Turn Windows Automatic Updates off
  • Turn Windows Defender and Firewall off
  • Uninstall (Programs & Features) all Intel and / or OpenCL items
  • Install all software you need to include in your image
  • Uninstall (Device Manager) both video and audio drivers
  • Now continue from Method Two as told in this tutorial to capture the image: Windows 7 Installation - Transfer to a New Computer
Alternative 2 is my recommendation.

Kari
My System SpecsSystem Spec
Reply

 System Preparation Tool - Use to Customize Windows




Thread Tools




Similar help and support threads
Thread Forum
Hard Drive Preparation For Windows 7 Installation
What do I have to do to a hard drive that has had Windows XP on it to get it ready for a Windows 7 installation? I can get to the point where it says to select a partition, but no further. I've tried wiping the drive, installing over the old OS, reformatting, removing the partition and adding...
Installation & Setup
I am looking for a tool to fully customize my Windows 7 Logon
I just can't seem to find any tool to do this. I want to replicate the Windows XP logon screen. This would require quite a tool. I've only found ones to just change the background. I did find one called Logon Workshop, and it will do everything I need, but... I just can't figure out how it works....
Customization
Can I customize tool bar and tabs in IE9 this way ?
What I would like to do is this : Use the IE9 option to show tabs on seperate row, but not have 3 'rows' showing, only 2, 1 being the tabs row, the other being the default address bar row -BUT as well as the icons for home, favs and tools, include some of the command bar icons on the top row. ...
Browsers & Mail
can System Preparation Tool be run outside of Windows
Can System Preparation Tool discussed in tutorial "Windows 7 Installation - Transfer to a New Computer" be run on the target HDD if the target HDD is now a secondary drive of another Windows installation ? Forgot to SysPrep my Win 7 Pro 64bit prior to removing the old mother board...that board...
Installation & Setup
XP - Windows & Ultimate migration preparation
First off - this forum is a lifesaver! I have done quite a bit of reading here and appreciate everyone's contribution. While I think i'm somewhat prepared to install Win7 this weekend, I was hoping someone can help me with my last few questions. 1. I will be installing win7 and all...
Installation & Setup
Windows 8 planning and preparation underway
Read the full article here :)
News


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 12:47.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App