[Last Call] Learn how to a build a cloud-first strategyRegister Now


NET USE with password is not working in Windows XP Professional

Posted on 2005-04-13
Medium Priority
Last Modified: 2012-05-05
Hi experts,

I'm writing a batch to connect to a shared resource from a XP, this resource is shared to an specific user so I have to use NET USE like:

C:\>net use q: \\fileserver\sharedreoruces password /USER:userwithaccess

The problem that it's returning this error:

"System error 1219 has occurred."

"Multiple connections to a server or shared resource by the same user, using more
 than one user name, are not allowed. Disconnect all previous connections to the
 server or shared resource and try again.."

It's strange, and seems to be a windows security configuration.

Any suggestion?

Thanks in advance

Carlos V.
LVL 12

Accepted Solution

Carlo-Giuliani earned 2000 total points
ID: 13777564

The problem is that you already have an SMB session to the server in question.  As the message says, Windows cannot manage two different identities to connect to the same server (or domain).    To be able to connect you must either:
 - disconnect (>NET USE X: /DEL) any other network drives mapped to the same server, *or*
 - give your own userid rights to access this share

The thing I am not completely sure about is what other resources (other than mapped drives) could be keeping connections open to the server.  If the server is also your domain controller, you may not be able to use another userid even after un-mapping all network drives.

Author Comment

ID: 13778108
Hi Carlo,

Your're right I just removed the other shared resource form the same server and it' working ok now. At first when I was reading some forums I thought it was necessary to remove all the mapped resources, so I discarded this option because the user needs to map resources from other servers...

Thanks a lot,

Carlos V.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Suggested Courses
Course of the Month18 days, 12 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question