I was looking to set up "home folders" for users to net use to, and store some documents off of their laptops so they will get backed up on a daily basis....
you can put a vbscript in their "startup" program group that will silently map the drive for them. you can map to a folder within a share with windows 2000. what that means is you can have
{vbscript for net use} \\server\share\folderx
where "folderx" is the variable for the %username%
that way, the users only sees his folder, and you don't have to have a million shares configured on your server.
just have to set the permissions correctly on the server
dim strUserName
Set wshShell = WScript.CreateObject("WScript.Shell"
Set objNetwork = Wscript.CreateObject("WScript.Network"
strUserName = WshShell.ExpandEnvironmentStrings("%USERNAME%"
objNetwork.MapNetworkDrive "x:", "\\server\homedir\" & strUserName
you might want to start off with a
On Error Resume Next
at the top of the script once you are confident that the script will work for you
this will prevent the users from seeing the error that the network path is not found when they boot up "off the network"
this way, you can have one share, with many folders inside. the users won't see the other folders. you will have to set permissions on the folders inside though..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.