Post by cc on Oct 17, 2019 20:31:03 GMT
Here is a config sample I used recently with ServiceUI and anj SCCM Upgrade Task Sequence to upgrade WIN7 to WIN10
It will authenticate against an AD security group called "Update Admins" and perform a Pre-Flight check including minimum 25GB disk check.
Hope it helps...
It will authenticate against an AD security group called "Update Admins" and perform a Pre-Flight check including minimum 25GB disk check.
Hope it helps...
<UIpp Title="Win10 Upgrade" Icon="windows_10.ico" Color="#3366ff">
<Actions>
<Action Type="UserAuth" Title="User Authentication" Domain="domain.com" Group="Upgrade Admisn" GetGroups="True" ShowBack="True">
<Field Name="Domain" ReadOnly="True" />
</Action>
<Action Type="Info" Name="myInfo" Title="Welcome %XAuthenticatedUser%">
<![CDATA[Select the Check Mark below to continue with the Upgrade<br>]]>
</Action>
<Action Type="DefaultValues" ValueTypes="All" ShowProgress="True">
</Action>
<Action Type="WMIRead" Namespace="root\cimv2" Class="Win32_LogicalDisk" Property="FreeSpace" KeyQualifier="DeviceID='%XOSSystemDrive%'" Variable="YSystemDiskFreeSpaceBytes"/>
<Action Type="TSVar" Name="YSystemDiskFreeSpaceGB">Round(%YSystemDiskFreeSpaceBytes% / 1024 / 1024 / 1024, 2)
</Action>
<Action Type="Preflight" Title="Preflight checks" ShowBack="True">
<Check Text="WLAN Disconnected" CheckCondition='"%XWLANDisconnected%" = "True"' ErrorDescription="Only systems physically connected to the LAN can be upgraded to Windows 10." />
<Check Text="Not on battery" CheckCondition='"%XOnBattery%" = "False"' ErrorDescription="Only systems connected to AC power can be upgraded to Windows 10." />
<Check Text="Minimum memory > 2GB" CheckCondition='%XHWMemory% >= 2048' ErrorDescription="This system only has %XHWMemory%GB of memory and thus cannot be upgrade to Windows 10." />
<Check Text="CPU Supports Windows 8+" CheckCondition='%XCPUPAE% AND %XCPUNX% AND %XCPUSSE2% = True' ErrorDescription="Only systems with at least 1GB CPU or higher can be upgraded to Windows 10." />
<Check Text="25GB System Disk Free Space" CheckCondition='%YSystemDiskFreeSpaceGB% > 25' ErrorDescription="This system only has %YSystemDiskFreeSpaceGB%GB of free space and thus cannot be upgraded to Windows 10." />
</Action>
</Actions>
</UIpp>