Questions tagged [winrm]
Windows Remote Management server
winrm
555
questions
0
votes
0
answers
24
views
Ansible - Bad HTTP Response
I installed Ansible on a VM and want to automate Windows Updates on Windows Hosts. When i try to ping the hosts with the command: ansible test -m win_ping -vvv i receive a Bad HTTP Error
client.xxx.DE ...
-1
votes
0
answers
55
views
Configure local windows 11 machine via Ansible in WSL [closed]
I currently using windows 11 machine that have enabled WSL 2.
In WSL i have installed Ansible.
My question is i want to using Ansible in my Windows 11 WSL to install notepad++.
Here is my playbook ...
0
votes
0
answers
18
views
pywinrm CredSSP NTLM BadMechanismError(context_msg="Unable to negotiate common mechanism", base_error=last_err)
I am trying to debug strange behaviour when using the pywinrm. It cannot open WinRM connection because of
BadMechanismError: SpnegoError (1): expected string or bytes-like object, got 'dict', Context: ...
0
votes
0
answers
16
views
How can i resolve this inconsequent error on the mail server?
I have a new user/new email powershell script.
In the new email part i try to connect to exchange.server via a remote session to run a few commands to create the email part. Sometimes it runs without ...
0
votes
1
answer
85
views
Why can't I run accesschk using a PowerShell remote session to check system permissions?
I'm trying to get the system security permission for a specific user on a remote system using SysInternals AccessChk.
If I login to a computer as adminstrator, copy SysInternals tools to my ...
1
vote
2
answers
63
views
Issue with winrm while execution from ansible CLI
I wanted to run ansible with python3, but the output of ansible version still shows python 2 version, even if I pass ansible_python_interpreter
#ansible-playbook --version -e '...
0
votes
0
answers
78
views
Ansible WinRM error and kerberos authentication failure error
Ansible playbook is trying to execute powershell script in remote windows server using win_shell module with the user (AD user). This is configured as Jenkins freestyle job. Job fails with below error ...
0
votes
0
answers
27
views
Python: Winrm: Failed to transfer a zip file which has 10 files inside it using winrm through python3.8
I am using winrm through python 3.8 to transfer files to window vm.
My Observation
When I transfer a normal file to window. Then works fine.
When I transfer zip file which has 5-6 files inside it. ...
0
votes
0
answers
27
views
Azure Windows Machine Vm Machine Not access in Local Machine to Powershell Script
I have run below code in my local machine access from Azure VM machine run Powershell script Get Date
Error show not access
Error occurred: Connecting to remote server 57.151.88.183 failed with the ...
0
votes
1
answer
179
views
Problem with New-PSSession - content type is absent or invalid
I have weird problem with New-PSSession command. When I try to connect to server with
New-PSSession -ComputerName "xxx"
I have response
The WinRM client cannot process the request. It cannot ...
0
votes
1
answer
66
views
ansible + packer +windows ami giving "msg": "winrm or requests is not installed: No module named 'winrm'"
my packer template looks as follows
packer {
#plugins
required_plugins {
amazon = {
version = ">= 1.2.8"
source = "github.com/hashicorp/amazon"
}
...
1
vote
0
answers
66
views
Invoke-command works only when any user is logged (msi install)
I've got a problem with running Invoke-Command on remote Computer with WinRM up and running. I've configured and run WinRM, but Invoke-Command with task of Silent Install is not successfully run until ...
0
votes
0
answers
54
views
Ps-session error on Azure Hosted Build Agents
We were using AzureFileCopy to transfer files to a VM. The latest release has introduced a bug which means you receive an error when trying to do this. Apparently the url and the SAS token should have ...
0
votes
0
answers
36
views
How to simulate the condition that causes "Resetting dropped connection"
I am trying to understand the cause of this log message with debug enabled:
"connectionpool","292","Resetting dropped connection: someserver.com"
The short version is ...
0
votes
1
answer
95
views
Why does WinRM fail with Terraform?
I am trying to copy files to virtual machines deployed to Azure via Terraform. No matter what I try, it constantly fails with WinRM
I have verified port 5895 is open to my IP address in Azure.
I am ...