Trying to set a login script for my Administrator user that deletes a
mapped drive when logging in. I have a batch file, one line in it:

net use * /delete /Y

Works fine on XP boxes, but haven't had any luck on 2003 or 2012. If I
run it manually from any box it works fine, just not from the login

The path I have for the script location is:


Any suggestions as to what I'm missing to get this to work properly? I
could create a scheduled task or start menu item to do this, but I
don't want to have to touch over 50 boxes to do this.

Any suggestions?

PS, things like this are SOOOOOOOOOOOO much easier in