大网数据广告活动
远程桌面与会话

This computer name is invalid error when you try to shadow a remote session in Windows Server 2012 R2

· 52CE 我爱测

Describes an issue that occurs when you try to remotely control a remote desktop session in a Virtual Desktop Infrastructure (VDI) collection. Provides a resolution.

This article describes an issue that occurs when you try to remotely control a remote desktop session in a Virtual Desktop Infrastructure (VDI) collection.

Original KB number:   2897666

Symptoms

When you try to shadow (that is, remotely control) a remote desktop session in a Virtual Desktop Infrastructure (VDI) collection from a Windows Server 2012 R2-based computer, you receive the following error message in the Shadow Error dialog box:

This computer name is invalid.

Note: This issue occurs regardless of whether you select View or Control for the remote session and regardless of whether you select Prompt for user consent.

Cause

This issue occurs on the virtual machine that is being remotely controlled because File and Printer Sharing isn't turned on.

Resolution

To resolve the issue, make sure that the virtual machine in the VDI collection is running Remote Desktop Client 8.1 and that File and Printer Sharing is turned on on the virtual machine.

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)

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

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