?
Solved

Error when running Enable-PSRemoting -f

Posted on 2010-11-19
6
Medium Priority
?
2,852 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
rotech_IT earned 2000 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
Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

 
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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

800 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