Questions tagged [winrm]

190 questions
1
vote
1 answer

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 username, just local ip and computer name and maybe…
dheb
  • 11
  • 1
1
vote
0 answers

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 mechanism used by the Invoke-Command commandlet when…
Chedy2149
  • 223
  • 4
  • 14
1
vote
0 answers

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 HyperV enabled. This HyperV server is just a…
beyonddc
  • 141
  • 2
  • 5
1
vote
2 answers

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 command works for host's local IPs 10.0.0.4 and…
g.pickardou
  • 199
  • 12
1
vote
1 answer

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 in the same domain as the event collector…
Paul
  • 113
  • 4
1
vote
3 answers

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: { "variables": { "aws_access_key": null, …
1
vote
0 answers

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 :
Mohit
  • 195
  • 1
  • 2
  • 7
0
votes
0 answers

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, I am not able to do it. I get the following error…
0
votes
2 answers

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 password the way it works with Administrator…
Vini
  • 111
  • 2
  • 5
0
votes
1 answer

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 host has machine certificates from the ADCS…
0
votes
1 answer

how to connect to server in remote domain with winrm

I have winrm enabled on a remote server and from a member of that server's domain, I am able to run Powershell commands using PSSession. However, from a client in another domain, I get "Connecting to remote server ... failed with the following error…
Roman
  • 405
  • 1
  • 7
  • 21
0
votes
1 answer

Grant Remote Launch and Remote Activation privilege with powershell script

I'm trying to grant full WMI remote access to a domain user, just like this one It works but I need to automate this process with powershell scripts, any ideas? I can't find anything relevant on MSDN.
daisy
  • 747
  • 4
  • 14
  • 30
0
votes
1 answer

In Powershell, how do I list CredSSP DelegateComputers as distinct objects?

As is well known, to avoid the Powershell Second Hop problem when Powershell Remoting, one needs to set the CredSSP Client and Server settings. e.g. # On the client, a.k.a the First Hop Server Enable-WSManCredSSP -Role "Client" -DelegateComputer…
ErikE
  • 4,746
  • 1
  • 20
  • 27
0
votes
1 answer

What is a WinRM runspace pool?

So I am having an issues installing/removing features and rolls from a Windows Server 2012 R2 Server. I consistently come up with this error no matter which service, role, or feature I installed called WinRM Runspace pool invalid. Now I know the two…
JukEboX
  • 815
  • 4
  • 17
  • 46
0
votes
1 answer

Add/Remove features on Server 2012 R2 fails when joined to domain (Offline)

I am trying to add/remove features from one server using the GUI Server Manager tool on Server 2012 R2. I have 2 servers doing this and both air connected to the same network and have no access to the internet. Upon trying to add/remove a feature…
JukEboX
  • 815
  • 4
  • 17
  • 46