Hello, According to the error code, try use the <SkipRearm> setting in an XML answer file (Unattend.xml) to skip the Rearm process when you build the Windows image. The following text is an example of an XML answer file: <settings pass="generalize"> <component name="Microsoft-Windows-Security-SPP" 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"> <SkipRearm>1</SkipRearm> </component> </settings> You must make sure that the <SkipRearm> setting is removed from the final unattended file that is used to deploy computers in a production environment.
Executing sysprep.exe with unattend.xml in windows 10,and get a error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SLReArmWindows' from C:\Windows\System32\slc.dll; dwRet = 0xc004f075
I use sysprep to reset vm sid with unattend.xml, but I get a error
SYSPRP Exiting SysprepGeneralize (Appx). SYSPRP ActionPlatform::LaunchModule: Successfully executed 'SysprepGeneralize' from C:\Windows\System32\AppxSysprep.dll SYSPRP ActionPlatform::LaunchModule: Executing method 'SLReArmWindows' from C:\Windows\System32\slc.dll SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SLReArmWindows' from C:\Windows\System32\slc.dll; dwRet = 0xc004f075 SYSPRP SysprepSession::ExecuteAction: Failed during sysprepModule operation; dwRet = 0xc004f075 SYSPRP SysprepSession::ExecuteInternal: Error in executing action for Microsoft-Windows-Security-SPP; dwRet = 0xc004f075 SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0xc004f075 SYSPRP SysprepSession::Execute: Sysprep mode was not specified, deleting it from registry SYSPRP RunPlatformActions:Failed while executing Sysprep session actions; dwRet = 0xc004f075 SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0xc004f075 SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0xc004f075
and my full unattned.xml
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" 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">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<settings pass="oobeSystem">
<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>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
</component>
</settings>
</unattend>