SysAdmin3000
Technical User
I have created a login script for my 2k3 environment. After reviewing the FAQ, great work btw, I added disconnect network drives.
Right now when I run the script and it gets the the disconnect network drives section an error is posted stating 'This network connection does not exist.' Which is correct as the drives are not currently mapped.
I would like to have the script check for any mapped drives and if they exist then disconnect them. If they do not exist then move on.
I am not sure how to do this. I will keep researching other sources as well.
Any advice is appreciated.
Right now when I run the script and it gets the the disconnect network drives section an error is posted stating 'This network connection does not exist.' Which is correct as the drives are not currently mapped.
I would like to have the script check for any mapped drives and if they exist then disconnect them. If they do not exist then move on.
I am not sure how to do this. I will keep researching other sources as well.
Any advice is appreciated.