amit_talkin Posted October 5, 2009 Posted October 5, 2009 (edited) I am getting following error during audituser pass. It worked fine with vista. I searched on google but found no solution for it.Error:2009-10-05 09:05:14, Error [0x0f00b0] SYSPRP WinMain: Failed to query pending CBS operations; hr = 0x80070002Log:2009-10-05 09:05:11, Info SYSPRP ========================================================2009-10-05 09:05:11, Info SYSPRP === Beginning of a new sysprep run ===2009-10-05 09:05:11, Info SYSPRP ========================================================2009-10-05 09:05:11, Info [0x0f004d] SYSPRP The time is now 2009-10-05 09:05:112009-10-05 09:05:11, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\system32\sysprep\Panther2009-10-05 09:05:11, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine2009-10-05 09:05:11, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything2009-10-05 09:05:14, Error [0x0f00b0] SYSPRP WinMain: Failed to query pending CBS operations; hr = 0x800700022009-10-05 09:06:25, Info [0x0f0052] SYSPRP Shutting down SysPrep log2009-10-05 09:06:25, Info [0x0f004d] SYSPRP The time is now 2009-10-05 09:06:25Answer File: ( shown only related settings )<settings pass="specialize"> <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> <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>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <settings pass="auditUser"> <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"> <Description>Tweaking System</Description> <Order>1</Order> <Path>cmd /c %windir%\apps\directx_aug2009_redist\DXSETUP /silent</Path> </RunSynchronousCommand> </RunSynchronous> </component> </settings> Edited October 6, 2009 by amit_talkin
amit_talkin Posted October 6, 2009 Author Posted October 6, 2009 you cant add commands to auditsystem!
maxXPsoft Posted October 6, 2009 Posted October 6, 2009 I was asking if you had an auditsystemauditsys sets up the user you use in audituser pass
Major Posted July 6, 2010 Posted July 6, 2010 (edited) I have the same error, here is my answer file: <settings pass="specialize"> <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> <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>CMD /C "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>2</Order> <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path> <WillReboot>OnRequest</WillReboot> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <settings pass="auditSystem"> <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"> <AutoLogon> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>Administrator</Username> </AutoLogon> </component> </settings> <settings pass="auditUser"> <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>cmd /c %AppsRoot%\install\Adobe.Reader.9.3.2\Adobe.Reader.9.3.msi TRANSFORMS=%AppsRoot%\install\Adobe.Reader.9.3.2\Adobe.Reader.9.3.mst /qr</Path> <Description>Adobe Reader 9.3.2</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>2</Order> <Path>cmd /c REGEDIT /S %AppsRoot%\install\Adobe.Reader.9.3.2\Reader.9.reg</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>5</Order> <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path> <Description>Reboot to oobe</Description> </RunSynchronousCommand> </RunSynchronous> </component> </settings>Then i have tried instead of the command sysprep, to insert the Microsoft-Windows-Deployment\Reseal\Mode:Audit to the pass (auditsystem) to my unattended file but without success also, i did not see any error but the applications were were not installed. i am wondering if i have to change the pass (not the mode) of the reseal to audit instead of auditsystem? <settings pass="auditSystem"> <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"> <AutoLogon> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>Administrator</Username> </AutoLogon> </component> <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"> <Reseal> <Mode>Audit</Mode> </Reseal> </component> </settings> Edited July 6, 2010 by Major
Tripredacus Posted July 6, 2010 Posted July 6, 2010 I think your problem lies with trying to run Sysprep when Sysprep is already running. If you try this in any other mode you will get an error too. If you want the system to boot into Audit, just use the Reseal object in oobeSystem.http://technet.microsoft.com/en-us/library/cc709627%28WS.10%29.aspx
Major Posted July 7, 2010 Posted July 7, 2010 Thanks, yes you are right. it is solved like as you say.
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