Login Scripts

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I am not sure if I should post this here or at the Window's XP site but - I am setting up a Win2k A/S machine for a client. I intend to share some 10 directories with 25 XP Professional users. I would like to setup a login script to assign the sharing so I will not have to go to each machine and map the drives. I was wondering if there is an example of a script I could clone or a knowledge base to look at. I would also like to automatically roll this script down to each user.
Any help would be appreciated.
Thanks
Rich
 
Rich said:
Hi,
I am not sure if I should post this here or at the Window's XP site but -
I am setting up a Win2k A/S machine for a client. I intend to share some 10
directories with 25 XP Professional users. I would like to setup a login
script to assign the sharing so I will not have to go to each machine and
map the drives. I was wondering if there is an example of a script I could
clone or a knowledge base to look at. I would also like to automatically
roll this script down to each user.
Any help would be appreciated.
Thanks
Rich

The script itself can be fairly simple but you never mentioned if you are
setting up a domain or workgroup. If a domain, use a Group Policy Object to
specify a login script. The idea is to link the Group Policy with a domain
container (like an Organizational Unit) and any user placed in the container
inherits the GPO and therefore the script. Should you decide to give all
users the same script then modify the domain GPO.

script:
_____________________________
@echo off
if exists w: net use w: /delete
net use w:\\server\sharedir
_____________________________

How to Create a Base Profile for All Users (handy template)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;168475
 
Hi -

Thanks for getting back to me. I am setting up a domain. Thank you for your help -

Have a great holiday.

Rich

----- SaltPeter wrote: -----

Rich said:
Hi,
I am not sure if I should post this here or at the Window's XP site but -
I am setting up a Win2k A/S machine for a client. I intend to share some 10
directories with 25 XP Professional users. I would like to setup a login
script to assign the sharing so I will not have to go to each machine and
map the drives. I was wondering if there is an example of a script I could
clone or a knowledge base to look at. I would also like to automatically
roll this script down to each user.
Any help would be appreciated.
Thanks
Rich

The script itself can be fairly simple but you never mentioned if you are
setting up a domain or workgroup. If a domain, use a Group Policy Object to
specify a login script. The idea is to link the Group Policy with a domain
container (like an Organizational Unit) and any user placed in the container
inherits the GPO and therefore the script. Should you decide to give all
users the same script then modify the domain GPO.

script:
_____________________________
@echo off
if exists w: net use w: /delete
net use w:\\server\sharedir
_____________________________

How to Create a Base Profile for All Users (handy template)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;168475
 

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

Back
Top