B
Bunert
I have a login script that maps some drives and copies some files. It works
great.
I have some users that have mapped some drives to locations on the network
that no longer exist. I want to delete the mappings as the login script
remaps them properly. The delete does not work from within the login script
but it works if manually typed on the client at the cmd prompt.
I am using:
NET USE X: /DELETE /YES to delete the persistent mapping. (I also tried
without the /YES)
If in my login script, the X: drive does not delete - although in the same
login script I map a U: drive which maps ok so I know the script is being
called and functional.
If I go to the client and do type the the /delete at the cmd prompt - the X:
drive gets deleted properly.
If I put the login script on the client desktop and run it there, the X
drive does not delete. I do not get a "command completed successfully" -
however I do not get an error either.
Any thoughts?
thanks
great.
I have some users that have mapped some drives to locations on the network
that no longer exist. I want to delete the mappings as the login script
remaps them properly. The delete does not work from within the login script
but it works if manually typed on the client at the cmd prompt.
I am using:
NET USE X: /DELETE /YES to delete the persistent mapping. (I also tried
without the /YES)
If in my login script, the X: drive does not delete - although in the same
login script I map a U: drive which maps ok so I know the script is being
called and functional.
If I go to the client and do type the the /delete at the cmd prompt - the X:
drive gets deleted properly.
If I put the login script on the client desktop and run it there, the X
drive does not delete. I do not get a "command completed successfully" -
however I do not get an error either.
Any thoughts?
thanks