Discussion Locked

Manually map network drive in a script

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
i have remote users that are using a vpn to get past our firewall. i need to create a script that the user can execute to manually map their network drives for them. i attempted to map from within explorer but it lasts only while logged in. next time the user dials in, the mapped drives don't reappear in the explorer window. i have tried "net use ...." but the drives don't appear in explorer.

3 replies

by jim.schromm

The net use command should work and the drive should appear in explorer. Please try it with the persistent option. Example:
net use k: \\computer\share /persistent:yes

This discussion is closed to new replies.