Solved

Deploy Batch Script to install Applications through GPO

Posted on 2013-06-27
2
808 Views
Last Modified: 2013-07-01
Hello,

We have a batch file to install a specific application on our machines. We need to create a GPO to deploy this batch file but we need to just deploy this application to specific PCs or Specific users. How i can make a group and link this group to the group policy and apply to the PCs or the users whom added them to the Group.

Regards,
0
Comment
Question by:fadyaz
2 Comments
 
LVL 15

Accepted Solution

by:
Rob Stone earned 500 total points
ID: 39281972
The easiest way would be create a security group with the users and computers in, then create a GPO, but specify the permissions in the GPO for that group instead of Authenticated Users.

Edit - here is a link with the steps.

http://support.microsoft.com/kb/302430
0
 
LVL 54

Expert Comment

by:McKnife
ID: 39284076
Hi.

A second possibilty without filtering the GPos would be to use a membership check inside the batch. ifmember.exe can be used.
A 3rd poss. would be to wrap the batch into an msi package. WIWW by VinsVision is freeware and can do that. You could thend decide to filter on the MSI, not on the whole GPO.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

773 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