You should be reading this article if you are seeing any of the two (or both) screens - Windows Security / Your credentials did not work. Your system administrator does not allow the use of default credentials to log on to the remote computer XXXXX because its identity is not fully verified. Please enter new credentials. AND/OR Remote Desktop Connection. Your system administrator does not allow you to connect to this remote computer. For assistance, contact your system administrator or technical support.
This article originally started when I was actively involved in PowerShell development. Now I am mostly updating it on request of my blog readers (people like you). After a few dozen updates over the course of many years, it is now regarded as one of the top resources in the Powershell community.