vneedhelp
asked on
VB script to map a network drive with logged in user name
Hi,
I have windows 2008 file server with shared users folders. I want to run a VB script in GPO so that for each user it should select appropriate user folder from file server and the mapped network drive should display the name of the user. for eg [X:John]
Any help is appriciated.
thanks
I have windows 2008 file server with shared users folders. I want to run a VB script in GPO so that for each user it should select appropriate user folder from file server and the mapped network drive should display the name of the user. for eg [X:John]
Any help is appriciated.
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Argh, I should have typed it quicker.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Copy what's below into a text file and rename with a .bat file extension.
@echo off
net use x: \\[servername]\%username%
This is assuming you have a folder named the same as the username that is shared on the file server.
good luck!