Logon Script Help

  • Thread starter Thread starter M.Siler
  • Start date Start date
M

M.Siler

I've looked and looked and can't seem to find the answer. It seems like it
should be easy and example scripts should be all over the place but I guess
not or I'm typing the wrong words to find the answer.

I'm trying to write a simple logon script for everyone. I need the script
to do 3 things.

1. Everyone needs a drive mapped to Y:
net use y: \\server\all

2. If people are in the accounting group they need to have a drive just for
them
net use z: \\server\acct

3. Everyone needs to have a drive mapped to P: as a private dirve
net use p: \\fileserver\%username%$

I don't know who to write this in a script and check the group for number 2

Can someone please assist me?

Thanks,
Mark
 
Try using ingrp32.exe to check for group membership.
I think you can get it from
http://lena.franken.de/winnt/ingrp32.exe

Run it from a cmd window to see how to use it.

HTH,
Mark.
==========================================================
Try AD Infinitum from www.newfawm.com for bulk management
of user accounts.
==========================================================
 
M.Siler said:
I've looked and looked and can't seem to find the answer. It seems like it
should be easy and example scripts should be all over the place but I guess
not or I'm typing the wrong words to find the answer.

I'm trying to write a simple logon script for everyone. I need the script
to do 3 things.

1. Everyone needs a drive mapped to Y:
net use y: \\server\all

2. If people are in the accounting group they need to have a drive just for
them
net use z: \\server\acct

3. Everyone needs to have a drive mapped to P: as a private dirve
net use p: \\fileserver\%username%$

I don't know who to write this in a script and check the group for number 2

Can someone please assist me?

Thanks,
Mark

It seems to be correct. But here is some more help:
http://www.microsoft.com/technet/tr...net/prodtechnol/winxppro/proddocs/net_use.asp

/Bengt
--


____________________________________

Ta bort _NO_SPAM från email-adressen (Remove _NO-SPAM from
the email address)
 
Hey wait... is a logon script just a DOS batch file? Perhaps I'm thinking a
Windows 2000 logon script is like a Novell Login script. Perhaps this is my
problem and why I can't find examples of such a thing.
 
Yes, it is batch file. Sorry, I misunderstood you. Put them
in C:\winnt\sysvol\<domain>\scripts\
The folder must be shared, and given rights.

/ Bengt

M.Siler said:
Hey wait... is a logon script just a DOS batch file? Perhaps I'm thinking a
Windows 2000 logon script is like a Novell Login script. Perhaps this is my
problem and why I can't find examples of such a thing.


--


____________________________________

Ta bort _NO_SPAM från email-adressen (Remove _NO-SPAM from
the email address)
 
Back
Top