Disconnected network drive

jfrancoisb

Distinguished
Jan 31, 2012
3
0
18,510
Hi,

recently I do a script to map network share remotely.

My script work fine, we see our new share (in "my computer"). But label is: Disconnected network drive. Strangely, we can access to this drive but we can't delete it. I only can when I remove an entry into the registry and reboot my PC.

Someone got an idea?

Thanks!
 

jlandi

Distinguished
Feb 2, 2012
69
1
18,645



What OS are you running and Version?
 

jlandi

Distinguished
Feb 2, 2012
69
1
18,645
Could you post the script code please? It sounds like it has something to do with how the script is running or written.

I would just try to create a quick script, below, on the user's desktop and run it from there.

net use N: /delete
net use N: \\server\folder\folder

And see if the issue procs again. If it does then it could be deeper issues, other than that it would be code.

 

jfrancoisb

Distinguished
Jan 31, 2012
3
0
18,510


Thanks for your reply, i am sure that is not a script issue. Because i can run it localy with no problem.

What i do : create a schedule task on a remote computer who is specified with runas command the user that is currently connect.
 

TRENDING THREADS