Solved

Error when running Enable-PSRemoting -f

Posted on 2010-11-19
6
2,809 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 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.

724 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