Create a WMI Filter
Scenario/Problem: You
have a GPO in your domain. You want to ensure that the GPO is applied
only to computers that have Microsoft Windows XP Professional with
Service Pack 2 installed.
|
Solution: Create a WMI filter.
To create a WMI filter, perform the following steps:
1. | Log on to a domain controller or a member computer that has Windows Server 2008 RSAT installed.
|
2. | Click Start, click Administrative Tools, and then click Group Policy Management.
|
3. | In the console tree, expand the domains node, right-click the WMI Filters node and click New.
|
4. | In the New WMI Filter window, shown in Figure 1, enter a name for the WMI filter in the Name field and click Add.
|
5. | On the WMI Query window, shown in Figure 2, use the default namespace or type a new one. Type your WMI query into the Query field, and click OK.
|
6. | Click Save on the New WMI Filter window to save the WMI filter, as shown in Figure 3.
|
Import a WMI Filter
Scenario/Problem: You created a WMI filter in your test AD DS environment. You want to import this WMI filter into your production environment.
|
Solution: Import a WMI filter.
To import a WMI filter, perform the following steps:
1. | Log on to a domain controller or a member computer that has Windows Server 2008 RSAT installed.
|
2. | Click Start, click Administrative Tools, and then click Group Policy Management.
|
3. | In the console tree, right-click the WMI Filters node and click Import.
|
4. | On the Import WMI Filter window, type the name and location of the file to import; then click Open.
|
5. | On the Import WMI Filter window, shown in Figure 4, verify the settings and click Import.
|
Export a WMI Filter
Scenario/Problem:
You created a WMI filter in your test AD DS environment. You want to
export this WMI filter so you can import it into other environments.
|
Solution: Export a WMI filter.
To export a WMI filter, perform the following steps:
1. | Log on to a domain controller or a member computer that has Windows Server 2008 RSAT installed.
|
2. | Click Start, click Administrative Tools, and then click Group Policy Management.
|
3. | In the console tree, expand the WMI Filters node, right-click the WMI filter you want to export, and click Export.
|
4. | On the Export WMI Filter window, type the name and location of the file to export and click Save.
|