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

Applies to: Windows Server 2012 R2 DatacenterWindows Server 2012 R2 Standard


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.


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


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.