SCCM Task Sequence Options

 

SCCM Task Sequence Options - WMI Query for Manufacturer and Model:

This group/step will run if the following conditions are met:

WMI Query select Manufacturer from Win32_ComputerSystem where Manufacturer = "Dell Inc."

If Any of the conditions are true:

WMI Query select Model from Win32_ComputerSystem where Model = "Latitude D620"
WMI Query select Model from Win32_ComputerSystem where Model = "Latitude D830"

 

 

SCCM Task Sequence Options - Registry setting for detecting if a Service Pack or Hotfix is needed:

 This group/step will run if the following conditions are met:

If All the conditions are true:

Registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ {XYZ}" (REG_SZ) not exists

 

 

SCCM Task Sequence Options - Registry setting for detecting a specific version:

 This group/step will run if the following conditions are met:

If All the conditions are true:

Registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ {XYZ}" (REG_SZ) exists

Registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ {XYZ}\ DisplayVersion" (REG_SZ) less than "1.2.3"

 

 

 SCCM Task Sequence Options - Working with VMware to install VS Additions at end of Task Sequence

This group/step will run if the following conditions are met:

WMI Query for VMware: select Model from Win32_ComputerSystem where Model = "VMware Virtual Platform"

NOTE: For VMware I choose not to detect any drivers and do NOT install unsigned drivers under the Apply Device Drivers step. Else the machine would detect the wrong drivers and Blue Screen with IRQL_NOT_LESS_OR_EQUAL STOP: 0x0000000A.  I mounted the VS Tools and imported the MSI Package into SCCM.

WMI Query for Microsoft Virtual Server 2005: select Model from Win32_ComputerSystem where Model = "Virtual Machine"

I also use these queries to skip the Auto Device Drivers step when deploying to Virtual Machines.

 

-