# Multiple connections to a server or shared resource error

`Error: 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.`

`Lstat: CreateFile \\UNC\Server\Path\: Access is denied.`

This error will typically occur when you have multiple Protected Items and each Protected Item is configured to backup a different network path, each with different network credentials.

This error message indicates that there is already an active connection to the network resource using a different username from the same computer.

Windows doesn't allow multiple connections to the same shared resource using different credentials .

#### Solution:

* Create a new account on your NAS that will have access to all of the shared resources.
* [Update the network credentials in each of your Protected Items ](/guides/how-to-backup-windows-network-shares-and-unc-paths.md)to use that single set of credentials.

{% content-ref url="/pages/CUu86ODkLS7am2p8wn7r" %}
[How to Backup Windows Network Shares and UNC Paths](/guides/how-to-backup-windows-network-shares-and-unc-paths.md)
{% endcontent-ref %}

By using the same Username for all connections to a UNC path from the eazyBackup application, you shouldn't run into this error.

This way you will not be trying to open a new connection to the same NAS using different credentials

#### **Create one Username / Password on your NAS for all shared resources:**

`\\UNC\NAS1\Myfiles\`

`\\UNC\NAS1\Documents\`

`\\UNC\NAS1\Shared\`

***

[eazyBackup](https://eazybackup.com)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.eazybackup.com/troubleshooting/multiple-connections-to-a-server-or-shared-resource-error.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
