I am working with a Server 2012 R2 standard machine and attempting to get Remote Desktop Services installed and configured on it. Using the Add Roles and Features wizard while logged on locally to the server in question resulted in the error Unable to connect to the server by using Windows PowerShell remoting. However, if I use a different Server 2012 R2 machine to run the Add Roles and Features wizard remotely targeted at the original server then I can successfully get RDS installed.
Also, after the installation has completed I cannot manage RDS locally on the server but can successfully manage it remotely from another Server 2012 R2 box. When attempting to use Server Manager locally and choose the Remote Desktop Services menu the error message "A Remote Desktop Services deployment does not exist in the server pool."
The server appears to be functioning correctly and can be managed remotely just not locally. I can reproduce the behavior on other Server 2012 boxes in the environment.
What would cause local install and management to fail but remote management work?