We have an extern computer in our office and sometimes we need to connect it to some shared folders in our network. but afterwards we want to delete its connection. Right now we restart the machine, but I want to find out, if there is a more practical solution.
after some research I found out that net use does things like remove remote drives with the command
net use X: \delete
But for a shared folder I do not have a drive letter. Can I use net use to detach the connection to a shared folder, so that I have to add in the username and password again when I want to reconnect?
Or is there a different approach than net use