deshi777
asked on
Mapping a drive on Local Machine
Is there a way to map a drive on a local machine without using group policies. Ex. I have a computer that 9 users login to and I need to map a drive (R) for all the users so instead of having to login as all the users and map the drive I want to use a share username such as testuser with a password of test and for it to automaticly save the password upon login on the local machine.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Good call dlwyatt82 !!!
Just a thought though...
if you do it that way... ALL users get the drive, not just the specific 9.... if that's still ok... then all you need in the script is:
Dim WSHNetwork
Set WSHNetwork = WScript.CreateObject("WScr ipt.Networ k")
WSHNetwork.MapNetworkDrive "R:", "SERVER\SHARE", , "USERNAME", "PASSWORD"
if you do it that way... ALL users get the drive, not just the specific 9.... if that's still ok... then all you need in the script is:
Dim WSHNetwork
Set WSHNetwork = WScript.CreateObject("WScr
WSHNetwork.MapNetworkDrive
ASKER
Ok thanks I'll try that