need help on login scripts

K

klnyc

Hi guys.
I have a win2k DC and few win2k wstn. Im trying to write alittle scripts
so it maps out few drives, but it seem its nothing working at all.
I went to the GPO and went to the edit option and browse for that login
script that I saved and still I cant get mapped.
 
G

Guest

net use f: /delete /yes
net use z: /delete /yes
net use o: /delete /yes

net use f: \\servername\c /yes
net use z: \\servername\silverplume /yes
net use o: \\servername\images /yes

i did that in a batch file. then just added it to the group policy on the domain controler.

also put quotes around shares that have a space in the name.
 
K

klnyc

James Carney said:
net use f: /delete /yes
net use z: /delete /yes
net use o: /delete /yes

net use f: \\servername\c /yes
net use z: \\servername\silverplume /yes
net use o: \\servername\images /yes

i did that in a batch file. then just added it to the group policy on the domain controler.

also put quotes around shares that have a space in the name.

Whats the slash Yes are for?
You put this login.bat into the sysvol/scripts folder, no?
 
G

Guest

you can put the batch file anywhere you want it to go. i usually put it on a network share.

then go into active directory.
go to the container that contains the accounts that you wish to modify.
right click on the container, and go to the group policy tab.
etiher add a new policy or edit.
goto user configuration in the group pol snap in.
and add your batch file to the logon area.

the slash yes i believe makes it persistent.
i also always delete the network share in the begining so that i can take control of any
network drives in the begining
that someone might be using.
 
K

klnyc

James Carney said:
you can put the batch file anywhere you want it to go. i usually put it on a network share.

then go into active directory.
go to the container that contains the accounts that you wish to modify.
right click on the container, and go to the group policy tab.
etiher add a new policy or edit.
goto user configuration in the group pol snap in.
and add your batch file to the logon area.

the slash yes i believe makes it persistent.
i also always delete the network share in the begining so that i can take control of any
network drives in the begining
that someone might be using.

JC,

I did all of that and still dont excuting.
 
G

Guest

and you just want to map drives?

thje users' active directory accounts are in the profile you are runnign policy on?

have you confirmed the bat file works by running it manually?
 
K

klnyc

james carney said:
and you just want to map drives?

thje users' active directory accounts are in the profile you are runnign policy on?

have you confirmed the bat file works by running it manually?

Ok, I got it!!...
 

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