Jump to content

Can't kill a disconnected network drive


Recommended Posts

Posted

I have a client who takes her laptop from office to office. She runs a

batch file to connect network drives. When she goes to the next office,

she runs a batch with all the drive letters net use j: /delete etc.

 

If you look after running the batch file - it still shows the diconnected

drives.

 

If you run a line manually to delete the drive it returns - The network

connection could not be found.

 

You can't right click to kill the drive. What should I run at the command

prompt to complete eliminate the previously mapped drive?

 

Thanks

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

Re: Can't kill a disconnected network drive

 

 

"boe" <boe_d@hotmail.com> wrote in message

news:36BCD6FC-A4E6-4F80-BAE7-9A285B45A6C0@microsoft.com...

>I have a client who takes her laptop from office to office. She runs a

>batch file to connect network drives. When she goes to the next office,

>she runs a batch with all the drive letters net use j: /delete etc.

>

> If you look after running the batch file - it still shows the diconnected

> drives.

>

> If you run a line manually to delete the drive it returns - The network

> connection could not be found.

>

> You can't right click to kill the drive. What should I run at the

> command prompt to complete eliminate the previously mapped drive?

>

> Thanks

 

I suspect you're mapping drives in different logon sessions or perhaps in

the background as a scheduled task. Furthermore, you should turn off

persistency by entering just once this command, then reboot the machine:

net use /persistent:no


×
×
  • Create New...