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?

28 Mar 2013   #1
ZMan

windows 7 professional x32
 
 
SysPrep Help?

I made a sysprep file with Windows WAK and it giving us issues.

We get a "A fatal error occurred while trying to sysprep the machine."

This happens when it is "Processing cleanup phase Sysprep plugins..."

Here is our file.

<?xml version="1.0" encoding="UTF-8"?>
-<unattend xmlns="urn:schemas-microsoft-com:unattend">-<settings pass="oobeSystem">-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="46" name="Microsoft-Windows-International-Core"><InputLocale>en-US</InputLocale><SystemLocale>en-US</SystemLocale><UILanguage>en-US</UILanguage><UILanguageFallback>en-US</UILanguageFallback><UserLocale>en-US</UserLocale></component>-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="46" name="Microsoft-Windows-Shell-Setup">-<OOBE><HideEULAPage>true</HideEULAPage><NetworkLocation>Work</NetworkLocation><ProtectYourPC>1</ProtectYourPC></OOBE>-<UserAccounts>-<LocalAccounts>-<LocalAccount wcm:action="add">-<Password><Value>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXValue><PlainText>false</PlainText></Password><Description>Win 7 Local Account</Description><DisplayName>Admin</DisplayName><Group>administrators</Group><Name>Admin</Name></LocalAccount></LocalAccounts></UserAccounts><TimeZone>Eastern Standard Time</TimeZone><copyprofile>true</copyprofile></component></settings>-<settings pass="specialize">-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="46" name="Microsoft-Windows-Shell-Setup"><ProductKey>XXXX-XXXX-XXXX-XXXX-XXXX</ProductKey></component></settings><cpifflineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:c:/windows%20sysprep%20thing/install.wim#Windows 7 PROFESSIONAL"/></unattend>


My System SpecsSystem Spec
.

28 Mar 2013   #2
cluberti

Windows 8.1 x64
 
 

When you validate the XML in the WSIM, does the XML validate successfully and without errors?
My System SpecsSystem Spec
28 Mar 2013   #3
VistaKing

Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
 
 

Zman

Try this

type net stop WMPNetworkSvc in command prompt to kill the service BEFORE you start sysprep

This is wrong processorArchitecture="46" it's suppose to be processorArchitecture="amd64"

Tip   Tip
Hide your Product Key so no one will take it when you upload your unattended.xml files to forums. You could put Xs inplace of the real key .
My System SpecsSystem Spec
.


28 Mar 2013   #4
ZMan

windows 7 professional x32
 
 

ahh I try that and see what happen thanks
My System SpecsSystem Spec
28 Mar 2013   #5
VistaKing

Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
 
 

Let me know how it goes
My System SpecsSystem Spec
03 Apr 2013   #6
ZMan

windows 7 professional x32
 
 

Me and a coworker try a different sysprep. We have it working to the letter but it is not progress the script to join it to the domain as it states from this site. Sysprep a Windows 7 Machine
Any ideas?
Sysprep
----------------------

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-US</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>TgB5AHMAVABlAGMAaAAxACEAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Description>Local Administrator</Description>
<DisplayName>Admin</DisplayName>
<Group>administrators</Group>
<Name>Admin</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<TimeZone>Eastern Standard Time</TimeZone>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProductKey>Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz</ProductKey>
<CopyProfile>true</CopyProfile>
</component>
</settings>
<cpifflineImage cpi:source="wim:c:/windows%20sysprep%20thing%2064bit/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
My System SpecsSystem Spec
03 Apr 2013   #7
VistaKing

Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
 
 

Try this

Start up Windows SIM and in the components section of Windows Image, expand the section called
Microsoft-Windows-UnattendedJoin right-click it and choose Add Setting to Pass 4 Specialize

in the Answer File pane, click on the newly added setting and expand it, select Identification and enter the Domain name in the JoinDomain value.

Note   Note
In addition, if you want to log domain join failures (logs to c:\windows\panther\unattendGC\) then set the DebugJoin option from false to true
My System SpecsSystem Spec
03 Apr 2013   #8
ZMan

windows 7 professional x32
 
 

Quote   Quote: Originally Posted by VistaKing View Post
Try this

Start up Windows SIM and in the components section of Windows Image, expand the section called
Microsoft-Windows-UnattendedJoin right-click it and choose Add Setting to Pass 4 Specialize

in the Answer File pane, click on the newly added setting and expand it, select Identification and enter the Domain name in the JoinDomain value.

Note   Note
In addition, if you want to log domain join failures (logs to c:\windows\panther\unattendGC\) then set the DebugJoin option from false to true
Alright we try that and get back to you in about an hour.
Lunch time :P
My System SpecsSystem Spec
03 Apr 2013   #9
VistaKing

Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit
 
 

Will be waiting for the results
My System SpecsSystem Spec
03 Apr 2013   #10
ZMan

windows 7 professional x32
 
 

Still working on it. Just been a busy day will up date tomorrow.
My System SpecsSystem Spec
Reply

 SysPrep Help?




Thread Tools





Similar help and support threads
Thread Forum
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
Sysprep?
Hi, First of all I like to say hello, this is my first post here! :party: At moment I am trying to sysprep a customized branded installation of Windows 7 Pro 32Bit. But I dont understand what settings I need in the unattend file. What I want is to use the settings from the local admin...
General Discussion
Please help > Sysprep
Hi, I am trying to create a default profile for Windows 7 Professional. After customizing the image, I run "sysprep /audit /generalize /answerfile:c:\answerfile.xml /reboot". In the answerfile I have included the <CopyProfile>1</CopyProfile> After that the computer restarts and the sysprep...
General Discussion
Sysprep HELP
Hi i try to sysprep a Dell latitude E6400 i install from DVD (normal installation) i create my sysprep anwser file: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <component...
General Discussion
How many sysprep's?
Hi. I need a quick answer to a quick question. How many times can Windows 7 be sysprepped before it stops letting me? Situation I'm now in: I have 13 images for 7 departments to build in two weeks on two machines. My process is to build a generic base image on one, sysprep it, up it to the...
General Discussion

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 03:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App