Windows 10: Ansible Connection from Ubuntu to Windows using WinRM

Discus and support Ansible Connection from Ubuntu to Windows using WinRM in Windows 10 Gaming to solve the problem; I want to connect through 20 windows machine using my Ubuntu machine controller node In my Ubuntu machine I have ansible installed and I need to... Discussion in 'Windows 10 Gaming' started by Fathima Farwa, May 23, 2024.

  1. Ansible Connection from Ubuntu to Windows using WinRM


    I want to connect through 20 windows machine using my Ubuntu machine controller node In my Ubuntu machine I have ansible installed and I need to connect the above 20 Windows machines I have info like IP, Hostname, Userid, Password using Kerberos Authentication since all the machines are under single domain network. And Basic, Certificate all the other methods are disabled by "GPO". Only using Kerberos.I am able to connect through the 2 Machines because I have explicitly Enabled WinRM.. like "WinRM qc" and then added HTTPS 5986 port But I don't want to go to each and every machine and enabl

    :)
     
    Fathima Farwa, May 23, 2024
    #1
  2. Sahan_437 Win User

    WinRM error "The device is not ready"

    Hi,

    I'm trying to connect to a windows node (windows server 2022) via WINRM using ansible and I'm getting "The device not ready error". I have researched a lot about this and did not find much promising information about this. Are there any insights that I can get to resolve this?

    Sahan.
     
    Sahan_437, May 23, 2024
    #2
  3. AkshadaS Win User
    Connecting to Windows server over Winrm with https from Linux System

    Hi Team

    We have a scenario, where we need to connect to Windows server from a Linux Server ( Jenkins host is linux )
    We want the connection to happen over https with WinRM

    For which we have following in place:
    1. WinRM is configured with http (5985), https (5986) listeners.
    2. Https listener is configured with SSL with thumbprint of SSL certificate whose CN is domain name, listener configuration successful.
    3. WinRM Service is running.

    Connection from Linux server does not work when in my command I specify to use SSL transport for WinRM, its failing over SSL certificate issue.

    Currently, I haven't performed any step to add any pem file for target Windows server SSL certificate on client ( Linux server )
    Any suggestions/inputs/pointers on following will help.
    1. If Linux to Windows connectivity with WinRM over https is possible? The command I am using in that if I ask to disable validation of ssl certs it works over https, but I want to achieve it with SSL certs validation enabled.
    2. Which certificate or key should be added on to linux host, how to generate it?

    Any response is really appreciated.

    Thank you!

    Regards,
    Akshada
     
    AkshadaS, May 23, 2024
    #3
  4. Ansible Connection from Ubuntu to Windows using WinRM

    Need help to identify the cause for WINRM Service locking up.

    Hi all,

    I have a problem with the WINRM service on our Windows Server 2019 VM instance. It's stuck in a "stopping" step. We've tried "taskkill /f /pid <could be any ID>" which usual works but not in this case. This service is used by our Server Monitoring tool

    I know if we restart the server it will fix it but that is not a solution as we've done this a few times now we need to find a proper resolution.

    - Event logs not specific to any error for this issue

    - Curious issue along with this is a Trend agent alert also. Basically trend console cannot communicate with the server.

    - I believe these are tied into the same issue but what exactly is that.......WINRM service?

    - Also went to check Windows updates History and nothing is displaying even used using "PS commend wmic qfe list" nothing

    Any help just to identify the underlying cause would help. Any suggestions
     
    Interactive Support, May 23, 2024
    #4
Thema:

Ansible Connection from Ubuntu to Windows using WinRM

Loading...
  1. Ansible Connection from Ubuntu to Windows using WinRM - Similar Threads - Ansible Connection Ubuntu

  2. Ansible Connection from Ubuntu to Windows using WinRM

    in Windows 10 Software and Apps
    Ansible Connection from Ubuntu to Windows using WinRM: I want to connect through 20 windows machine using my Ubuntu machine controller node In my Ubuntu machine I have ansible installed and I need to connect the above 20 Windows machines I have info like IP, Hostname, Userid, Password using Kerberos Authentication since all the...
  3. Connecting to Windows server over Winrm with https from Linux System

    in Windows 10 Gaming
    Connecting to Windows server over Winrm with https from Linux System: Hi TeamWe have a scenario, where we need to connect to Windows server from a Linux Server Jenkins host is linux We want the connection to happen over https with WinRMFor which we have following in place:1. WinRM is configured with http 5985, https 5986 listeners.2. Https...
  4. Connecting to Windows server over Winrm with https from Linux System

    in Windows 10 Software and Apps
    Connecting to Windows server over Winrm with https from Linux System: Hi TeamWe have a scenario, where we need to connect to Windows server from a Linux Server Jenkins host is linux We want the connection to happen over https with WinRMFor which we have following in place:1. WinRM is configured with http 5985, https 5986 listeners.2. Https...
  5. WinRM Configuration

    in Windows 10 Gaming
    WinRM Configuration: Hello,I have a question about the WinRM Configuration. Please see the highlighted row in the picture:What is this used for?As far as I know its not the https listener certificate because that is configured somewere else see output [winrm enumerate winrm/config/listener]kind...
  6. WinRM error

    in Windows 10 Network and Sharing
    WinRM error: I change wimrm http to https and here have a problem I don't have domain name.https://www.visualstudiogeeks.com/devops/how-to-configure-winrm-for-https-manually https://answers.microsoft.com/en-us/windows/forum/all/winrm-error/c85bed5e-f336-48fc-acd8-645531565ad2
  7. Cannot remote connect from Ubuntu to Windows 10 Home using Remmina

    in Windows 10 Network and Sharing
    Cannot remote connect from Ubuntu to Windows 10 Home using Remmina: Hello, I want to connect my Ubuntu 20.04 LTS laptop to my Windows 10 Home pc using Remmina, but despite I can ping the windows 10 pc I am not able to remote connect to it. I have enabled the remote access on the windows 10 home and also set in my firewall bitdefender an...
  8. Using Windows libraries from Ubuntu / Linux on Windows

    in Windows 10 Support
    Using Windows libraries from Ubuntu / Linux on Windows: I recently brought up Linux on Windows. I chose the Ubuntu distribution. It works well. Really well. Really fast. I'd like to write and build C-language programs in Linux, much the same as I did with Cygwin for many years.But I don't see the Windows header files and...
  9. WinRM connexion

    in Windows 10 Network and Sharing
    WinRM connexion: Hello, Being an IT guy, I need to install software on multiple computers. And for some reasons, we decided to install them remotely by using WinRM. So on one hand, I have my Windows 10 who is a client of our domain (let's call it myDomain). And in the other hand, I have...
  10. Windows recovery using Ubuntu

    in Windows 10 Installation and Upgrade
    Windows recovery using Ubuntu: I had windows 10....deleted everything but the RE-partition. I'm now using ubuntu in an attempt at recovery of win 10 but no-luck. I keep getting response of missing boot config when attempting to boot the RE-partition....I'm a newb and like messing with stuff...not even sure...