[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2930
  • Last Modified:

Error when running Enable-PSRemoting -f

When trying to enable remoting on a local compuetr via Powershell, I get the following error:

> Enable-PSRemoting -f

WinRM already is set up to receive requests on this machine.
<f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2150858909" Machine="FRS.kleerdex.com"><f:Message>WinRM cannot process the request. The following error occured while using Negotiate authentication: An unknown security error occurred.  
 Possible causes are:
  -The user name or password specified are invalid.
  -Kerberos is used when no authentication method and no user name are specified.
  -Kerberos accepts domain user names, but not local user names.
  -The Service Principal Name (SPN) for the remote computer name and port does not exist.
  -The client and remote computers are in different domains and there is no trust between the two domains.

 After checking for the above issues, try the following:
  -Check the Event Viewer for events related to authentication.
  -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration
setting or use HTTPS transport.
 Note that computers in the TrustedHosts list might not be authenticated.
   -For more information about WinRM configuration, run the following command: winrm help config. </f:Mess
age></f:WSManFault>
At line:50 char:33
+             Set-WSManQuickConfig <<<<  -force
    + CategoryInfo          : InvalidOperation: (:) [Set-WSManQuickConfig], InvalidOperationException
    + FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.SetWSManQuickConfigCommand


Any ideas?
0
basaral
Asked:
basaral
  • 3
  • 2
1 Solution
 
rotech_ITCommented:
0
 
basaralAuthor Commented:
I'm running Server 2008.  winrm should already be configured.  Regardless, I tried to run quickconfig.....same exact results as above.
0
 
basaralAuthor Commented:
Although this was not the solution for my exact problem, I am giving rotech_IT full credit for taking his time to respond to my question.  Thank you.
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
rotech_ITCommented:
Thank you.  What was the full resolution if you don't mind?
0
 
basaralAuthor Commented:
I feel I am getting close but I do not have the issue fully resolved yet.  I'll update the question once I have everything working.  Thanks again.
0
 
smarshall007Commented:
I had this error with Server 2003. I had to log in as local Admin to successfully run 'winrm quickconfig'.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now