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.

 

-


Comments (2)

  1. Anonymous says:

    Hallo Paul,

    thanks for your useful tips about sccm and  WMI Queries.

    I try to install the McAfee Agent over a Task-Sequence in dependency of the IP Subnet. This is because we use different McAfee ePO Servers for internal and external security zones.

    If i use the Query Select * from Win32_NetworkAdapterConfiguration where IPSubet="10.60.110"

    I got the message "contains invalid syntax" – possible reason "invalid query".

    What is the correct syntax for that Query (for Windows Server 2003 32 Bit and Windows Server 2008 R2 64 Bit) ?

    Thanks for your support.

    Haecki

  2. Renne Santiago says:

    You are just missing the "n" in subnet.

Skip to main content