NET USE * /DELETE Problem
Posted on 2010-11-19
I am having problems with the following logon script:
NET USE * /DELETE /YES
net use o: \\server1\share1$
net use p: \\server2\share2$
net use q: \\server3\share3$
The idea is I want to dismount all network drives and then map only the drives in the Bat script.
If I run the script from my desktop it works correctly and my network drives are mapped.
When the same script runs when I login it disconnects all the drives but does not mount anything.
Its very strange that it works when I copy the Bat file to my desktop but not when I login.
Any idea's what might be the cause of this?
Hopefully I'm not being incredibly stupid!