PSWA gateway: not able to run commands on other servers from the target computer

Jashy Moideen 1 Reputation point
2021-11-02T15:20:54.077+00:00

I have installed and configured PSWA on Windows 2019 server named srv01. I can login to the srv01 as target computer and run scripts and commands on the same server. But when I try to run commands on another server srv02 from srv01 it says 'access denied'. I have admin access on both the servers. I can run commands on srv02 from srv01 when I login to the server directly but it doesn't work through the PSWA . As per the information available in the security event log of srv02 when I am trying to access srv02 from srv01 through PSWA my credentials are not passed to srv02 instead the log entry shows an anonymous login from srv01.
How can I fix this? My requirement is to have pswa on just one server with the authorization rule from which I should be able to manage all my other servers.

Thanks,

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,354 questions
0 comments No comments
{count} votes