net use - error code 1219

Solution 1:

The error 1219 says that you cannot open multiple sessions to a server, not connections. The number of connections is nearly unlimited by default (65532)

A session is a successfully authenticated combination of username/password from user(session) to a server, independently from the host (or the ressource you want to use, eg. network mapping, rpc, printer share or whatever). You can only open up two different (network-)sessions in one (user-)session. And always remember, yout local (and saved) credentials are sent to the remote server and if those successfully authenticate, this is session #1.

For example:

  • UserA connects to SERVER as "john", because he is logged on as "john" on his local machine
  • UserA connects to SERVER as "walker", because he needs to be "walker". he is using "net use \server /USER:walker"

In this case, the two sessions are used. 'Net use' will give you 1219 for any new connections.

The old NT trick using different server names (SERVER, SERVER.DOMA.IN, 192.168.0.1) to get up to six different sessions will no longer work, depending on your configuration.

To cean up your session connection credentials

  1. net use \\SERVER /delete
  2. Clear the Credentials Cache (from the Control Panel), more on theat here: https://security.stackexchange.com/questions/15574/how-do-i-clear-cached-credentials-from-my-windows-profile