Multiple Logon Scripts in one GPO

A

Adam

I have 5 different scripts I need to run on various users
computers at startup. Do I need to make 5 different GPOs
for our five different departments to get them to run? Is
there a way to use a single GPO and assign the startup
scripts to a security group?

Any Help is Greatly Appreciated.
 
M

Mark

No you can use the same GPO and make the login script run against groups in
the same script if you want. One was is to use IFMEMBER.EXE. Just put
ifmember.exe in you script directory.

Then in your script you can run the script if they are member of a certain
group. Por Ejemplo.

:Group1
ifmember "Group1"
if not errorlevel 1 goto Group2
net use F: \\server\share or whatever script you want.

:Group2
ifmember "Group2"
if not errorlevel 1 goto "next group etc"
net use F: \\server\share or whatever script you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top