Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unattended setup error during audituser pass

Featured Replies

I am getting following error during audituser pass. It worked fine with vista. I searched on google but found no solution for it.

syspreperror(1).jpg

Error:

2009-10-05 09:05:14, Error	  [0x0f00b0] SYSPRP WinMain: Failed to query pending CBS operations; hr = 0x80070002

Log:

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:11

2009-10-05 09:05:11, Info [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\system32\sysprep\Panther

2009-10-05 09:05:11, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine

2009-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 anything

2009-10-05 09:05:14, Error [0x0f00b0] SYSPRP WinMain: Failed to query pending CBS operations; hr = 0x80070002

2009-10-05 09:06:25, Info [0x0f0052] SYSPRP Shutting down SysPrep log

2009-10-05 09:06:25, Info [0x0f004d] SYSPRP The time is now 2009-10-05 09:06:25

Answer 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 by amit_talkin

I was asking if you had an auditsystem

auditsys sets up the user you use in audituser pass

  • 8 months later...

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 by Major

Thanks, yes you are right. it is solved like as you say.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.