Unattend answer file for pass [oobe system] . The answer file is invalid
Hi All,
I am using this to sysprep a Win10 1809 version via VM on hyper-v.
This the error I get
And when i click OK, this is what i get
and if i click the above, the OOBE error appears and loops to the second screenshot.
I have gone through both Microsoft Technet support and Dell Support and they have asked me to get in contact with you guys over here.
Any help on this is greatly appreciated.
6 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
rocky.perritt
6 years ago
--------------
<?xml version="1.0" encoding="UTF-8"?>
-<unattend xmlns="urn:schemas-microsoft-com:unattend">
-<settings wasPassProcessed="true" pass="generalize">
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Security-SPP">
<SkipRearm>1</SkipRearm>
</component>
+<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-PnpSysprep">
</settings>
-<settings wasPassProcessed="true" pass="specialize">
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Deployment">
-<RunSynchronous>
-<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user administrator /active:No</Path>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
</RunSynchronous>
</component>
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Security-SPP-UX">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">
<ComputerName>*</ComputerName>
<CopyProfile>true</CopyProfile>
<TimeZone>TIMEZONE</TimeZone>
</component>
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-UnattendedJoin">
-<Identification>
-<Credentials>
<Domain>DOMAIN_FQDN</Domain>
<Password>*SENSITIVE*DATA*DELETED*</Password>
<Username>SAMACCOUNTNAMEADMIN</Username>
</Credentials>
<JoinDomain>DOMAIN_FQDN</JoinDomain>
<MachineObjectOU>OU_INTEGRATION</MachineObjectOU>
<JoinWorkgroup/>
</Identification>
</component>
</settings>
-<settings pass="oobeSystem">
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-International-Core">
<InputLocale>KEYBOARD_LAYOUT</InputLocale>
<SystemLocale>DEFAULT_SYSTEM_LAYOUT</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>USER_LOCALISATION</UserLocale>
</component>
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">
-<AutoLogon>
-<Password>
<Value>PASSWORD_LOCAL_ADMINISTRATOR</Value>
<PlainText>true</PlainText>
</Password>
<LogonCount>2</LogonCount>
<Enabled>true</Enabled>
<Username>LOGIN_LOCAL_ADMINISTRATOR</Username>
</AutoLogon>
-<FirstLogonCommands>
-<SynchronousCommand wcm:action="add">
<CommandLine>cscript c:\windows\system32\slmgr.vbs /ipk BHXQD-CNMKV-VMWBT-2YM2B-HT9R4</CommandLine>
<Description>Windows License Key</Description>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
-<SynchronousCommand wcm:action="add">
<RequiresUserInput>false</RequiresUserInput>
<Order>2</Order>
<Description>Active Windows</Description>
<CommandLine>cscript c:\windows\system32\slmgr.vbs /ato</CommandLine>
</SynchronousCommand>
-<SynchronousCommand wcm:action="add">
<CommandLine/>
<Description>Disable UAC</Description>
<Order>3</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
-<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
</OOBE>
-<UserAccounts>
-<LocalAccounts>
-<LocalAccount wcm:action="add">
-<Password>
<Value>PASSWORD_LOCAL_ADMINISTRATOR</Value>
<PlainText>true</PlainText>
</Password>
<Description>Local Administrator</Description>
<DisplayName>LOGIN_LOCAL_ADMINISTRATOR</DisplayName>
<Group>Administrators</Group>
<Name>LOGIN_LOCAL_ADMINISTRATOR</Name>
</LocalAccount>
</LocalAccounts>
-<DomainAccounts>
-<DomainAccountList wcm:action="add">
-<DomainAccount wcm:action="add">
<Group>Administrators</Group>
<Name>USERNAME</Name>
</DomainAccount>
<Domain>DOMAIN_FQDN</Domain>
</DomainAccountList>
</DomainAccounts>
</UserAccounts>
<RegisteredOrganization>InfoVista SAS</RegisteredOrganization>
<RegisteredOwner>InfoVista SAS</RegisteredOwner>
</component>
</settings>
</unattend> - lgoh 6 years ago
If you are deploying the image using the K2000, run the net use command to see which drive letter is mapped to the petemp share and copy the file there. You can then mount the share on another computer to get the file. Note that the petemp share is hidden, so you won't see it, but you can map a drive letter to it using the SAMBA password. - chucksteel 6 years ago
this is the unattend.xml from the system32 folder
--------------
<?xml version="1.0" encoding="UTF-8"?>
-<unattend xmlns="urn:schemas-microsoft-com:unattend">
-<settings pass="generalize">
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Security-SPP">
<SkipRearm>1</SkipRearm>
</component>
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-PnpSysprep">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
<DoNotCleanUpNonPresentDevices>false</DoNotCleanUpNonPresentDevices>
</component>
</settings>
-<settings pass="specialize">
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Deployment">
-<RunSynchronous>
+<RunSynchronousCommand wcm:action="add">
</RunSynchronous>
</component>
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Security-SPP-UX">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">
<ComputerName>*</ComputerName>
<CopyProfile>true</CopyProfile>
<TimeZone>TIMEZONE</TimeZone>
</component>
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-UnattendedJoin">
-<Identification>
-<Credentials>
<Domain>DOMAIN_FQDN</Domain>
<Password>PASSWORD_ADMIN</Password>
<Username>SAMACCOUNTNAMEADMIN</Username>
</Credentials>
<JoinDomain>DOMAIN_FQDN</JoinDomain>
<MachineObjectOU>OU_INTEGRATION</MachineObjectOU>
<JoinWorkgroup/>
</Identification>
</component>
</settings>
-<settings pass="oobeSystem">
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-International-Core">
<InputLocale>KEYBOARD_LAYOUT</InputLocale>
<SystemLocale>DEFAULT_SYSTEM_LAYOUT</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>USER_LOCALISATION</UserLocale>
</component>
-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">
-<AutoLogon>
-<Password>
<Value>PASSWORD_LOCAL_ADMINISTRATOR</Value>
<PlainText>true</PlainText>
</Password>
<LogonCount>2</LogonCount>
<Enabled>true</Enabled>
<Username>LOGIN_LOCAL_ADMINISTRATOR</Username>
</AutoLogon>
-<FirstLogonCommands>
-<SynchronousCommand wcm:action="add">
<CommandLine>cscript c:\windows\system32\slmgr.vbs /ipk BHXQD-CNMKV-VMWBT-2YM2B-HT9R4</CommandLine>
<Description>Windows License Key</Description>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
-<SynchronousCommand wcm:action="add">
<RequiresUserInput>false</RequiresUserInput>
<Order>2</Order>
<Description>Active Windows</Description>
<CommandLine>cscript c:\windows\system32\slmgr.vbs /ato</CommandLine>
</SynchronousCommand>
-<SynchronousCommand wcm:action="add">
<CommandLine/>
<Description>Disable UAC</Description>
<Order>3</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
-<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
</OOBE>
-<UserAccounts>
-<LocalAccounts>
-<LocalAccount wcm:action="add">
-<Password>
<Value>PASSWORD_LOCAL_ADMINISTRATOR</Value>
<PlainText>true</PlainText>
</Password>
<Description>Local Administrator</Description>
<DisplayName>LOGIN_LOCAL_ADMINISTRATOR</DisplayName>
<Group>Administrators</Group>
<Name>LOGIN_LOCAL_ADMINISTRATOR</Name>
</LocalAccount>
</LocalAccounts>
-<DomainAccounts>
-<DomainAccountList wcm:action="add">
-<DomainAccount wcm:action="add">
<Group>Administrators</Group>
<Name>USERNAME</Name>
</DomainAccount>
<Domain>DOMAIN_FQDN</Domain>
</DomainAccountList>
</DomainAccounts>
</UserAccounts>
<RegisteredOrganization>InfoVista SAS</RegisteredOrganization>
<RegisteredOwner>InfoVista SAS</RegisteredOwner>
</component>
</settings>
</unattend> - lgoh 6 years ago
Removing the <CopyProfile>true</CopyProfile> (or set to false) resolved the issue in my environment. - styler 6 years ago
https://www.itninja.com/blog/view/validating-unattend-xml-files-with-system-image-manager - jamie_kace 6 years ago
https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install
The System Image Manager Tool is part of the Deployment tools when you install the ADK. - jamie_kace 6 years ago
apologies on the late replies. So this is what i did.
Reinstall Win 10 v1803 , deactivated Windows Defender. Use the Kace K2000 sysprep executor (all green) and edited the unattend.xml file by removing the <copyprofile>.
Still getting the same error as what i mentioned above. There is no unattend.xml file in the panther folder . - lgoh 6 years ago
2018-09-19 15:47:26, Error SYSPRP ClipCleanUpState resetting WNF_OLIC_OS_LICENSE_TERMS_ACCEPTED failed with NTSTATUS=c0000022[gle=0x00000002] - lgoh 6 years ago
https://www.dell.com/community/ImageAssist/Windows-10-Creator-Update/td-p/5111969
https://social.technet.microsoft.com/Forums/en-US/87e7ce72-0907-46d0-b042-6dafc633e53d/wnfolicoslicensetermsaccepted?forum=win10itprosetup
OEM media is not supported by Quest:
https://support.quest.com/kace-systems-deployment-appliance/kb/135252/using-oem-source-media-and-images
Here is how to validate the Media BEFORE running sysprep, it shoud return as Volume Licensed:
https://www.tenforums.com/tutorials/49586-determine-if-windows-license-type-oem-retail-volume.html - Channeler 6 years ago