Skip to main content

Questions tagged [winrm]

Windows Remote Management server

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 ...
Ray61's user avatar
  • 1
-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 ...
BK Kenny's user avatar
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: ...
user1563721's user avatar
  • 1,491
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 ...
FinFinnigan's user avatar
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 ...
Dennis's user avatar
  • 1,571
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 '...
Smily's user avatar
  • 2,498
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 ...
gjvignesh's user avatar
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. ...
Pritish Panda's user avatar
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 ...
MAULIKKUMAR PATEL's user avatar
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 ...
dnf's user avatar
  • 1,779
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" } ...
krishna kanth Gade's user avatar
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 ...
anton123's user avatar
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 ...
Gus_antonios's user avatar
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 ...
Andy D's user avatar
  • 38
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 ...
Dave's user avatar
  • 2,581

15 30 50 per page
1
2 3 4 5
37