Post by dreday19 on Jan 13, 2020 22:48:50 GMT
How do i get the TS to join the domain and place the system in the right OU? In my TS i have a "Apply Network Settings" step that should join the system to the domain based on a "if" condition that states the following:
"This group/step will run if the following conditions are met:
Task Sequence Variable MyLoc1 equals "MVC"
There are no errors in the UI++ log and none that i can see in smsts. See my UI++ config below.
"This group/step will run if the following conditions are met:
Task Sequence Variable MyLoc1 equals "MVC"
There are no errors in the UI++ log and none that i can see in smsts. See my UI++ config below.
<?xml version="1.0" encoding="utf-8"?>
<UIpp Title="ServiceDesk OSD" Icon="UI++.ico" Color="#00a6ce" DialogIcons="Yes">
<Actions>
<Action Type="UserAuth" Title="User Authentication" Domain="DOMAIN" MaxRetryCount="3" Group="ConfigMgr Techs" Attributes="description,physicalDeliveryOfficeName"/>
<Action Type="DefaultValues" ValueTypes="All" ShowProgress="True">
<Text Type="OS" Value="Retrieving Operating System information" />
<Text Type="TPM" Value="Retrieving TPM information" />
<Text Type="Net" Value="Retrieving Networking information" />
<Text Type="VM" Value="Retrieving Virtualization information" />
<Text Type="Asset" Value="Retrieving Asset information" />
<Text Type="Domain" Value="Retrieving Domain information" />
</Action>
<Action Type="Preflight" Title="Preflight checks" ShowOnFailureOnly="False" ShowBack="True" ShowCancel="True">
<Check Text="WLAN Disconnected" CheckCondition='"%XWLANDisconnected%" = "True"' />
<Check Text="Not on battery" ErrorDescription="Please ensure that the system is connected to AC Power." CheckCondition='"%XOnBattery%" = "False"' />
<Check Text="Minimum memory > 1GB" CheckCondition='%XHWMemory% >= 1024' WarnCondition='%XHWMemory% >= 4096' ErrorDescription="Please ensure that the system has at least 1 GB of memory." WarnDescription="For best results, this system should have at least 4 GB of memory"/>
<Check Text="CPU Supports Windows 8+" CheckCondition='%XCPUPAE% AND %XCPUNX% AND %XCPUSSE2% = True' />
<Check Text="UEFI Enabled" WarnCondition='"%XSystemUEFI%" = "True"' WarnDescription="For security purposes, UEFI should be enabled."/>
</Action>
<Action Type="WMIRead" Variable="ComputerName" Namespace="root\cimv2" Class="Win32_ComputerSystem" Property="Name"/>
<Action Type="WMIRead" Variable="SerNumber" Namespace="root\cimv2" Class="Win32_BIOS" Property="SerialNumber"/>
<Action Type="WMIRead" Variable="DellServiceTag" Namespace="root\cimv2" Class="Win32_SystemEnclosure" Property="SerialNumber"/>
<Action Type="Input" Name="OUChoice" Title="AD Organizational Unit" ShowBack="True" ShowCancel="True">
<ChoiceInput Variable="MyLocation" AlternateVariable="SystemPrefix" Sort="False" Question="Please choose an AD OU for this system" Required="True" AutoComplete="False">
<Choice Option="San Francisco" Value="OU=San Francisco,OU=Workstation,DC=TEST,DC=CONFIG,DC=COM" AlternateValue="SFC" />
<Choice Option="Foster City" Value="OU=Foster,City,OU=Workstation,DC=TEST,DC=CONFIG,DC=COM" AlternateValue="FOS" />
<Choice Option="Mountain View" Value="OU=Mountain View,OU=Workstation,DC=TEST,DC=CONFIG,DC=COM" AlternateValue="MVC" />
<Choice Option="San Jose" Value="OU=San Jose,OU=Workstation,DC=TEST,DC=CONFIG,DC=COM" AlternateValue="SJC" />
<Choice Option="Santa Monica" Value="OU=Santa Monica,OU=Workstation,DC=TEST,DC=CONFIG,DC=COM" AlternateValue="SMC" />
<Choice Option="Seattle" Value="OU=Seattle,OU=Workstation,DC=TEST,DC=CONFIG,DC=COM" AlternateValue="SEA" />
<Choice Option="New York" Value="OU=New York,OU=Workstation,DC=TEST,DC=CONFIG,DC=COM" AlternateValue="NYC" />
<Choice Option="Remote" Value="OU=Remote,OU=Workstation,DC=TEST,DC=CONFIG,DC=COM" AlternateValue="REM" />
<Choice Option="Loaner" Value="OU=Finance,OU=Workstation,DC=TEST,DC=CONFIG,DC=COM" AlternateValue="LN" />
</ChoiceInput>
<ChoiceInput Variable="ZZBuildType" Question="Which image would you like to deploy?" Required="True">
<Choice Option="Yoda" Value="Yoda" />
<!--<Choice Option="Yoda - Conference Room" Value="Win8.1x64" />-->
<Choice Option="Yoda - Loaner" Value="YodaLoaner" />
<!--<Choice Option="Yoda - Travel" Value="Win7x64" />-->
</ChoiceInput>
</Action>
<!--<Software>
<Application Id="59426C81-2638-47AF-82A7-AFEA795B47B7" Label="Adobe Reader XI" Name="Adobe Reader XI"/>
<Application Id="D30B903C-95ED-4AC9-8256-EFADD02FAFF3" Label="Notepad++ v6.6.8" Name="Notepad++ v6.6.8" />
<Package Id="9EBF5537-6A81-4651-86D4-4E51C8899F4D" Label=".NET Framework 4.5.2" PkgID="ONE000100" ProgramName="Install .Net 4.5.2" />
<Package Id="E6677316-BA46-4553-A8B8-0818875DFADB" Label="Internet Explorer 11" PkgID="ONE000101" ProgramName="Install IE11" />
<Application Id="7D2F6F33-38DA-404C-9E10-1A3845BE0270" Label="Royal TS V2" Name="Royal TS V2" />
<Application Id="9E30C625-9B5D-480D-AA55-6055F713AE29" Label="Microsoft Office 2013" Name="Microsoft Office 2013" />
</Software>-->
<Action Type="TSVar" Name="OSDTimezone" Condition='"%SystemPrefix%" = "SFC"'>Pacific Standard Time</Action>
<Action Type="TSVar" Name="OSDTimezone" Condition='"%SystemPrefix%" = "FOS"'>Pacific Standard Time</Action>
<Action Type="TSVar" Name="OSDTimezone" Condition='"%SystemPrefix%" = "MVC"'>Pacific Standard Time</Action>
<Action Type="TSVar" Name="OSDTimezone" Condition='"%SystemPrefix%" = "SJC"'>Pacific Standard Time</Action>
<Action Type="TSVar" Name="OSDTimezone" Condition='"%SystemPrefix%" = "SMC"'>Pacific Standard Time</Action>
<Action Type="TSVar" Name="OSDTimezone" Condition='"%SystemPrefix%" = "SEA"'>Pacific Standard Time</Action>
<Action Type="TSVar" Name="OSDTimezone" Condition='"%SystemPrefix%" = "NYC"'>Eastern Standard Time</Action>
<Action Type="TSVar" Name="OSDTimezone" Condition='"%SystemPrefix%" = "REM"'>Central Standard Time</Action>
<Action Type="TSVar" Name="MyLoc1" >Left("%SystemPrefix%",3)</Action>
<Action Type="TSVar" Name="SerNumber">Right("%SerNumber%",11)</Action>
<Action Type="TSVar" Name="OSDDomainOUName" >LDAP://%MyLocation%</Action>
<Action Type="TSVar" Name="OSDComputerName">"%MyLoc1%-%SerNumber%"</Action>
<Action Type="Info" Title="System Information" Name="SystemName" ShowBack="True" ShowCancel="True">
<![CDATA[<br> Manufacturer: <b>%XHWManufacturer%</b><br>Model: <b>%XHWModel%</b><br>Serialnumber: <b>%XHWSerialNumber%</b><br>Computername:<b>%OSDComputerName%</b><br>TimeZone: <b>%OSDTimezone%</b> Domain OU:<br> <b>%OSDDomainOUName%</b><br>]]>
</Action>
</Actions>
</UIpp>