Download the Tom's Hardware App from the App Store
The reference for current tech news
Yes No
Tom's Hardware > Forum > General Networking > General Discussion > Disconnected network drive

Disconnected network drive

Forum General Networking : General Discussion Disconnected network drive

Word :    Username :           
 

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!

Reply to jfrancoisb
Register or log in to remove.

jfrancoisb wrote :

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!




What OS are you running and Version?

Reply to jlandi

Windows XP SP3, i really think that is a rights issue. I try to find how I can run a command as the current user who the script is remotly send.

Reply to jfrancoisb

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.

Reply to jlandi

jlandi wrote :

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.



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.

Reply to jfrancoisb
Register or log in to remove.
Tom's Hardware > Forum > General Networking > General Discussion > Disconnected network drive
Go to:

There are 181 identified and unidentified users. To see the list of identified users, Click here.

  • Ask the community now
  • Publish
Ad
Latest best answer
General IT Vocabulary Help
By TheViper, 907 days ago:

Bus Speeds - The most commonly inferred bus is the Front Side Bus. This is the...

They won a badge
Join us in greeting them