Guest gduer Posted March 9, 2012 Posted March 9, 2012 I trying to make default and mandatory profiles using Article ID 973289 Made changes desktop etc using admin account Used Windows System Image Management tool using Windows 7 DVD 32bit to make unattend1.xml file Here unattend1.xml file: ?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <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"> <CopyProfile>true</CopyProfile> </component> </settings> <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> Copied to c:\windows\system32\sysprep folder Ran sysprep C:\Windows\System32\sysprep>sysprep.exe /generalize /oobe /shutdown /unattend:unattend1.xml Log file: 2010-01-07 11:27:22, Info SYSPRP ======================================================== 2010-01-07 11:27:22, Info SYSPRP === Beginning of a new sysprep run === 2010-01-07 11:27:22, Info SYSPRP ======================================================== 2010-01-07 11:27:22, Info [0x0f004d] SYSPRP The time is now 2010-01-07 11:27:22 2010-01-07 11:27:22, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\sysprep\Panther 2010-01-07 11:27:22, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine 2010-01-07 11:27:22, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything 2010-01-07 11:27:22, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE' 2010-01-07 11:27:22, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE' 2010-01-07 11:27:22, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN' 2010-01-07 11:27:22, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND' 2010-01-07 11:27:22, Info [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread 2010-01-07 11:27:22, Info [sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [\c:\windows\system32\sysprep\unattend1.xml]... 2010-01-07 11:27:22, Error [sysprep.exe] UnattendFindAnswerFile: Explicitly provided unattend file [\c:\windows\system32\sysprep\unattend1.xml] does not exist. 2010-01-07 11:27:22, Warning SYSPRP SysprepSearchForUnattend: Found invalid unattend file while searching; hr = 0x300012 2010-01-07 11:27:22, Warning SYSPRP WinMain:Encountered invalid unattend file during search; hrResult = 0x80070002 2010-01-07 11:27:22, Info IBS UnattendErrorFromResults: Hit an unattend error; dumping any info we have about the failure... 2010-01-07 11:27:22, Info IBS UnattendDumpSetting: ------Unattend setting error / warning------ 2010-01-07 11:27:22, Info IBS UnattendDumpSetting: Error code = 0x80070002 2010-01-07 11:27:22, Info IBS UnattendDumpSetting: File path = [\c:\windows\system32\sysprep\unattend1.xml] 2010-01-07 11:27:22, Info IBS UnattendDumpSetting: -------------------------------------------- 2010-01-07 11:27:22, Info IBS UnattendErrorFromResults: Error text = Windows could not parse or process unattend answer file [\c:\windows\system32\sysprep\unattend1.xml]. The specified file does not exist. 2010-01-07 11:27:42, Info [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread 2010-01-07 11:27:42, Info [0x0f0052] SYSPRP Shutting down SysPrep log 2010-01-07 11:27:42, Info [0x0f004d] SYSPRP The time is now 2010-01-07 11:27:42 Thanks if you can help GD Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.