Member_2_6492660_1
asked on
Windows Server 2019 Enable-psremoting fails
Windows 2019 Data Center
Windows 10 Pro
From my windows 10 Pro desktop I open PowerShell as administrator
Ru this command
Invoke-Command -computer SERV010-2019.mynet.com -ScriptBlock {get-service -name patches}
get this error
[SERV010-2019.mynet.com] Connecting to remote server SR010-2019.mynet.com failed with the following
error message : Access is denied. For more information, see the about_Remote_Troubleshooti ng Help topic.
+ CategoryInfo : OpenError: (SERV010-2019.mynet.com:St ring) [], PSRemotingTransportExcepti on
+ FullyQualifiedErrorId : AccessDenied,PSSessionStat eBroken
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?
Windows 10 Pro
From my windows 10 Pro desktop I open PowerShell as administrator
Ru this command
Invoke-Command -computer SERV010-2019.mynet.com -ScriptBlock {get-service -name patches}
get this error
[SERV010-2019.mynet.com] Connecting to remote server SR010-2019.mynet.com failed with the following
error message : Access is denied. For more information, see the about_Remote_Troubleshooti
+ CategoryInfo : OpenError: (SERV010-2019.mynet.com:St
+ FullyQualifiedErrorId : AccessDenied,PSSessionStat
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you thanks worked great
This server was on another domain and that domain is a trusted domain so I added my domain admins to the local administrators group and now I do not need the $creds
Thanks again for leading me into the correct place.