clivebuckwheat Posted June 5, 2010 Share Posted June 5, 2010 (edited) Every time I attempt to run it, I get Windows cannot parse or find the sysprep.xml file.I have put it in the right place.C:\WINDOWS\SYSTEM32\SysprepAll this sysprep.xml is needed to do is copy the profile, activate the administrator account and auto activate windows, and run an install at first login?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="generalize"> <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipRearm>1</SkipRearm> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>net user administrator /active:yes</Path> </RunSynchronousCommand> </RunSynchronous> </component> <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipAutoActivation></SkipAutoActivation> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipkPRODUCT KEY REMOVED</CommandLine> <Order>1</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>2</Order> <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>3</Order> <CommandLine>C:\WINDOWS\ClaraLaptop.vbs</CommandLine> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands> </component> </settings> <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend> Edited June 5, 2010 by clivebuckwheat Link to comment Share on other sites More sharing options...
myselfidem Posted June 5, 2010 Share Posted June 5, 2010 (edited) I've found some help here:http://blog.brianleejackson.com/sysprep-a-windows-7-machine-start-to-finishExtractCopy or move your sysprep.xml file to : C:\windows\system32\sysprep. Now to run sysprep, navigate to that sysprep folder, hold SHIFT and right click and select “Open New Command Windows Here”. Next, input the following commands:sysprep /generalize /oobe /shutdown /unattend:sysprep.xmlI hope that will help you! Edited June 5, 2010 by myselfidem Link to comment Share on other sites More sharing options...
clivebuckwheat Posted June 5, 2010 Author Share Posted June 5, 2010 that is the exact tutorial I used to created my sysprep.xml file. Link to comment Share on other sites More sharing options...
myselfidem Posted June 6, 2010 Share Posted June 6, 2010 (edited) It seems you need to add some parameters, and at the line:<SkipAutoActivation>true</SkipAutoActivation> Have you see the example?:http://www.brianleejackson.com/download/7_sysprep/7_enterprise_x86_sysprep.xmlYou can also find help inside "Windows AIK for Windows 7 chm".Maybe you can install your sysprep.xml at the root?sysprep /generalize /oobe /shutdown /unattend:C:\sysprep.xml Edited June 6, 2010 by myselfidem Link to comment Share on other sites More sharing options...
arwidmark Posted June 6, 2010 Share Posted June 6, 2010 For sysprep and/or setup to pick up the unattend.xml file automatically it needs to be named unattend.xml or autounattend.xml depending on where you store it.Check the Implicit Answer File Search Order sectionhttp://technet.microsoft.com/en-us/library/dd744269(WS.10).aspxIf you use the /unattend:filename.xml to sysprep you can use any name./ Johan Link to comment Share on other sites More sharing options...
Tripredacus Posted June 7, 2010 Share Posted June 7, 2010 Check this out, maybe you posted your code wrong, which is why we recommend you post your XML file as an attachment, but of course edit out your product key. ?xml version="1.0" encoding="utf-8"?>Should be<?xml version="1.0" encoding="utf-8"?> Link to comment Share on other sites More sharing options...
clivebuckwheat Posted June 9, 2010 Author Share Posted June 9, 2010 Check this out, maybe you posted your code wrong, which is why we recommend you post your XML file as an attachment, but of course edit out your product key. ?xml version="1.0" encoding="utf-8"?>Should be<?xml version="1.0" encoding="utf-8"?> I'm still getting uanble to parse can't find the xml file. If anyone can help I'd appreciate it. This is mission critical.<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="generalize"> <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipRearm>1</SkipRearm> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>net user administrator /active:yes</Path> </RunSynchronousCommand> </RunSynchronous> </component> <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipAutoActivation>true</SkipAutoActivation> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk PRODUCT KEY REMOVED </CommandLine> <Order>1</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>2</Order> <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>3</Order> <CommandLine>C:\WINDOWS\ClaraLaptop.vbs</CommandLine> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands> </component> </settings> <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend> Link to comment Share on other sites More sharing options...
Tripredacus Posted June 9, 2010 Share Posted June 9, 2010 Please attach the XML file and not paste into the post. Link to comment Share on other sites More sharing options...
clivebuckwheat Posted June 9, 2010 Author Share Posted June 9, 2010 here it is as an attachmentPlease attach the XML file and not paste into the post.sysprep32.xml Link to comment Share on other sites More sharing options...
Tripredacus Posted June 9, 2010 Share Posted June 9, 2010 The XML seems to be valid. What does the Panther logs say? Link to comment Share on other sites More sharing options...
clivebuckwheat Posted June 10, 2010 Author Share Posted June 10, 2010 The XML seems to be valid. What does the Panther logs say?where do I find the panther logs? Link to comment Share on other sites More sharing options...
myselfidem Posted June 10, 2010 Share Posted June 10, 2010 HelloYou can find the logs inside "%systemdrive%\Windows\Panther", and also the unattend.xml used for the silent install. Link to comment Share on other sites More sharing options...
cluberti Posted June 10, 2010 Share Posted June 10, 2010 You probably also want to get the setup*.* log files from %windir%\inf as well. Link to comment Share on other sites More sharing options...
clivebuckwheat Posted June 11, 2010 Author Share Posted June 11, 2010 (edited) I got the sysprep to run by using the full path.C:\Windows\System32\Sysprep\Sysprep.exe /shutdown /oobe /generalize /unattend:"C:\Windows\system32\sysprep\sysprep32.xml"but now it stops at the eula agreement can anyone take a look at my sysprep32.xml file and tell me what I need to add.sysprep32.xml Edited June 11, 2010 by clivebuckwheat Link to comment Share on other sites More sharing options...
Tripredacus Posted June 11, 2010 Share Posted June 11, 2010 Look up this code: <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Other</NetworkLocation> <ProtectYourPC>2</ProtectYourPC> </OOBE> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now