Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

FAQ: Policy appling on multiple computers

Updated: 04 Jan 2012 | 3 comments
SMP Dev Team's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Here's a question that we received in our Dev Team group email, and thought it was a good discussion thread to share:

I’m having few queries regarding policy apply on multiple computers.

I’m having a policy created which is similar to Wallpaper policy discussed on connect site. Consider a situation where I’m having 1 Notification server and the plug-in is installed  on multiple computers. Now when I change the policy and I want it to apply to multiple computers, also I want to log the information i.e.  to which computers the policy is applied.

So how can I get this information programmatically so that I can log it into some file on hard drive. Is there any article which discusses the same thing or is there any code template available to get this information.  So in short what I’m interested is to get the machines which are selected for policy apply.

Comments

SMP Dev Team's picture
04
Jan
2012
0 Votes 0
Login to vote

Solution: Policy appling on multiple computers

You should override the OnBuildClientConfigXml2() Method and query the server to get any information required.  Please go through the following links which may found useful regarding your query.
 
http://ali-mydev.altiris.com/Wiki/default.aspx/Alt...
http://ali-mydev.altiris.com/wiki/content/upload/h...

Mark Greenwood's picture
04
Jan
2012
0 Votes 0
Login to vote

The only problem with

The only problem with ali-mydev URL's is that you have to be connected to the corporate network to receive them.  Are there any outside Symantec network URL's with the same information?

Regards

Mark Greenwood's picture
04
Jan
2012
0 Votes 0
Login to vote

... in addition are they

... in addition are they definately looking for a programmatic answer?  The initial question seems to be a standard policy question - e.g. they appear to be wanting to know which computers will receive the ammended policy (in other words the current Target or Computer collection set in the policy)?

Since the target can change over time based on the filters it uses are they intending to only change the offline data on a change in the policy or on a schedule etc.  The problem is that they will never necessarily be sure of the machines which have the ammended data unless they can ensure that the query they use also takes into account the last time the machine received config AND that their plugin was installed at this time...