Computing.Net > Forums > Windows 2000 > logon scripts

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

logon scripts

Reply to Message Icon

Name: 666
Date: November 19, 2002 at 07:24:45 Pacific
OS: 2k advanced server SP3
CPU/Ram: xp1700+/512pc2100
Comment:

I would like to map drives through a logon scipt. I'm trying to find out how I can get it to map a share to the users personal forlder with one logon script. heres what I currently have

@ECHO OFF
net use r: \\heritage_server\r
net use s: \\heritage_server\s
net time \\heritage_server /set /yes
net use q: \\heritage_server\distr
net use t: \\heritage_server\apps


I have about 100 users here and I don't want to make 100 logon scripts

I have tried to use the homedirectory in active directory, but it doesn't map anything.

My clients are Win 95, Win98se, and Win ME

Can someone point mr in the right direction?



Sponsored Link
Ads by Google

Response Number 1
Name: zack
Date: November 19, 2002 at 08:33:26 Pacific
Reply:

I think you can add a line to the login script like this.

net use z: \\servername\%username %

make sure that the users folder already exists and is named the same as the username or the login script will return an error.


0

Response Number 2
Name: 666
Date: November 19, 2002 at 08:45:32 Pacific
Reply:

I get Syntax is incorrect when it runs.

the folder is shared


0

Response Number 3
Name: 666
Date: November 19, 2002 at 09:25:49 Pacific
Reply:

I found a program that makes logon scripts and its now using the home directory as drive p:, just as I like.

there is a problem though. I have the home directory set as \\heritage_server\users\%username% but its mapping \\heritage_server\users as the home directory


0

Response Number 4
Name: stix
Date: November 21, 2002 at 09:49:21 Pacific
Reply:

Zack was right with net use z: \\servername\%username%. You just need to create shares at the %username% level for the 95/98 users.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


group policy update Startup Script



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: logon scripts

Logon Script www.computing.net/answers/windows-2000/logon-script/36977.html

mac address logon script help www.computing.net/answers/windows-2000/mac-address-logon-script-help/39357.html

How to create logon script www.computing.net/answers/windows-2000/how-to-create-logon-script/38939.html