Quantcast
Channel: Configuration Manager 2007 Operating System Deployment forum
Viewing all articles
Browse latest Browse all 1063

Task Sequence - Cant/Wont join Domain

$
0
0

Hi all

Having a few issue when attempting to join domain via task sequence

<?xml version="1.0"?>

-<SmsTaskSequencePackage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<BootImageID>SCN00001</BootImageID>

<Category/>

<DependentProgram/>

<Description/>

<Duration>360</Duration>

<Name>Optiplex 790 Windows 7</Name>

<ProgramFlags>152084496</ProgramFlags>


-<SequenceData>


-<sequence version="3.00">


-<referenceList>

<reference package="SCN0002F"/>

<reference package="SCN0000C"/>

<reference package="SCN0001C"/>

<reference package="SCN00030" program="Silverlight Install"/>

<reference package="SCN00031" program="Adobe Install"/>

<reference package="SCN00032" program="Flash Install"/>

<reference package="SCN00033" program="Removal"/>

<reference package="SCN00034" program="Java Install"/>

<reference package="SCN00035" program="Sophos Install"/>

</referenceList>


-<globalVarList>

<variable property="SMPRetryCount" name="OSDStateSMPRetryCount">3</variable>

<variable property="SMPRetryTime" name="OSDStateSMPRetryTime">60</variable>

</globalVarList>


-<group name="Capture Files and Settings" description="Actions to capture files and settings in the original operating system">


-<condition>


-<expression type="SMS_TaskSequence_VariableConditionExpression">

<variable name="Operator">equals</variable>

<variable name="Value">false</variable>

<variable name="Variable">_SMSTSInWinPE</variable>

</expression>

</condition>


-<group name="Capture User Files and Settings" description="Capture User Files and Settings">


-<step name="Request User State Storage" description="" type="SMS_TaskSequence_RequestStateStoreAction" successCodeList="0" runIn="FullOS">

<action>osdsmpclient.exe /capture</action>


-<defaultVarList>

<variable property="FallbackToNAA" name="OSDStateFallbackToNAA">false</variable>

<variable property="RequestType" name="OSDStateRequestType" hidden="true">capture</variable>

<variable property="SMPRetryCount" name="OSDStateSMPRetryCount" hidden="true">3</variable>

<variable property="SMPRetryTime" name="OSDStateSMPRetryTime" hidden="true">60</variable>

</defaultVarList>

</step>


-<step name="Capture User Files and Settings" description="" type="SMS_TaskSequence_CaptureUserStateAction" successCodeList="0" runIn="FullOS" continueOnError="true">

<action>osdmigrateuserstate.exe /collect /continueOnError:%OSDMigrateContinueOnLockedFiles% /skipefs:%OSDMigrateSkipEncryptedFiles%</action>


-<defaultVarList>

<variable property="ContinueOnLockedFiles" name="OSDMigrateContinueOnLockedFiles">true</variable>

<variable property="EnableVerboseLogging" name="OSDMigrateEnableVerboseLogging">false</variable>

<variable property="Mode" name="OSDMigrateMode">Simple</variable>

<variable property="SkipEncryptedFiles" name="OSDMigrateSkipEncryptedFiles">false</variable>

<variable property="UsmtPackageID" name="_OSDMigrateUsmtPackageID">SCN0002F</variable>

</defaultVarList>

</step>


-<step name="Release User State Storage" description="" type="SMS_TaskSequence_ReleaseStateStoreAction" successCodeList="0" runIn="FullOS">

<action>osdsmpclient.exe /release</action>

<defaultVarList/>

</step>

</group>

</group>


-<group name="Install Operating System" description="Actions to run in Windows PE to install and configure the image">


-<step name="Restart in Windows PE" description="" type="SMS_TaskSequence_RebootAction" successCodeList="0" runIn="WinPEandFullOS">


-<condition>


-<expression type="SMS_TaskSequence_VariableConditionExpression">

<variable name="Operator">equals</variable>

<variable name="Value">false</variable>

<variable name="Variable">_SMSTSInWinPE</variable>

</expression>

</condition>

<action>smsboot.exe /target:WinPE</action>


-<defaultVarList>

<variable property="Message" name="SMSRebootMessage">A new Microsoft Windows operating system is being installed. The computer must reboot to continue.</variable>

<variable property="MessageTimeout" name="SMSRebootTimeout">10</variable>

<variable property="Target" name="SMSRebootTarget" hidden="true">WinPE</variable>

</defaultVarList>

</step>


-<step name="Format and Partition Disk" description="" type="SMS_TaskSequence_PartitionDiskAction" successCodeList="0" runIn="WinPE">

<action>osddiskpart.exe</action>


-<defaultVarList>

<variable property="DiskIndex" name="OSDDiskIndex">0</variable>

<variable property="DiskType" name="OSDDiskType">BASIC</variable>

<variable property="DiskpartBiosCompatibilityMode" name="OSDDiskpartBiosCompatibilityMode">false</variable>

<variable property="GPTBootDisk" name="OSDGPTBootDisk">false</variable>

<variable property="PartitionStyle" name="OSDPartitionStyle">MBR</variable>

<variable property="Partitions" name="OSDPartitions" hidden="true">2</variable>

<variable property="Partitions0Bootable" name="OSDPartitions0Bootable">false</variable>

<variable property="Partitions0FileSystem" name="OSDPartitions0FileSystem">NTFS</variable>

<variable property="Partitions0QuickFormat" name="OSDPartitions0QuickFormat">true</variable>

<variable property="Partitions0Size" name="OSDPartitions0Size">300</variable>

<variable property="Partitions0SizeUnits" name="OSDPartitions0SizeUnits">MB</variable>

<variable property="Partitions0Type" name="OSDPartitions0Type">PRIMARY</variable>

<variable property="Partitions0VolumeLetterVariable" name="OSDPartitions0VolumeLetterVariable">BOOTPART</variable>

<variable property="Partitions0VolumeName" name="OSDPartitions0VolumeName"> </variable>

<variable property="Partitions1Bootable" name="OSDPartitions1Bootable">false</variable>

<variable property="Partitions1FileSystem" name="OSDPartitions1FileSystem">NTFS</variable>

<variable property="Partitions1QuickFormat" name="OSDPartitions1QuickFormat">true</variable>

<variable property="Partitions1Size" name="OSDPartitions1Size">100</variable>

<variable property="Partitions1SizeUnits" name="OSDPartitions1SizeUnits">PERCENT</variable>

<variable property="Partitions1Type" name="OSDPartitions1Type">PRIMARY</variable>

<variable property="Partitions1VolumeLetterVariable" name="OSDPartitions1VolumeLetterVariable">OSPART</variable>

<variable property="Partitions1VolumeName" name="OSDPartitions1VolumeName"> </variable>

</defaultVarList>

</step>


-<step name="Apply Data Image" description="" type="SMS_TaskSequence_ApplyDataImageAction" successCodeList="0" runIn="WinPE">

<action>OSDApplyOS.exe /data:SCN0000C,%OSDDataImageIndex% /target:%BOOTPART%</action>


-<defaultVarList>

<variable property="DestinationVariable" name="DestinationVariable" hidden="true">BOOTPART</variable>

<variable property="ImageIndex" name="OSDDataImageIndex">1</variable>

<variable property="ImagePackageID" name="ImagePackageID" hidden="true">SCN0000C</variable>

<variable property="WipeDestinationPartition" name="OSDWipeDestinationPartition">true</variable>

</defaultVarList>

</step>


-<step name="Apply Operating System" description="Actions to apply operating system" type="SMS_TaskSequence_ApplyOperatingSystemAction" successCodeList="0" runIn="WinPE">

<action>OSDApplyOS.exe /image:SCN0000C,%OSDImageIndex% /target:%OSPART%</action>


-<defaultVarList>

<variable property="DestinationVariable" name="DestinationVariable" hidden="true">OSPART</variable>

<variable property="ImageIndex" name="OSDImageIndex">2</variable>

<variable property="ImagePackageID" name="ImagePackageID" hidden="true">SCN0000C</variable>

</defaultVarList>

</step>


-<step name="Auto Apply Drivers" description="" type="SMS_TaskSequence_AutoApplyAction" successCodeList="0" runIn="WinPE">

<action>osddriverclient.exe /auto /bestmatch:%OSDAutoApplyDriverBestMatch% /unsigned:%OSDAllowUnsignedDriver%</action>


-<defaultVarList>

<variable property="BestMatch" name="OSDAutoApplyDriverBestMatch">true</variable>

<variable property="CategoryList" name="OSDAutoApplyDriverCategoryList">DriverCategories:7072eeb2-5c6b-40b4-819a-08bc77ffbca0</variable>

<variable property="UnsignedDriver" name="OSDAllowUnsignedDriver">true</variable>

</defaultVarList>

</step>


-<step name="Setup windows and ConfigMgr" description="Actions to setup windows and ConfigMgr client" type="SMS_TaskSequence_SetupWindowsAndSMSAction" successCodeList="0" runIn="WinPEandFullOS">

<action>OSDSetupWindows.exe</action>


-<defaultVarList>

<variable property="ClientInstallProperties" name="SMSClientInstallProperties">mp:SMSSLP=etcSMSMP=etc</variable>

<variable property="ClientPackageID" name="_SMSClientPackageID">SCN0001C</variable>

</defaultVarList>

</step>


-<step name="Join Domain" description="" type="SMS_TaskSequence_JoinDomainWorkgroupAction" successCodeList="0" runIn="FullOS">

<action>osdjoin.exe /type:%OSDJoinType%</action>


-<defaultVarList>

<variable property="DomainName" name="OSDJoinDomainName">DOMAIN</variable>

<variable property="DomainPassword" name="OSDJoinPassword"> </variable>

<variable property="DomainUsername" name="OSDJoinAccount">DomainAccount</variable>

<variable property="SkipReboot" name="OSDJoinSkipReboot">false</variable>

<variable property="Type" name="OSDJoinType">0</variable>

</defaultVarList>

</step>

</group>


-<group name="Setup Operating System" description="Setup Operating System">


-<group name="Install Software" description="Actions to customize the new operating system">


-<step name="Install "Silverlight-Silverlight Install"" description="" type="SMS_TaskSequence_InstallSoftwareAction" successCodeList="0" runIn="FullOS" continueOnError="true">

<action>smsswd.exe /pkg:SCN00030 /install /basevar: /continueOnError:</action>


-<defaultVarList>

<variable property="PackageID" name="PackageID" hidden="true">SCN00030</variable>

<variable property="ProgramName" name="_SMSSWDProgramName">Silverlight Install</variable>

</defaultVarList>

</step>


-<step name="Install "Adobe 11-Adobe Install"" description="" type="SMS_TaskSequence_InstallSoftwareAction" successCodeList="0" runIn="FullOS" continueOnError="true">

<action>smsswd.exe /pkg:SCN00031 /install /basevar: /continueOnError:</action>


-<defaultVarList>

<variable property="PackageID" name="PackageID" hidden="true">SCN00031</variable>

<variable property="ProgramName" name="_SMSSWDProgramName">Adobe Install</variable>

</defaultVarList>

</step>


-<step name="Install "Flash Install-Flash Install"" description="" type="SMS_TaskSequence_InstallSoftwareAction" successCodeList="0" runIn="FullOS" continueOnError="true">

<action>smsswd.exe /pkg:SCN00032 /install /basevar: /continueOnError:</action>


-<defaultVarList>

<variable property="PackageID" name="PackageID" hidden="true">SCN00032</variable>

<variable property="ProgramName" name="_SMSSWDProgramName">Flash Install</variable>

</defaultVarList>

</step>


-<step name="Install "IE9 Removal-Removal"" description="" type="SMS_TaskSequence_InstallSoftwareAction" successCodeList="0" runIn="FullOS" continueOnError="true">

<action>smsswd.exe /pkg:SCN00033 /install /basevar: /continueOnError:</action>


-<defaultVarList>

<variable property="PackageID" name="PackageID" hidden="true">SCN00033</variable>

<variable property="ProgramName" name="_SMSSWDProgramName">Removal</variable>

</defaultVarList>

</step>


-<step name="Install "Java 6 u39-Java Install"" description="" type="SMS_TaskSequence_InstallSoftwareAction" successCodeList="0" runIn="FullOS" continueOnError="true">

<action>smsswd.exe /pkg:SCN00034 /install /basevar: /continueOnError:</action>


-<defaultVarList>

<variable property="PackageID" name="PackageID" hidden="true">SCN00034</variable>

<variable property="ProgramName" name="_SMSSWDProgramName">Java Install</variable>

</defaultVarList>

</step>


-<step name="Install "Sophos AV-Sophos Install"" description="" type="SMS_TaskSequence_InstallSoftwareAction" successCodeList="0" runIn="FullOS" continueOnError="true">

<action>smsswd.exe /pkg:SCN00035 /install /basevar: /continueOnError:</action>


-<defaultVarList>

<variable property="PackageID" name="PackageID" hidden="true">SCN00035</variable>

<variable property="ProgramName" name="_SMSSWDProgramName">Sophos Install</variable>

</defaultVarList>

</step>

</group>


-<group name="Restore User Files and Settings" description="Restore User Files and Settings" continueOnError="true">


-<step name="Request User State Storage" description="" type="SMS_TaskSequence_RequestStateStoreAction" successCodeList="0" runIn="FullOS">

<action>osdsmpclient.exe /restore</action>


-<defaultVarList>

<variable property="FallbackToNAA" name="OSDStateFallbackToNAA">false</variable>

<variable property="RequestType" name="OSDStateRequestType" hidden="true">restore</variable>

<variable property="SMPRetryCount" name="OSDStateSMPRetryCount" hidden="true">3</variable>

<variable property="SMPRetryTime" name="OSDStateSMPRetryTime" hidden="true">60</variable>

</defaultVarList>

</step>


-<step name="Restore User Files and Settings" description="" type="SMS_TaskSequence_RestoreUserStateAction" successCodeList="0" runIn="FullOS" continueOnError="true">

<action>osdmigrateuserstate.exe /apply /continueOnError:%OSDMigrateContinueOnRestore%</action>


-<defaultVarList>

<variable property="ContinueOnRestore" name="OSDMigrateContinueOnRestore">true</variable>

<variable property="EnableVerboseLogging" name="OSDMigrateEnableVerboseLogging">false</variable>

<variable property="LocalAccounts" name="OSDMigrateLocalAccounts">false</variable>

<variable property="Mode" name="OSDMigrateMode">Simple</variable>

<variable property="UsmtRestorePackageID" name="_OSDMigrateUsmtRestorePackageID">SCN0002F</variable>

</defaultVarList>

</step>


-<step name="Release User State Storage" description="" type="SMS_TaskSequence_ReleaseStateStoreAction" successCodeList="0" runIn="FullOS">

<action>osdsmpclient.exe /release</action>

<defaultVarList/>

</step>

</group>

</group>

</sequence>

</SequenceData>

<SourceDate>2014-03-26T16:12:12</SourceDate>

<SupportedOperatingSystems/>

<IconSize>0</IconSize>

</SmsTaskSequencePackage>

Once Setup Windows & ConfigMgr Runs it goes straight to login screen without joining domain. I will be attempting older drivers I know worked on previous Server and same model PC and will see if works just wondered if anyone had similar issue previously.



Viewing all articles
Browse latest Browse all 1063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>