How to Run Set-RDCertificate Remotely Without Errors?

0
7
Asked By TechyWizard99 On

I'm trying to execute the `Set-RDCertificate` command from a remote machine, targeting a server named ServerABC. The command works perfectly when I run it directly on ServerABC, but when I attempt to run it using `Invoke-Command`, I encounter an error that says, "A Remote Desktop Services deployment does not exist on ServerABC." I made sure to use the same credentials, and I even tried adding the `-ConnectionBroker` parameter, but that didn't resolve the issue. Can anyone help with how to run this command successfully from a remote server? Thanks!

2 Answers

Answered By SkepticalGopher47 On

It sounds like you might be dealing with a double hop issue. When you try to invoke commands remotely, sometimes the necessary Active Directory authentication can't happen. Make sure your setup allows for this or explore using Kerberos authentication to get around it.

Answered By CuriousQuokka32 On

Have you considered dropping the `Invoke-Command` altogether if you're using the `-ConnectionBroker` parameter? That might simplify things and help you run the command directly without hitting those Remote Desktop Service errors.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.