A Simple way for mapping network drive (assuming that permissions on windows 2003 server
OK for the user) as follow:
1. copy this script and paste it to a text file:
Set objNetwork = CreateObject(“WScript.Network”)
objNetwork.MapNetworkDrive “P:” , “\\YourServerName\YourFolderName”
Set objNetwork -Creating a Network Object to populate the new drive
objNetwork.MapNetworkDrive- Call a function that maps the drive with your settings
I set P as the drive latter and “\\YourServerName\YourDriveName” should be change
to the exact server and folder names.
2. Rename the text file to .VBS extension.
3. Run the scripts and check “My computer” if drive P: created.
4. Put this File into GPO Object to enroll it for your organization.