Skip to content

SCCM task sequence works - Need to sysprep and join domain

Featured Replies

We have an SCCM task sequence to image our machine either vis PXE or using a boot USB TS. I applied the image via SCCM, I now need to SYSPREP the computer and send the hard drive off to our supplier to put on computers we order and drop ship to users. The syspreped machine arrive, they plug in a network cable and should boot and join to the domain (we have it this way in XP now). I have created the answer file below, however it does not want to work. It fails after applying devices and stated it failed on error:

 

Windows could not parse or process the unattend answer file for pass [specialize]. The settings specified in the answer file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup].

We use Windows 7 x64 Enterpise and Dell Lattitude E series laptops and Optiplex 780 / 790 desktops. I have attached error logs from:

 

%WINDIR%\System32\Sysprep\Panther

%WINDIR%\Panther\Unattendgc

c:\windows\debug\netsetup.log

 

setupact1.logNetSetup.LOGsetupact.log

 

Any help, alternative ideas or suggestions would be great!

 

 

unattend.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="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">

<SkipRearm>1</SkipRearm>

</component>

</settings>

<settings pass="specialize">

<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>net user administrator /active:yes</Path>

</RunSynchronousCommand>

</RunSynchronous>

</component>

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

<ShowWindowsLive>false</ShowWindowsLive>

<TimeZone>Central Standard Time</TimeZone>

<ComputerName></ComputerName>

<ProductKey>Myproductkey</ProductKey>

</component>

<component name="Microsoft-Windows-UnattendedJoin" 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">

<Identification>

<Credentials>

<Domain>mydomain.com</Domain>

<Username>cmydomain\username</Username>

<Password>*****</Password>

</Credentials>

<DebugJoin>True</DebugJoin>

<JoinDomain>mydomain.com</JoinDomain>

<MachineObjectOU>myOU</MachineObjectOU>

</Identification>

</component>

</settings>

<settings pass="oobeSystem">

<component name="Microsoft-Windows-International-Core" 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">

<InputLocale>en-us</InputLocale>

<SystemLocale>en-us</SystemLocale>

<UILanguage>en-us</UILanguage>

<UserLocale>en-us</UserLocale>

</component>

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

<Password>

<Value>RAByADMAYQBtAGUAcgAhAFAAYQBzAHMAdwBvAHIAZAA=</Value>

<PlainText>false</PlainText>

</Password>

<Username>Administrator</Username>

<LogonCount>5</LogonCount>

<Enabled>true</Enabled>

</AutoLogon>

<OOBE>

<HideEULAPage>true</HideEULAPage>

<NetworkLocation>Work</NetworkLocation>

<ProtectYourPC>1</ProtectYourPC>

<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>

</OOBE>

<UserAccounts>

<AdministratorPassword>

<Value>RAByADMAYQBtAGUAcgAhAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>

<PlainText>false</PlainText>

</AdministratorPassword>

<LocalAccounts>

<LocalAccount wcm:action="add">

<Password>

<Value>RAByADMAYQBtAGUAcgAhAFAAYQBzAHMAdwBvAHIAZAA=</Value>

<PlainText>false</PlainText>

</Password>

<Description>Local Administrator</Description>

<DisplayName>Administrator</DisplayName>

<Group>Administrators</Group>

<Name>Administrator</Name>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

<RegisteredOrganization>mycomapany</RegisteredOrganization>

<RegisteredOwner>maycompany</RegisteredOwner>

</component>

</settings>

<cpi:offlineImage cpi:source="catalog:h:/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

Petebuk,

 

The first thing I notice is that you said you are using Windows 7 X64 Enterprise, but the unattend file has “processorArchitecture="x86"” throughout.

I recommend that you use WSIM to create a new unattend file. WSIM (Windows System Image Manager) is a part of the Windows Automated Installation Kit (WAIK Download page is here). WAIK can be downloaded and used by itself or as part of the Microsoft Deployment Toolkit (MDT Home page is here). All of these tools are free, and can be used in conjunction with SCCM.

 

Hope this helps,

 

David

Windows Outreach Team – IT Pro

The Springboard Series on TechNet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

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.