Questions tagged [winrm]

181 questions
3
votes
2 answers

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 this somehow possible or do I need a separate WAC…
mivra
  • 143
  • 5
3
votes
3 answers

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 get the error of Connecting to remote server…
josh
  • 41
  • 1
  • 2
  • 4
2
votes
0 answers

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 configuration: winrm enumerate…
2
votes
2 answers

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…
Gamlor
  • 121
  • 1
  • 4
2
votes
1 answer

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 winrm '%IP_Val%' --winrm-shell Powershell 'query session' -x…
goe
  • 141
  • 4
2
votes
1 answer

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 on one that I can't seem to fix. Also, I want to…
Aura
  • 461
  • 5
  • 12
2
votes
1 answer

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 message: Enter-PSSession : Connecting to remote server…
liupro925
  • 31
  • 4
2
votes
1 answer

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 (netbios: web, fs, dc) on Windows Server 2016…
2
votes
0 answers

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. The script that executes the command…
Preston Martin
  • 183
  • 1
  • 7
2
votes
0 answers

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 gpresult -z i get a Access Denied, which would seem…
Max Brown
  • 21
  • 4
2
votes
4 answers

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. After having trouble finding a playbook module…
DrewJenseric
  • 23
  • 1
  • 3
2
votes
1 answer

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 the least. Every time I come back to the fact…
Albert
  • 133
  • 6
2
votes
2 answers

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: Input Error: There is no script engine for file…
2
votes
0 answers

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 could not start the task due to the following…
Andy
  • 21
  • 1