7 replies
by kirby_johnson Accepted solution
by bart777 Accepted solution
Within the login script add a couple of lines with "Net Use /Delete" for each mapped drive that you think may be there.
The only other way is to visit each machine and manually disconnect the drive there.
by dumphrey Accepted solution
net use * /delete /y
put that at the top of the script and each time it refreshes the scripts it will re-map to a clean slate.
the /y forces a yes selection so no interaction is needed.
by kirby_johnson Accepted solution
by dumphrey Accepted solution
but the whole script would be much smaller. Net use in a .bat will run with no problems in a GPO on XP 2000 and Vista.
net use * /delete /y
net use Z: \\Server\Share /persistent:yes
net use Y: \\Server\Share2 /persistent:yes
those three lines in a text file with a .bat extension and its all done.
by kirby_johnson Accepted solution
Dumphey U Da MAN!!!!!!
That did it!!!
I created a simple batch file with the "net use * /delete /y" command and ran it in front of my regular login script in the GPO and that did it!!!!! I have been beat my head on this for 2 whole days. THANKS!!!!! ;)
by dumphrey Accepted solution
is nearly a perfect copy of our mapping script. I found it worked better then VB script and the delete first prevented a clutter up, especially if you always map to the same drive.
BUT, that being said, if you have computers that NEED a specific map, and its only one or two, you will need to create a log on script for them that adds the last mapping. Well, I guess thats a Duh...
Forget i said that last part.
Anyway, glad to help =)
This discussion is closed to new replies.
Trending Hardware posts
Sort by Trending