?
Solved

Deploy Software Based on Criteria

Posted on 2009-04-08
8
Medium Priority
?
215 Views
Last Modified: 2012-05-06
I have a domain with roughly 120 PCs and 30 or so servers.  I want to be able to use Software Installation through AD using .msi files, or other means, and target based on machines that need it.

For example, I need to deploy the Office 2007 Compatibility pack.  I know how to deploy it to the whole domain, but I don't want to deploy to machines that have Office 2007, or servers.

I could create an OU for machines with this, but doing an OU for each install would get messy quick.

Any suggestions on how I can do this effectively, and going forward for other installations once I define the scope?
0
Comment
Question by:rosederekj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 38

Assisted Solution

by:Shift-3
Shift-3 earned 1200 total points
ID: 24097918
If all of your machines are XP or newer then you can use a WMI filter to restrict which machines the GPO applies to.
0
 
LVL 8

Assisted Solution

by:mikainz
mikainz earned 800 total points
ID: 24097939
You can use a computer group which you allow the processing of your GPO.
+ easy to set up
- you need to add the computer objects to the group to get the software
You can build a WMI-filter.
- need knowledge of WMI-filtering
+ not further maintance if new computers are member of your domain.
hth
0
 

Author Comment

by:rosederekj
ID: 24098430
Seems good, but what would an example be?  I went to create a WMI filter but couldn't find any syntax examples.  In the attached screen capture, I have a filter I named "Test for Office Compatability Pack", then went to "Add" for the Query, and I assumed the namespace is root\cimv2\applications.

What would I have to put for instance to find machines with Office 2003 Basic Edition, and/or Office 2003 Professional?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:rosederekj
ID: 24098953
Update -

I found the syntax I believe:

SELECT * FROM Win32_Product WHERE (Caption <> "Microsoft Office%2007%")

or I can use

SELECT * FROM Win32_Product WHERE (Caption LIKE "Microsoft Office%2003%")

In both cases when I try to save, I get the error of "a syntax error occured trying to evaluate a query string"
0
 

Author Comment

by:rosederekj
ID: 24099775
I have what I need with regards to the query -

SELECT * FROM Win32_Product
WHERE Name Like 'Microsoft Office %2003%'

Question is how can I test this query?  I would like to see what machines it returns so I can validate a few.
0
 
LVL 38

Accepted Solution

by:
Shift-3 earned 1200 total points
ID: 24099928
There doesn't appear to be a good way to test it other than creating a new sub-OU, moving some computers into it, applying a GPO to it with a filter, then using the Group Policy Results node in GPMC to see which ones it applied to.
0
 
LVL 8

Assisted Solution

by:mikainz
mikainz earned 800 total points
ID: 24100017
You can only try to execute the WMI-query via vbscript on different remote machines,
think there are a lot of examples how to do this.
maybe you can check out http://support.microsoft.com/kb/305702/en-us
and you can adopt the script for your
hth
0
 

Author Closing Comment

by:rosederekj
ID: 31568060
WMI Filtering and the Sub OU to test the output works for me -thanks everyone!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here's a look at newsworthy articles and community happenings during the last month.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question