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

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

Windows Server 2008 R2
 
 

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

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

windows 7 professional x32
 
 

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

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

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

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

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

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

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

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

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 for2: SysPrep Help?
Thread Forum
Sysprep - Windows 7 - unable to sysprep image that joins domain Virtualization
Sysprep hell: sysprep windows setup could not configure windows to run Installation & Setup
win7 after sysprep reboot always with sysprep box Installation & Setup
Sysprep? General Discussion
Please help > Sysprep General Discussion
Sysprep Installation & Setup
How many sysprep's? 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 01:53 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