You might find:
net use * /d
quicker than having to stop and start the workstation service.
If you use the File Explorer to browse to a share on a windows machine it can connect you to the \\servername\ipc$ hidden share to prompt for the username/password.
If you use the Map Network Drive button, or the command line command to authenticate, you bypass this.
net use X: \\servername\share * /U:username
The above command will map drive X locally to the server\share, and prompt for the password for the user name given in the parameter. If you want to hard code the password you can type it where the asterisk is.
23 years of broadband connectivity since 1999 trial - Live BQM