From time to time I get this stupid error when connecting to a machine:
multiple connections to a server or shared resource by the same user are not allowed
I finally found the solution. Just open up a command prompt and run:
net use * /delete
It will ask you if you want to delete all your open connections, say yes, and then try to reconnect using the credentials you want.
Success!