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

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 is not 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. 
Properties

Article ID: 2897666 - Last Review: Jul 30, 2015 - Revision: 1

Windows Server 2012 R2 Datacenter, Windows Server 2012 R2 Standard

Feedback