Questions tagged [winrm]
The winrm tag has no usage guidance.
179
questions
2
votes
1
answer
34
views
Why does connecting to SMB share also use wsman
When I connect to a file share using \servername\share in Windows explorer (windows 10 to a windows server share), I notice that there are also connections from my host to the destination server over ...
0
votes
0
answers
33
views
Configure winrm https certificate from non-admin user
Using letsencrypt as a CA, a non-admin user automatically requests a new certificate to be used by the winrm https listener once the old one is about to expire. To make winrm actually use the ...
-1
votes
0
answers
19
views
Is there a way to work around TrustedHosts when set by GPO?
I want to PSRemote into machines on another domain, and typically to do that you'd have to add the computers to the TrustedHosts entry. No big deal, you'd think. However, an IT department which I don'...
1
vote
0
answers
26
views
Is this scenario a possible issue/bug with WINRM and IIS w/site bound exclusively to loopback address
I believe I have discovered a very strange, narrow issue relating to an interoperability problem with IIS and WINRM exercised by Powershell on Windows 10.
I have a device that has an IIS site bound ...
0
votes
2
answers
88
views
Exchange 2013 PowerShell EMS not working
I get the following error when opening EMS on my local 2013 server (or remotely). EMS has worked fine up until recently and I'm not sure what caused the issue. I've read many articles and forum posts ...
0
votes
1
answer
81
views
Running remote commands on Windows 10
Recently i was trying to research deeper into running remote commands from windows to windows. It can be easy with ssh, ftp - but I wanted it to run the commands without knowing the password either ...
0
votes
1
answer
258
views
Windows event forwarding HTTPS Setup
i succesfully created a simple WEF setup between two domain server (WS2019)
it's all working great while it remain in HTTP protocol.
Once i try to take the leap to HTTPS, no more logs is going to the ...
0
votes
0
answers
55
views
WinRM Python File copier plugin : only appends, never overwrites?
I am unable to change the behavior of the WinRM File Copier in Rundeck, it is a Python based plugin, launched from a RHEL 7.9 (Maipo) Linux Rundeck server that is connected to an Active Directory ...
0
votes
0
answers
21
views
After enable winrm qc the host is not accessible using rdp windows
I have one host. I was connected it using RDP Windows and then I just enable the winrm by using winrm qc
and then I logout from that host.
Now today when I was trying to access it it is not able to ...
0
votes
0
answers
179
views
How to distinguish WinRM legitimate requests from suspicious ones?
I have a WinRM setup in a domain environment using Kerberos authentication. I recently performed a routine network capture with WireShark and I was surprised to see some WinRM POST requests (on port ...
0
votes
0
answers
187
views
WinRM "Access Denied" Cross Domain
I have SERVER1 in DOMAINA and SERVER2 in DOMAINB. There is a firewall between the domains. SERVER1 is running Windows 2012 R2 and SERVER2 is running Windows 2016 Std. SERVER1 is a domain controller ...
0
votes
1
answer
1k
views
Powershell Remote PSSession Failing - Domain Administrator Account - Error 0x80090322
I am troubleshooting an issue I have with a PRTG sensor not collecting Windows Update information from one of our servers. It is using WinRM and a remote PowerShell command to do that.
Server 1 - ...
-1
votes
1
answer
79
views
Non-domain Windows Event Forwarding security
Microsoft's instructions for configuring Windows Event Forwarding from event source computers to an event collector server that isn't in the same domain with the sources seems wildly problematic from ...
0
votes
1
answer
587
views
Ansible WinRM Error when collecting winrm facts: You cannot call a method on a null-valued expression message
I have a lab resident in a vCenter server, the lab includes 5 windows servers and 3 windows 10
Each time I running a playbook (any playbook) against this lab, 2 errors are appeared in TASK [Gathering ...
0
votes
0
answers
334
views
Linux servers stopped being able to use PowerShell remoting over WinRM using NTLM on remote Windows Servers
So basically we have a team with Linux servers running PowerShell Core (a mix of 6 and 7) that have to execute remote Windows PowerShell commands on Windows servers. Problem is, the team never got ...
2
votes
1
answer
970
views
Ansible error when trying to ping Windows 10 host. No winrm module
I'm using this command to ping a Windows host from my CentOS 8 Ansible server
ansible windows -m win_ping
But I get this output when executing it
windows | FAILED! => {
"msg": &...
1
vote
0
answers
30
views
Is it possible to configure a machine wide WinRM client default authentication?
WinRM is the protocol used by Windows Machine when running remote commands, WinRM supports several authentication schemes.
Is there a machine wide setting to control the default authentication ...
0
votes
1
answer
274
views
WinRM throws Error Code 2, "Unable to check the status of the Firewall" despite EVERYTHING
I am trying to set up a source initiated event Subscription from a Windows 2019 server to a Windows 10 Client. I know that might sound backwards but I don't really have a choice for a variety of ...
0
votes
0
answers
1k
views
WinRM - Basic Authentication Issue - Unencrypted traffic is currently disabled in the client configuration
I am not exactly sure what is my issue, I think I have everything set correctly. I am trying to test WinRM with simple basic authentication using HTTP (unencrypted) to a Windows 10 machine that has ...
1
vote
2
answers
482
views
PowerShell remoting works with local IPs but not with the public IP on an Azure VM
Host is a single Windows Server 2019 running as Azure VM, no domain, no AD.
To isolate the issue, I am trying to create New-PSSession to the host doing it locally, using its local PowerShell. My ...
1
vote
1
answer
434
views
Windows Event Forwarding via https without Windows domain - no event 104
Following the suggestion in this answer, I'm trying to set up Windows Event Forwarding by following this Microsoft's guide:
Setting up a source initiated subscription where the event sources are not ...
0
votes
1
answer
4k
views
Connection Timeout between Ansible and Windows Server
I'm starting my studies with Ansible and wanted to apply it to a real situation of my work.
I am implementing Ansible from Ubuntu to manage a Windows Nano Server 2016. I'm configuring to use a ...
1
vote
3
answers
1k
views
Can't connect to Windows EC2 instance built by Packer via SSM Agent
I'm using Packer to set up a Windows VM on the free tier of AWS EC2. The image is properly set up and I'm able to launch it, but I can't connect to it with SSM. Here's my Packer template:
{
"...
0
votes
0
answers
91
views
Cant connect via Hyper-V Manager
today i was connected via a Win 10 Admincomputer to one of our Hyper V Servers. Everything worked so far. Then I was about to create a new VM on that HyperV Host. It created the VM and I pressed start,...
0
votes
0
answers
434
views
WinRM connection refused but not to FQDN
I have 2 domain joined servers running a failover cluster and I am trying to get CAU running. However, the readiness test fails because of WinRM issues.
Both servers get connection refused when using ...
0
votes
2
answers
115
views
PowerShell Remote not working via Harness for non-Administrator user
I am trying to connect to a Windows Server 2016 server using WinRM via Harness. I have added the user to the "Remote Management Users" group on the server but I receive an "Access Is ...
-1
votes
2
answers
1k
views
How to connect to remote server using powershell from local . Enter-PSSession not working ( Not Related Exchange Service )
I am trying to connect to remote computer using local powershell session.
for that I am trying to use local powershell Enter-PSSession or New-PSSession comandlets as :
$session = New-PSSession -...
1
vote
0
answers
198
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="...
2
votes
2
answers
8k
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
1
answer
607
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 ...
0
votes
1
answer
630
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 ...
3
votes
2
answers
2k
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
2
answers
4k
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
0
answers
3k
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 ...
3
votes
3
answers
12k
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 ...
5
votes
0
answers
878
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
0
answers
166
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, ...
2
votes
0
answers
2k
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
2
answers
4k
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
1
answer
738
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
0
answers
513
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
0
answers
859
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 ...
2
votes
2
answers
8k
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
1
answer
1k
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
1
answer
158
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 ...
2
votes
1
answer
3k
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
1
answer
2k
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
1
answer
7k
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
1
answer
2k
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
0
answers
1k
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 ...