How do I make Windows 7 log off from a password-protected Samba network drive?
Open CMD, type
Step by Step
Another way, to disconnect from every share is to execute
If you want to create an icon to automatically disconnect all network shares (using a GUI method), you can do the following:
You can also specify a certain network share, if known in advance, and use that one instead. Using the
Copy paste save as a bat (file Extention " *.bat ", create a shortcut edit the shortcut to an icon of your choosing...
upon double click, the command will be run and a gui popup box will say the message and go away in 5 seconds or wait 5 seconds till appearing...
we use this quite a bit at work :)