RDS install: Unable to connect to the server by using Windows Powershell Remoting

Attempting to install the RDS role(s) on a Windows Server 2012 R2 I received the error: “Unable to connect to the server by using Windows Powershell Remoting” – despite the install being done on the server that was going to be hosting the roles…

As seems to be more often the case with Microsoft stuff these days, it needs a bit of extra (seemingly undocumented) work to ensure that Powershell Remoting is enabled and also that it has enough memory to work with:

* Log on to the Windows 2012 server in question
* Run PowerShell as Administrator
* Run the commands
Enable-PSRemoting -force
Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1000
* Reboot the server
* Try to install the roles again…

Related Posts

Need IT Help?

If you need assistance please feel free to reach out to us.