Multiple Connections Issue

I frequently use the command line for authenticating into various resources and every so often you get the following error:

"Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed"

Basically -- I've already logged into the same resource with different credentials and I might even have a mapped drive which is still connected using the 'other' credentials.

There are a number of ways to solve this problem such as disconnecting the mapped drives, logging off, rebooting, etc., but the easiest and quickest fix is:

net use * /d

This is essentially saying you want to delete all previous connections.  If you have drives mapped, you'll get a prompt for disconnecting mapped shares.  You could replace the * with a drive letter if you're mapped to multiple locations and you're only interested in one location.