How to allow only 40 users to run .exe for a particular program\ 30 computers\ or user basis
Posted on 2016-09-14
I have installed Visual studio on only 30 PCs. When they run the project , it says "Error while running the project: unable to start the program \\File server-a\Students\16\16asmith\visual studio 2015\Projects\WindowsApplication4\bin\Debug\Windowsapplication.exe"
This program is blocked by group policy.
Our AD is structure this way
We have a separate User workstations OU (Under this) -Education Workstation OU
-Room 45 OU
PC1, PC2, .... PC30
-Room 46 OU
We will be using only Room 45, where Visual studio is installed.
On the User Student OU
- Class 17
- Class 18
- Class 19
On the Class 16 OU there are 20 students and on Class17 OU there are 20 students.
Now I want only the students in Class16 and Class 17 ( total 40 students) to run exe file, so that Visual studio projects runs successfully.
Do i need to create a separate GPO for this \Create a security group to run.exe and add only the 40 users to this group to run.exe
Or create a GPO to run .exe only for visual studio program.
Please let me know if there is a best way of doing this. Any tutorials will be great.
Thanks in advance