Rocket Man Posted January 30, 2013 Report post Posted January 30, 2013 Hi Hoping someone has an answer for this. I created a custom global condition that queries for a computer name.(this works) I have software that is required/available for certain machine names in a school, normally only 1 PC in a lab, approx 7 machines in total. When I create the deployment type and add the requirement I try the equals operator followed with values of PC1, PC2, PC3, PC4, PC5 etc.. (this does not work) I try the one of operator with the same values as above and this still does not work. At this stage I have tried every operator on the single deployment type such as begins with, one of, equals etc... with various values as above and also PC1:PC2:PC3:PC4...etc PC1;PC2;PC3;PC4..etc None of these work on the single deployment type. The only way I can get it to work is by having numerous deployment types like so: Deployment type1 My custom Global condition Operator equals value PC1 Deployment type2 My custom Global condition Operator equals value PC2 Deployment type3 My custom Global condition Operator equals value PC3 Deployment type4 My custom Global condition Operator equals value PC4 etc..... This is very time consuming as I have other software that meet the same criteria and also have alot more than 1 school. Is there a way to specify a multitude of computer names in the one deployment type(maybe my syntax is incorrect)?? i:e PC1, PC2, PC3, PC1:PC2:PC3 OR Is this not possible and I will have to do it the hard way? Thanks Rocket Man Quote Share this post Link to post Share on other sites More sharing options...
Peter33 Posted January 30, 2013 Report post Posted January 30, 2013 Is there any reason not to use a collection with a list of values for PC names? I'd rather let the server descide which machine gets the deployment, instead of publishing it to all clients. Quote Share this post Link to post Share on other sites More sharing options...
Rocket Man Posted January 30, 2013 Report post Posted January 30, 2013 Hi Peter I am making this software available in the APP catalog, so that staff can browse to it and install it.( I have made it available to the staff AD group) These staff roam so they may use any PC in the school, so I do not want them to install it on a standard PC(not that training and a bit of common knowledge from the staff would sort this out but I want to make it dummy proof), If they do browse to to the APP catalog from a standard machine and my filter was not in the deployment type then they could install it on the standard PC. This version of software is only to be installed on the specified PCs and not any other as students are not allowed to use it and if it was installed on a standard PC then they could well use it!! Do you know the proper synatx for adding multiple PC names to the filter/requirement so that i could only have one deployment type with all the computers in the requirement?? I have it working but only by adding multiple deployment types and a single Computer name in the requirement! Thanks Quote Share this post Link to post Share on other sites More sharing options...
Peter33 Posted January 30, 2013 Report post Posted January 30, 2013 Hi Rocket, the easiest way to implement this is to install the software through a collection to the desired machines. Then use a applocker GPO to limit the ability to execute the program for a group of users. Anyways, with a global condition do the following. create a registry value with data type string keyname: SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName valuename: ComputerName In your deployment type add this global condition as custom type and chose as operator "one of". Fill the list with computer names, one below each other. This works. Just tested it. The program itself would be usable for all users though when installed once? 1 Quote Share this post Link to post Share on other sites More sharing options...
Rocket Man Posted January 30, 2013 Report post Posted January 30, 2013 Thanks Peter if this works this is exactly what im looking for!! It will save me copying the deployment type numerous times and editing the computer name to suit..... a list of computer names is more efficient! The program itself would be usable for all users though when installed once? This wont matter as a tutor will always have the same PC in the lab so it will be only teachers that will be using this PC with the software on it!! Will try this and report back! Thanks! Quote Share this post Link to post Share on other sites More sharing options...
Rocket Man Posted January 30, 2013 Report post Posted January 30, 2013 Yep works like a charm..... Thanks Peter Quote Share this post Link to post Share on other sites More sharing options...