Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to disconnect a WebDAV share in Windows 7?

Tags:

webdav

I have an Apache server in my network with a WebDAV share using Digest Authentication. I also used the "Add a network location" in Windows 7 to add the WebDAV share. The WebDAV share works without any problem so far. Create, copy or delete files are working.

The first time I access the WebDAV share after I log on to Windows, I will enter my credential information (username and password). I do not need to supply any credential information for the 2nd and 3rd time I access the WebDAV if I don't log out from Windows 7.

Is there any easy way to log me out or disconnect my WebDAV share after I finish using the share but not log out from Windows 7?

The WebDAV share contains important and sensitive data and I wish to end the session once I finish my task again the share. A function like disconnect would be sufficient for me.

like image 715
Chau Chee Yang Avatar asked Sep 15 '10 03:09

Chau Chee Yang


1 Answers

To disconnect WebDAV share use the 'net use' command. For example to disconnect all shares run in a command prompt:

net use * /delete

You may also want to clear the cached credentials. In this case you can run in a command prompt:

rundll32.exe keymgr.dll, KRShowKeyMgr

This command will display a dialog in which you can delete cached login/password.

like image 158
IT Hit WebDAV Avatar answered Jan 01 '23 07:01

IT Hit WebDAV