The Win32_MassDeploy WMI class can be used to target devices in specific departments or pilot systems. This is especially useful for Group Policy targeting.
Name: ReleaseChannel Type: string Registry path (32-bit): HKEY_LOCAL_MACHINE\SOFTWARE\MassDeploy|ReleaseChannel This value is often set to “Pilot” while setting up a computer with an “IT” build, but it can also be set manually, or automatically with Group Policy.
Name: TargetConfig Type: string Registry path (32-bit): HKEY_LOCAL_MACHINE\SOFTWARE\MassDeploy|TargetConfig By default, this value will match the build option chosen while setting up a device. e.g. If a PC was set up with an “Accounting” build, the TargetConfig value will be “Accounting” without the quotes.
The Win32_MassDeploy WMI class is automatically installed by the MassDeploy System Builder, but you can install it manually by running your “MassDeploy Windows Config” package.
Example Group Policy WMI Filters
In the Group Policy Management console, under WMI Filters, create a new filter called “IT Systems“. Add the following query:
SELECT * FROM Win32_MassDeploy WHERE TargetConfig = “IT”
In the Group Policy Management console, under WMI Filters, create a new filter called “Pilot Systems“. Add the following query:
SELECT * FROM Win32_MassDeploy WHERE ReleaseChannel = “Pilot”
Automatically Define Pilot Systems in Group Policy
You can use Group Policy Preferences to automatically define pilot systems, based on where your pilot users log on.
Open the Group Policy Management console
Create a new GPO called “Pilot system Targeting”
Edit the GPO and browse to: User Configuration\Preferences\Windows Settings\Registry
Create a New Registry Item with the following values:
Key Path: SOFTWARE\WOW6432Node\MassDeploy
Value name: ReleaseChannel
Value type: REG_SZ
Value data: Pilot
Under the Common tab, enable “Item-level targeting”
Press the “Targeting…” button
Create a new “WMI Query” item:
Query: SELECT OSArchitecture FROM Win32_OperatingSystem WHERE OSArchitecture = “64-bit”
Create a new “Security Group” item:
Press the “…” button to find your “pilot users” group
Select the “User in group” radio button
Press OK, and OK again
If you have any 32-bit systems, create another identical Registry Item with the Key Path: SOFTWARE\MassDeploy, and target OSArchitecture = “32-bit”
Automatically Define Pilot Systems in WSUS
You can use Group Policy to automatically sort computers into a WSUS “Pilot Systems” computer group, instead of manually updating the group each time a pilot user changes or rebuilds their computer.
Open the Group Policy Management console
Create a new GPO called “WSUS Pilot Systems”
In the Scope tab, under WMI Filtering, select “Pilot Systems”
Edit the GPO and browse to: Computer Configuration\Policies\Administrative Templates\Windows Components\Windows Update
Set the following values:
Enable client-side targeting=Enabled
Target group name for this computer=”Pilot Systems”
Open the WSUS admin console
Under <ServerName>\Computers\All Computers, add a computer group called “Pilot Systems”
Under Options\Computers, where “you can specify how to assign computers to groups”, select “Use Group Policy or registry settings on computers”
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.