Solved

Error when running Enable-PSRemoting -f

Posted on 2010-11-19
6
2,739 Views
Last Modified: 2013-03-15
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
Comment
Question by:basaral
  • 3
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
rotech_IT earned 500 total points
ID: 34183775
0
 
LVL 1

Author Comment

by:basaral
ID: 34187767
I'm running Server 2008.  winrm should already be configured.  Regardless, I tried to run quickconfig.....same exact results as above.
0
 
LVL 1

Author Closing Comment

by:basaral
ID: 34242530
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 5

Expert Comment

by:rotech_IT
ID: 34242668
Thank you.  What was the full resolution if you don't mind?
0
 
LVL 1

Author Comment

by:basaral
ID: 34242750
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
 

Expert Comment

by:smarshall007
ID: 38990138
I had this error with Server 2003. I had to log in as local Admin to successfully run 'winrm quickconfig'.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question