Question Locked

Script for mapping drives

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am new at all of this so please bear with me. I am looking to use a script to map drives automatically. I thought I could use something like the following .bat file:

net use M: \\servername\share /persistent:y

The problem is, I have placed it in the scripts folder on the server and used that path in the user accounts profile. It doesn't appear to be working because when I restart the drive isn't mapped. The only other option I have is to place this .bat file in the startup folder but I don't want to see it when I login. Could you tell me what I am doing wrong?

2 replies

by rob miners

that you are logging on with pointing to this script?
I normally create a dummy account to test with. ;)

This discussion is closed to new replies.