Re: Selective Install Based on OS?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Note, if your goal is to exclude a GPO from being processed by Win2K, because Win2K does not process WMI Filters, you can't use those. So, as Roger alluded to, you would need to use another method. For example, you could put your Win2K systems in a security group and then set the permissions on that GPO to Deny Apply Group Policy to that group.

You can use WMI filters to exclude non-Win2K machines from processing a GPO. For example, you could create a WMI query that you put on a filter that says:

Select * From Win32_OperatingSystem Where BuildNumber <2600 and that would exclude XP and newer OS'.



--
Darren Mar-Elia
MS-MVP-Windows Server--Group Policy
http://www.gpoguy.com -- The Windows Group Policy Information Hub:
FAQs, Training Videos, Whitepapers and Utilities for all things Group
Policy-related

Speed Group Policy Troubleshooting with the NEW GPHealth Reporter tool at http://www.sdmsoftware.com/products.php


"Roger Abell [MVP]" <mvpNoSpam@xxxxxxx> wrote in message news:ui4hGytRHHA.4404@xxxxxxxxxxxxxxxxxxxxxxx
"Will" <westes-usc@xxxxxxxxxxxxxx> wrote in message news:xMydnd7zQq06Z1_YnZ2dnUVZ_rKvnZ2d@xxxxxxxxxxxxxxx
"Florian Frommherz" <florian@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:e0fCF#pRHHA.412@xxxxxxxxxxxxxxxxxxxxxxx
Howdie Will!
You can use WMI filtering to trigger Group Policies for operating
systems and even Service Pack levels. But as only Windows XP and Windows
Server 2003 "understand" WMI filtering (Windows 2000 will just ignore
the filtering and apply the policy anyway) you'll need to watch out when
designing a solution like this.

I have always wondered about what WMI is and how to use it. On many of our
machines there are eventviewer complaints about the WMI subsystem, so
probably we have some permissions too tight. Is there a good intro
document to using it?


There is a "Search microsoft.com for:" box on many pages at the MS site.
Try entering wmi into it.
Then, among other things, get the WMI reference and SDK
If you can find a step by step that you like that covers use of the
WMI class browser, then you would be familiarized with one of
the most important tools for getting to know what is in WMI

Your boxes should be running without errors in the event logs
related to WMI, especially if you will be wanting to do any
centralized management/monitoring of them.

http://go.microsoft.com/fwlink/?LinkId=62562
is a tool (for machine local use) to help resolve problems

In terms of conflict with Windows 2000, is there a way to trigger it to run
a script only on a Windows 2003 system and to not interfere with Windows
2000 processing of GP?


Not via GP in and of itself alone.
You would need to place a test in the script, and exit if not W2k3.
A somethings usable approach is to use such as a "legacy" subOU
in any OU that contains computer objects, and move the W2k
systems into this.


.



Relevant Pages

  • WMI Problems
    ... the WMI service wouldn't even start. ... Ensure the Windows Management ... In Group Policy Management When I click on WMI Filters: ... Small Business Server Internet Connection Firewall ...
    (microsoft.public.windows.server.sbs)
  • Re: questions about domain managed software
    ... Looks to me like the link to the WMI SDK is 404. ... > Group Policy Objects Applied to Organizational Units Containing Only Groups ... > Filter the scope of Group Policy according to security group membership: ... > WMI Filters overview ...
    (microsoft.public.windows.server.active_directory)
  • Re: WMI filter is not applying correctly
    ... I have a deep impression that I have read something about WMI filters applying just to computer accounts. ... WMI filters will be evaluated before processing the Group Policy regardless of what is inside the GPO and where it is linked. ...
    (microsoft.public.windows.group_policy)
  • WMI with windows 2000
    ... I am going to apply a group policy that deploys SP4 for windows 2000, ... I have heard that I can create a WMI that makes it so XP machines ...
    (microsoft.public.windows.server.general)
  • Re: WMI not working
    ... what does this have to do with WMI? ... Scripting and WMI Filters. ... relating to the use of WMI Filters being applied to Group Policy ... user logon processing hence the link between WMI and logon. ...
    (microsoft.public.win32.programmer.wmi)