Discussion Locked

Mapped Network Drives

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

I changed some drives on the network and updated my login batch file to delete the old drives and map the new ones. But it seems it is not working.
I had the script in the group policy. I didn't think I had to change anything in there because it was already working. But I have a few computers I am trying to do it maunaly and all the drives say Network Drive (N:) I right click on one and say disconnect but it says The network connection could not be found. But I can click on the drive and get all the information that should be.
Any thoughts would be great.
I have already read the GPO by MS and hasn't helped much.

5 replies

by Member 30543440

Hi,

try net use n: /d command for disconnecting network drive.

It might be a subst, instead of network drive as well? Then, subst /d.

Good luck,
David

by chris

Your net use statement should resemble this...

net use n: /d
net use n: \\server\share

Personally most of the times when I have a simplistic logon script that is only doing a few things like mapping drives and such I use the first statement for each drive. That way if I change up the actual share point I just change the second line rather than add the first back in. Realistically there shouldn't be any additional lag caused by the first line unless you're talking about 1000+ users logging on at once. even then it should be noticable except the the poor file server.

This discussion is closed to new replies.