Questions tagged [winrm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
17 views

Not able to connect to remote windows server winrm, from one machine. Other machine works and test-netconnection to 5985 also works

I have 3 computer 01, 010994 and 024166. Now, from 010994 I am able to successfully run test-wsman 01 and it works but from 024166 it gives me following error test-wsman : <f:WSManFault xmlns:f="...
1
vote
1answer
84 views

Access Denied WinRM Error Code 5

We are trying to set up Windows Event Forwarding (WEF) in our environment and we are running into a few issues. We have a GPO set up (shown below) to enable the forwarding of events to a local ...
0
votes
0answers
24 views

Test-WSMan works with localhost, but doesnt work with fully qualified domain name or Hostname

I have a windows 10 1909 Build 18363. Machine, following is what I am observing. This is all on an powershell with elevated permissions. PS C:\Users\mohit.thakral> Test-WSMan -ComputerName ...
1
vote
0answers
14 views

Configuring Windows Event Forwarding with Non Domain Computers

I have 2 Windows Server 2016 servers. One will act as a collector and the other will be the forwarder. I'm following a MS guide here on how to configure source initiated subscription with WEF with non ...
0
votes
0answers
18 views

Connecting from Azure Automation to Office 365 PowerShell Endpoint fails half way through script

I have a script running under an Azure Automation account. The script connects to the Office 365 endpoint (https://outlook.office365.com/powershell-liveid/), and uses Set-Contact to update some ...
0
votes
0answers
15 views

how to fix: WinRM connection refused

If I run test-wsman SomeRemoteHost (or any PS remote command) with credential, I get "The connection to the specified remote host was refused. Verify that the WS-Management service is running on the ...
3
votes
2answers
81 views

Can Windows Admin Center connect to a remote server?

I was thinking that through one Windows Admin Center installation I'll be able to manage several remote Win servers. However, the add server dialog seems to be able to find only local/LAN servers. Is ...
2
votes
2answers
319 views

Connecting to exchange online with Powershell (Winrm)

After playing with the Microsoft Azure MDM Baselines I got blocked from using the Powershell for Exchange Online module . I have removed myself one time, and after some reboots and some quick config ...
1
vote
0answers
189 views

WinRM will not connect to remote machine

I had posted a question but it hasn't been answered and there has been no activity on it lately so I'm reposting. Sorry if thats the incorrect way of doing things but I have been struggling to get ...
2
votes
2answers
589 views

WinRM will not connect to remote computer in my Domain

I am trying to run a script that installs a program remotely for a user in my domain. I can run the script fine on my own computer but when I run the script for a different computer in the domain I ...
3
votes
0answers
169 views

Powershell Remoting not working

I have PSRemoting working on 90% of my servers. But there are a handful that I'm not sure what's going on with them. Server 2016. Most of them are Hyper-V hosts, but not all. Enable-PSRemoting -...
0
votes
0answers
106 views

Is it possible to deploy from a Linux docker container with ansible installed on it to a windows machine in network domain? If it is how?

Currently I am able to do this by using ansible in WSL(Windows Subsystem for Linux) with kerberos authentication. But when I use Docker container instead of WSL and follow same procedure as with WSL, ...
1
vote
0answers
518 views

Windows not collecting logs. Error: The WinRM service is not listening for WS-Management requests

I am getting this error The WinRM service is not listening for WS-Management requests. User Action If you did not intentionally stop the service, use the following command to see the WinRM ...
0
votes
2answers
285 views

Enable WinRM for domain user

Is it possible to enable winrm connection for domain user? I have an automation script which uses winrm for connecting to remote machines. The winrm connection does not work with Domain user name and ...
0
votes
1answer
126 views

Passwordless auth for WinRM

I need to connect to a list of windows servers and update certificates from a certificate host. The certificate host is running certbot on linux. All hosts are connected to the domain and the linux ...
1
vote
0answers
184 views

Event Forwarding Broken - Wecutil.exe command gets stuck

I am writing a software program that relies very heavily on event forwarding. It uses a collector-initiated subscription. After the subscription is created it works fine, as expected. Sometime later, ...
1
vote
0answers
307 views

Dell OpenManage: The installer has detected that the HTTPS listener is not configured for Windows Remote Management

I started installing Dell OpenManage on my companies servers and quickly ran into the below issue which bar one server, I have not been able to resolve: The installer has detected that the HTTPS ...
1
vote
1answer
1k views

Finding GPO policy which set's LocalAccountTokenFilterPolicy to 0 on startup

I've got a Windows Server 2019 with Windows Server 2019 Security Baseline settings applied to it. Then I enable WinRM on the server and set the registry key HKLM:\SOFTWARE\Microsoft\Windows\...
0
votes
1answer
337 views

how to connect to server in remote domain with winrm

I have winrm enabled on a remote server and from a member of that server's domain, I am able to run Powershell commands using PSSession. However, from a client in another domain, I get "Connecting to ...
2
votes
1answer
80 views

Chef Knife command - PowerShell “query session” failing with return code 1, although command is executed successfully

I am facing a peculiar problem in executing chef knife commands for PowerShell remotely. Command is executed successfully, however the return code is 1 with an error. > %CPath% && knife ...
1
vote
1answer
953 views

Windows Server 2016 and Windows 10: Cannot set up Windows Event Forwarding via HTTPS

Alright so I've been trying to set up Windows Event Forwarding via HTTPS for a while now and in the process, I've hit my share of errors that I managed to address one by one, but now I've been stuck ...
2
votes
1answer
824 views

Enter-PSSession : Connecting to remote server failed

I have three VMs: A, B and C. I use Enter-PSSession to connect them. But recently connecting B from A (A->B) never succeeds. Others ways (A->C, C->A, B->A, B->C, C->B) have no problem. The error ...
1
vote
1answer
4k 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
894 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 ...
1
vote
0answers
563 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
682 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
3k 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
2k 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
3k 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
65 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
722 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 ...
3
votes
2answers
349 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 ...
1
vote
1answer
2k 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
4k 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
182 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
1answer
1k 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
2k 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
2answers
5k 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
712 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
1answer
3k 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
3answers
2k 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. ...
2
votes
1answer
939 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
681 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
124 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 ...
2
votes
1answer
3k 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
196 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
1k 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
152 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
159 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
779 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: ...