Questions tagged [winrm]
The winrm tag has no usage guidance.
186
questions
0
votes
0
answers
30
views
enter-pssession not working over Wireguard
I have multiple computers in a LAN and a Windows Server 2012 R2 in another city. They are all in a Wireguard VPN. I can use SMB file shares, PSexec, RDP and such things, but can't make WinRM enter-...
0
votes
0
answers
56
views
Can't config certificate-based authentication in WinRM / WSMan
I'm trying to configure certificate-based authentication in WinRM. I need this to source-initiated subscription of WEF from non-domain machine.
I use manual published by MS: https://learn.microsoft....
0
votes
1
answer
75
views
Why is Windows 10 22H2 update erasing WinRM settings?
I used the Media Creation Tool for Windows 10 downloaded from here to create a Windows 10 22H2 image. Then I proceeded to install the image by running setup.exe with the following command line ...
0
votes
0
answers
59
views
Setting up Windows Admin Center in a middle school
I am attempting to set up remote management of my campus computers via Windows Admin Center.
I am starting with my main desktop workstation (referred to as Base) and my take-along laptop (referred to ...
0
votes
1
answer
105
views
Is WinRM/PSSessions using TrustedHosts less secure than DCOM (or whatever classic Windows remote access is)?
I have forever been accessing remote machines with things like file shares (\\serverName\share) and using Powershell commands that use a -ComputerName parameter. If I do this for a machine in a remote ...
1
vote
1
answer
176
views
How to debug what Windows Admin Center is doing?
I'm having issues with Windows Admin Center and the user interface doesn't really help troubleshooting them; thus I'd like to have a closer look at what WAC is actually doing with the servers it ...
0
votes
0
answers
1k
views
Connecting to remote server failed: The WinRM client cannot process the request
I am trying to execute a powershell script on a remote server from my local machine, however I get an error.
Here is the full error message:
Connecting to remote server failed with the following ...
0
votes
1
answer
604
views
WinRM connectivity issues with workgroup and vlan subnet
Situation:
1 server (Windows Server 2022) (192.168.15.5)
1 client (Windows 11) (192.168.5.5)
Unifi network setup where both machines are on a different VLAN (subnet)
On the server:
Run Winrm ...
1
vote
0
answers
36
views
How can I get Airflow on Linux run a VBS script that is automatically downloading SAP data?
I have an Airflow installed on CentOS and I am able to run scripts/commando's on my Windows 10 machine.
However, I have a VBS script that starts Excel and SAP Logon and then automatically logins, ...
0
votes
1
answer
275
views
WinRM - Remote session not working between old & new DCs
We have a total of 6 domain controllers, 2 of which (dc03/04) have just been created. I'm able to PSRemote between all of the older DCs, and between 03 & 04, but I'm not able to PSRemote between ...
0
votes
1
answer
159
views
Why is my Windows 11 host sending connection reset packets to AWX using certificate authentication?
Here is what I have done so far.
Installed AWX 2.9 using docker on CentOS.
Successfully managing Windows nodes (8,10) through AWX and WinRM using certificate authentication. (No problem here)
...
3
votes
3
answers
1k
views
Why does a scheduled task access the database as anonymous (vs configured acct)?
**Update: I added a much shortened script which generates the same issue. See the bottom of this port:
I have a PowerShell script that runs a SQL query against a MSSQL server (different server). The ...
2
votes
1
answer
416
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 ...
1
vote
0
answers
161
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
801
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 ...
1
vote
1
answer
407
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
1k
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
127
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 ...
1
vote
1
answer
9k
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
576
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
2k
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 am running a playbook (any playbook) against this lab, 1 error is appeared in TASK [Gathering ...
0
votes
1
answer
789
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
2k
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
35
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
619
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 ...
1
vote
0
answers
2k
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
905
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
768
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
8k
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
2k
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
211
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
806
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
240
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
2k
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
417
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
13k
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
971
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
751
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 ...
4
votes
2
answers
3k
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
5k
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 ...
2
votes
0
answers
4k
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
21k
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 ...
6
votes
0
answers
1k
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
248
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
3k
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
8k
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
1k
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
654
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
1k
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
11k
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\...