Map a network drive based on group policy

P

Patrick

We are trying to create a group policy to control the
mapping of a network drive based on where the computer/PC
is located. How do you do this? I tried pointing the
Startup script to a batch file (.bat) under Computer
Configuration->Windows Setting->Scripts (Startup/Shutdown)
but it not executing it.

Is the Startup script executed before the Logon script
specified under User Configuration -> Windows Settings ->
Scripts (Logon/Logoff?

Also can you use a Startup script to map a network drive?

Appreciate any help. Thanks.
 
B

Bhargav Shukla

I think what you are doing is incorrect. You assing startup scripts (like
installs) to "Computer Configuration". Mapping a network drive requires user
authentication. Once you logon as a user, you can map a network drive using
logon scripts.

You can possibly use loopback processing to achieve your goal.
 
S

Samantha

Hi Patrick,

I use scripts on my network to map drives. I created batch files and
applied the batch files in the logon scripts in user configuration. You can
do this at the domain level, or at the OU if you want to differentiate.
 
J

Jose

I would suggest you use one vb script for all the users, the vb script
would then check which security group the user was part of and then
map all the necessary drives for that security group plus the printers
and even message box info.
 
C

Cary Shultz [A.D. MVP]

I might jump in here for a second....hope that no one minds!

There is a really good web site ( well, actually I am sure that there are
many! ) that has a lot of information in the form of samples that might just
really help. Take a look at the following web site from Richard Mueller:

http://www.rlmueller.net and simply navigate to the free vbs script code and
then go to the logon scripts. I think that #3 might be a good choice in a
WIN2000+ environment ( client-side ). I use it myself!

HTH,

Cary
 

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

Top