troubleshooting Question

Windows Server 2019 Enable-psremoting fails

Avatar of Thomas Grassi
Thomas GrassiFlag for United States of America asked on
PowershellWindows OS
2 Comments1 Solution560 ViewsLast Modified:
Windows 2019 Data Center
Windows 10 Pro

From my windows 10 Pro  desktop I open PowerShell as administrator

Ru this command
Invoke-Command -computer -ScriptBlock {get-service -name patches}

get this error

[] Connecting to remote server failed with the following
error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: ( [], PSRemotingTransportException
    + FullyQualifiedErrorId : AccessDenied,PSSessionStateBroken

On the Windows 2019 Server  I ran this

PS C:\Users\administrator> winrm quickconfig
WinRM service is already running on this machine.
WinRM is already set up for remote management on this computer.

PS C:\Users\administrator> Enable-psremoting
PS C:\Users\administrator>

the enable-psremoting never prompts run for a minute then ends with no indication

At ideas?
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros