Solved

Error when running Enable-PSRemoting -f

Posted on 2010-11-19
6
2,653 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
Comment Utility
0
 
LVL 1

Author Comment

by:basaral
Comment Utility
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
Comment Utility
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 5

Expert Comment

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

Author Comment

by:basaral
Comment Utility
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
Comment Utility
I had this error with Server 2003. I had to log in as local Admin to successfully run 'winrm quickconfig'.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
Synchronize a new Active Directory domain with an existing Office 365 tenant
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

744 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now