Unable to connect to remote PowerShell and get error message.

I have two computer to Windows 7.

Unable to connect to remote PowerShell and this error message

nvoke-command - computername XXXXXX - scriptblock {}
get-process} - administrator credentials
[XXXXXXX] failed to connect to the remote server XXXXXX with the
error message: WinRM client cannot process the request. If the
authentication scheme is different from Kerberos, or if the client computer is
not joined to a domain, then HTTPS transport must be used or the destination
machine must be added to the TrustedHosts configuration. Use winrm.cmd
to configure TrustedHosts. Note that computers in the TrustedHosts list might
do not be authenticated. You can get more information about it by running the
following command: winrm help config. For more information, see the
about_Remote_Troubleshooting help topic.
+ CategoryInfo: OpenError: [XXXXXX], PSRemotingT
ransportException
+ FullyQualifiedErrorId: ServerNotTrusted, PSSessionStateBroken
PS C:\windows\system32 >

PS C:\Users\Administrator > Invoke-Command - ComputerName XXXX - ScriptBlock {get-process} - administrator credentials
[XXXXXX] failed to connect to the remote server XXXXX with the following
error message: the client cannot connect to the specified destination in the
request. Verify that the service on the destination is running and that he accepts the
applications. Consult the logs and documentation for running management service
on the destination, most IIS or WinRM. If the destination is the WinRM
service, run the following command on the destination to analyze and configure the
WinRM service: "winrm quickconfig". For more information, see the
about_Remote_Troubleshooting help topic.
+ CategoryInfo: OpenError: (XXXXX:String)], PSRemotingTranspo
rtException
+ FullyQualifiedErrorId: CannotConnect, PSSessionStateBroken

# Outgoing connection is fine because I can connect to a different machine here. However incoming connection does not work

# Tried several things like "Enable-PSRemoting - Force." and it starts Properperly

# And since I put the machine in workgroup, as well run "Set-Item WSMan: \localhost\Client\TrustedHosts * ' (it is running successfully as well)

# Infact WinRM QuickConfig will not work.

# And tried with and without firewall. and also applied several patches, but has not solved the problem

Please notify

Original title: WinRM

This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

If you give us a link to the new thread we can point to some resources it

Tags: Windows

Similar Questions

Maybe you are looking for

  • iPhone 7 more - IOS 10.2

    Recently, I just got my iPhone more than 7. Once I opened it started the update to iOS 10.0.2 If after that it worked I checked the camera looking for the portrait fearure but he isn't here! How can I have? In addition, the device is slow and hanging

  • How to get permission to write to the network drive access?

    I installed a reader Networks to connect it to my router. It works very well for retieving files, but I can't write to it. I get a message saying "You must." authorized to perform this action Samsung computer laptop brand new, 6 GB RAM, CPU Intel San

  • T420 does not take into account the case of letters power on password

    Hello! just noticed that when I boot my laptop with power on password, it accepts the password regardless of the case of the letters I get. For example, if the password is set to "qwerty" it starts with "qwerty", "QWERTY", "qWeRtY", "QWErty" and so o

  • Makefile for NT platform in the Windows 7 development kit

    I want to create customized SSP/AP (Security Support Provider / authentication package) for Windows 7, so according to MSDN I should download the Windows 7 SDK code samples and start on their part. I did and I found there that folders with the makefi

  • Bought a new laptop today and I have a question.

    Today, I bought a HP Envy DV7 - 7270CA C2H79UA, and on specifications, he said that the i7 processor can be turbo increased from 2.4 GHz to 3.4 GHz. My question is, how do I do exactly? Thank you very much. And the HDMI port, is just an exit, or coul