Questions tagged [winrm]
190 questions
3
votes
3 answers
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 script runs as expected when run interactively.…

uSlackr
- 6,412
- 21
- 37
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
- 51
- 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…

Rajat jain
- 121
- 1
- 5
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
- 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
2 answers
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
- 471
- 1
- 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 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 WAC interface to add two EC2 servers. That is, I…

Brent Arias
- 247
- 3
- 13
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…

alexsuslin
- 89
- 8
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…

Bat_Programmer
- 93
- 6
2
votes
0 answers
"Hyper-V encountered an error trying to access an object on computer '
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 the usual install; add machines to hosts file on…

apatton.cnet
- 31
- 1
- 3