Discussion Locked

Show a shared folder as a drive.

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I would like to display a shared folder in the win2k3 server as a drive in each domain users MY Computer icon. I have around 350 users in the AD.

6 replies

by beermonster

Hi,
You can achieve this via simple 'net use' statement in a script. As you wish this to be visible to all domain users, I would add the script to the domain group policy - see the user config \ windows settings \ scripts - login area of the default domain policy. Let me know if you need more detail.

by dryflies

while "NET USE" will get the job done, it has the annoying side effect of launching a command prompt window that the user can close before your task is accomplished. If you use VBS (Visual Basic Scripting) then there is no window and the entire action is transparent to the users.
I was going to include the script but it is too long. here is a snippet
Set objNetwork = CreateObject("Wscript.Network")
objNetwork.MapNetworkDrive "W:", "\\hcrl1\everyone"
this will show drive W: to be the everyone share on \\hcrl1

by aahmed94

Hi
by useing " netuse" command to map this shared folder in the server
In the Netlogin folder put the login file script saved as login.bat
in the user properties profile assinge an login script for ever one.
______________________
sample for this script:
-----------------------
net time /set /y
net use w: /d
net use w: \\server_name\shared_folder_Name
__________________________________________________

This discussion is closed to new replies.