Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [winrm]

The tag has no usage guidance.

0
votes
0answers
7 views

Cannot connect to remote Hyper-V. Error - Winrm cannot complete the opertaion

I could not connect to Hyper-V from a Virtual machine Hyper-V Manager. Virtual machine is Windows server 2016. I get the following error message. "The operation on computer "HYP001" failed: WinRM ...
0
votes
0answers
14 views

WinRM QuickConfig Unable to check the status of the firewall -2147024894 0x80070002

I have an error on my Windows Server 2012 R2 Standard Edition with a local administrator account : When I want to enable WinRM to manage hyper-V remotly, winRM start but not the listener. When I ...
0
votes
1answer
812 views

Windows Admin Center Doesn't Connect

I've installed version 1804.25 of Windows Admin Center (WAC) onto my Windows 10 Pro v1709 laptop. I accepted the WAC self-signed cert, provided by the installer, on first page load. I then used the ...
1
vote
1answer
267 views

SBS 2011: Unable to manage Exchange 2010 via console, shell or web interface. “WinRM cannot determine contet type of HTTP response.”

Current setup: SBS 2011 (Windows 2008 R2) Exchange 2010 SP3, v14.03.0399.000 Everything up to TLS 1.1 is disabled, based on PCI3.1 of IIS Crypto 2.0 (yes, I updated RDP to ensure continued ...
0
votes
0answers
362 views

Windows Event Forwarding (Collector Initiated Subscription) returns error code (0x32)

I've been struggling within the past few days to get the WEF working without luck. I have tried different things which I could harvest through Google, but none helped! Here is a insight to the ...
0
votes
0answers
69 views

Windows Event Forwarding over NAT doesn't work where ports NOT having 1:1 mapping

I have: Collector, with HTTPS listener Non Domain Source Computer (That implies Source initiated subscription on Collector) Certificate based authentication for WinRM set up, because a requirement ...
1
vote
0answers
194 views

How do I configure winrm ssl/tls to lo listen on 5896 with a GPO

I have a piece of monitoring software with which I want to start monitoring securely. My goals are: Use TLS for transport encryption and not rely on message encryption Use a certrificate authority I ...
2
votes
1answer
340 views

windows-ubuntu-bash + hypervisor winrm + ansible - Server not found in Kerberos database

I'm struggling like a week with that issue, read every internet post about that problem. What we have Windows Server 2016 Datacenter with Hyper-V Role installed (netbios: hv) Virtual Machines (...
3
votes
1answer
1k views

Where is WinRMRemoteWMIUsers__ local group in Windows Server 2016?

With Windows Server 2012 R2 I can use the group WinRMRemoteWMIUsers__ to enable remote PowerShell execution via -CimSession for non-admin users. However, the group is missing on my Windows Server 2016 ...
2
votes
0answers
1k views

Copy-Item -ToSession from Powershell v 5.0 to v 2.0

I am attempting to copy a file over a network from a Windows 2012r2 server running PowerShell 5.0 to a 2008 r2 server running PowerShell 2.0. I am attempting to do this using the Copy-Item command. ...
-1
votes
1answer
1k views

Installing PKI Client cmdlet on Windows 2008 R2

I wanted to install the PKI Client cmdlet on Windows 2008 R2. However, from the documentation, it's not available for Windows 2008 R2? Am I interpreting this correctly? I was following along a ...
0
votes
1answer
46 views

Grant Remote Launch and Remote Activation privilege with powershell script

I'm trying to grant full WMI remote access to a domain user, just like this one It works but I need to automate this process with powershell scripts, any ideas? I can't find anything relevant on ...
2
votes
0answers
138 views

Firewall stuck on expand

Ive been having some issues trying to open the Windows Firewall Advanced. It just gets stuck with a "expand" window: expand image Ive been searching a lot on google trying to debug this. If i run a ...
2
votes
2answers
169 views

Remotely Manage Server Core 2016 Hyper-V Hosting Domain Controller

I ran into a little issue this morning and am wondering how I avoid the issue in the future. Fortunately, the issue resolved itself, but this could be a major problem in the future. My domain ...
0
votes
1answer
752 views

Can't connect to WinRM on Domain controller

I have set up a domain controller server on Azure with Windows Server 2016. Now I want to connect to this server using PSSession. WinRM is enabled, all firewall rules are ok, inbound rules on Azure ...
0
votes
1answer
1k views

Events logs are not collected but event collection subscriptions are active

A Windows Server 2008 R2 server is configured to collect Windows Event Logs, via a source initiated event subscription. The subscription appears to be active but no events are collected. On the ...
0
votes
1answer
140 views

In Powershell, how do I list CredSSP DelegateComputers as distinct objects?

As is well known, to avoid the Powershell Second Hop problem when Powershell Remoting, one needs to set the CredSSP Client and Server settings. e.g. # On the client, a.k.a the First Hop Server ...
0
votes
0answers
332 views

Winrm HTTP error for some computers

I have to use a powershell script on all computers running on windows 7 x64 in a Windows domain that established a connection with a Windows server 2012 R2 domain controller. The powershell script ...
0
votes
0answers
247 views

PowerShell Remote Session Client User permissions required?

I have a problem when trying to connect to a Remote Server using PowerShell New-PSSession command. The command I use is: New-PSSession -ComputerName $MachineName -Credential $VmCred -Authentication ...
0
votes
1answer
573 views

What is a WinRM runspace pool?

So I am having an issues installing/removing features and rolls from a Windows Server 2012 R2 Server. I consistently come up with this error no matter which service, role, or feature I installed ...
0
votes
1answer
769 views

Add/Remove features on Server 2012 R2 fails when joined to domain (Offline)

I am trying to add/remove features from one server using the GUI Server Manager tool on Server 2012 R2. I have 2 servers doing this and both air connected to the same network and have no access to the ...
0
votes
1answer
2k views

WinRM issues using add/remove features using Server 2012 r2 Server Manager

I am trying to get 2 servers to talk to each other through server manager both running Windows Server 2012 R2. SERVER1 is able to refresh all the server information without a problem. I can see all ...
0
votes
1answer
391 views

WinRM qc error -2144108269 0x80338113

I need to get WinRM working for three Windows Server 2008 R2 (SP1) machines. They are running Microsoft Exchange on them. I run Windows Powershell as an Administrator and type "winrm qc", the ...
0
votes
0answers
1k views

Changing WinRM settings from Script

I am trying to change winrm's allow basic authentication property from command line. Following is my command winrm set winrm/config/client/auth @{Basic="false"} I get a message that this is ...
1
vote
1answer
1k views

Has anyone solved the double-hop issue with Ansible and Windows clients?

My situation: I have an Ansible server, a Tower server, a Windows file server, and a Windows client. Through Ansible, I want to tell the Windows client to copy some files from the Windows file server. ...
3
votes
1answer
563 views

WinRM service is running but will not respond

I have an environment with 16 vms on a host. They all run Windows2008R2. At one point I had powershell remoting work on all servers but one. Then I lost contact with two more. This is annoying, to say ...
0
votes
1answer
431 views

What Security Implications Does WSMan “TrustedHosts” Have?

I found that WinRM requires TrustedHosts (in WSMan:\client) to be set to run remote PowerShell commands. I am unable to find official documentation on the security ramifications and risks of trusting ...
-1
votes
1answer
115 views

NanoServer WinRM HTTPS

Trying to configure nanoserver for WinRM Remote HTTPS access and all the tutorials I have been able to find use the WinRM command and I cannot figure out how to configure it any other way. Does anyone ...
1
vote
1answer
2k views

winrm access denied for new user

On windows server 2012 was created new user as administrator. in powershell was started winrm(winrm quickconfig). But after winrm configSDDL default result is WSMan fault: access denied. What's wrong?...
0
votes
0answers
177 views

Server Manager Running on Windows 10 getting WinRM Error

I have Server Manager installed on my Win 10 (not anniversary ed) workstation to help manage our Win 2012R2 servers. When I try and run a DNS BPA on our 4 DNS servers, I get the error message "Server ...
0
votes
0answers
834 views

Odd behavior using WinRM via powershell, works sometimes and other times does not

Been setting up Powershell Remoting for all of our client machines (Pushed out GPO last week) and I can Test-WSMan on pretty much all of them and I get a nice expected response. Now on one of our ...
1
vote
1answer
89 views

Can't enable remote management after joining domain

I've got a windows server 2016 DC, and another server 2016 machine. By default, the second machine had remote management enabled (showed up as "Enabled" under Server Manager > Local Server). After ...
1
vote
0answers
84 views

Why does Negotiate Authentication over WinRM break immediately after leaving a domain until the server reboots?

While working with addition/removal of a computer from an Active Directory domain over WinRM (noticed while using Test Kitchen using the negotiate transport), I've noticed something strange, and am ...
0
votes
1answer
498 views

Get local path of Windows fileshare when running a PowerShell script remotely via WinRM

I have a Windows batch script that copies an EXE or batchfile to a remote fileshare and runs it on the remote server using PowerShell WinRM. The line that runs the command remotely looks like this: ...
0
votes
1answer
2k views

Event log forwarding: source initiated not working for desktops

I have successfully set up 2 subscriptions for collector initiated and they are fowarding events. Now I am attempting to add a 3rd subscription to get the logs for all my desktops, so due to the ...
2
votes
3answers
16k views

The Server Manager WinRM plug-in might be corrupted or missing on W2K12R2

Today I have been totally defeated by this infamous 2012R2 error: Server Manager could not start the task due to the following error: Failed to open the runspace pool. The Server Manager WinRM plug-...
0
votes
1answer
632 views

Set PowerShell “Plugin\Microsoft.PowerShell\Quotas\MaxMemoryPerShellMB” using Group Policy

I want to apply the following PowerShell settings on many servers: Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 12345 Set-Item WSMan:\localhost\Plugin\Microsoft.PowerShell\Quotas\...
0
votes
2answers
2k views

How can I run chef-client remotely (windows to windows) without a password

I really hope I'm missing something here - because I'm starting to love Chef, but some pieces feel extremely stupid. I have a process (service) that runs under specific credentials. Those credentials ...
4
votes
1answer
2k views

Enter-PSSession on localhost is failing

I am attempting to execute the following Powershell command: Enter-PSSession -ComputerName localhost The server in use is running Windows Server 2008 R2 SP1 64-bit. The server is on a domain. I am ...
2
votes
2answers
417 views

WinRM Powershell commands not working

I have an Azure VM which is running the Windows Remote Management (WinRM) service. I am trying to run below command in Powershell (run as admin) but getting an error. winrm quickconfig Error: ...
0
votes
1answer
1k views

How can Jenkins on Linux do builds to Windows servers securely without A.D.?

I am running Jenkins 1.6 on CentOS 7.2. I have several Windows 2012 servers without A.D. I connect to the Windows machines with local credentials. I have configured a development environment with ...
1
vote
1answer
423 views

Powershell command to check for admin rights is always giving me false when i RDP into it and true when i use WinRM

I am trying to check my remote windows server 2012 R2 machines for admin rights to the current user via Ansible scripts. I found the following command to check for admin rights on the internet: ([...
2
votes
0answers
3k views

“Hyper-V encountered an error trying to access an object on computer '<remote hyper-v server' because the object was not found.”

Setting up a Windows 8.1 Enterprise VM with Hyper-V tools installed to manage our Hyper-V Servers. I have it working with one hypervisor already, but on this one I get the above error. I have followed ...
0
votes
0answers
1k views

Server 2012 - Component stores is corrupt

I upgraded a Windows Server from 2008R2 to 2012 and now it has various services failing to start - eg winrm, iis. I know I should tell it to rebuild but the server doesn't actually use any of these ...
2
votes
0answers
214 views

WinServer 2012R2 - WinRM error -2147014789 0x8007277B

On my WinServer 2012R2 Foundation I have a notification in the server manager that the Remote Desktop Connection Broker service is stopped. When I try to start it manually I receive: Server manager ...
0
votes
1answer
4k views

Getting Access Denied from WinRM on Windows 2008 R2

How do I restore WinRM on a Windows 2008 R2 machine back to it's 'out-of-the-box' state? Or alternatively, how do I get WinRM to start talking to me again? I'm logged in as administrator via RDP. ...
1
vote
1answer
8k views

WinRM-Service is running but can't be reached

I have a virtual testing environment for developing scripts. As .NET isn't capable of all the possibilities PowerShell offers I use Remote PowerShell Runspaces. My problem is now, that I can't reach ...
0
votes
0answers
1k views

Access denied when running some remote PowerShell commands

I have configured WinRM (PowerShell Remoting) on four machines that I administer. On all machines but one I can run both of these commands remotely with no issue. On one cursed machine, Get-Command ...
1
vote
1answer
2k views

WinRM will NOT work, error code 2150858770

I'm just about stumped with WinRM up to this point. Whenever I try to install any feature with the Server Manager, it hangs on "Starting Installation". When I install the feature with PowerShell, it ...
3
votes
2answers
10k views

WinRM cannot connect

I am trying to get two workgroup machines (both are Windows 2012 R2) to talk to each other using PowerShell via WinRM. Let's call them ServerA and ServerB. On both machines I ran the following ...