大网数据广告活动
网络与域名解析

Cannot use different credentials for a network share

· 52CE 我爱测

Describes an issue in which you receive error messages when you try to use user credentials to connect to a network share from a Windows-based computer. Workarounds are provided.

This article provides workarounds to solve the error messages that occur when you try to use different user credentials to connect to the other network share.

Original KB number:   938120

Symptoms

Consider the following scenario:

  • You have a Windows-based computer.
  • There are two network shares on a remote server.
  • You use user credentials to connect to one of the network shares. Then, you try to use different user credentials to connect to the other network share.

In this scenario, you receive this error message:

The network folder specified is currently mapped using a different user name and password. To connect using a different user name and password, first disconnect any existing mappings to this network share.

If you select OK in response to the error message, you receive the following error message:

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.

Status

This behavior is by design.

Workaround 1

Use the IP address of the remote server when you try to connect to the network share.

Workaround 2

Create a different Domain Name System (DNS) alias for the remote server, and then use this alias to connect to the network share.

After you use one of these methods, you can use different user credentials to connect to the network share. In this situation, the computer behaves as if it is connecting to a different server.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。