Discussion Locked

map a drive at logon

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Hi. We have a Windows 2000 Server that has a shared folder on it. We need the users when they logon to the workstations to automatically get an F: drive mapped to the share. \\server\share How can this be setup to do it when they login without having to manually map it?

7 replies

by sleyba

You can use a logon script. By making a batch file and listing the mappings you can define several different ones for different users if needed. When the user logs on the mappings are done.

by jschein

Sleyba is correct...

Just mack a script file to map users to the "public folder".

In their profiles on the server, link all users to that script.

by jschein

flan@mednet.ucla.edu is correct... that is the proper usage for the network share.

by chris

You can write a short batch file an include it in a logon script.

Here is the code you would need to do that

net use f: \\server\share

by jantoluv

var WshNetwork = WScript.CreateObject("WScript.Network");
WshNetwork.MapNetworkDrive ("s:", "\\\\server1\\share");

put this on a notepad and safe it as *.js

Good luck

WScript.echo("try this!");

This discussion is closed to new replies.