MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Guide to add and use a Windows node in Rundeck installed on a Linux server

Hereโ€™s a step-by-step guide to add and use a Windows node in Rundeck installed on a Linux server, using WinRM (Windows Remote Management), which is the most common way to connect from Linux to Windows.


๐Ÿงฉ Prerequisites

RequirementNotes
โœ… Windows machineWindows 10/11 or Server with WinRM enabled
โœ… Rundeck installed on LinuxAny recent version of Rundeck (Community is fine)
โœ… Network reachabilityLinux (Rundeck) must reach the Windows node on port 5985 (HTTP) or 5986 (HTTPS)
โœ… PowerShell enabled on WindowsFor remote execution

๐Ÿ”ง Step 1: Enable WinRM on Windows Node

Open PowerShell as Administrator on the Windows machine and run:

winrm quickconfig

If prompted, choose y to make the changes.

Optional (Allow unencrypted + Basic Auth):

winrm set winrm/config/service '@{AllowUnencrypted="true"}'
winrm set winrm/config/service/auth '@{Basic="true"}'
Code language: PHP (php)

โš ๏ธ This is for testing. For production, use HTTPS with a certificate.


๐Ÿ–ฅ Step 2: Create Windows Node Entry in Rundeck

Go to:
Rundeck โ†’ Project Settings โ†’ Edit Nodes โ†’ Add a Node (Manually)

Or edit your resources.yaml/resources.xml (depending on project config).

Sample YAML Entry (resources.yaml):

- nodename: win-node01
  hostname: 192.168.1.50
  osFamily: windows
  osName: Windows
  description: Windows Node for Deployment
  tags: windows
  username: Administrator
  winrm-auth-type: basic
  winrm-protocol: http
  winrm-port: 5985
  winrm-ssl: false
  winrm-certificate-check: false
  winrm-password-storage-path: keys/project/windows-password
Code language: JavaScript (javascript)

Store the password in Rundeck Key Storage:

Go to:
Rundeck โ†’ Key Storage โ†’ Add Key โ†’ Password โ†’ Path: keys/project/windows-password


โš™๏ธ Step 3: Configure Project for WinRM Plugin

Make sure WinRM is supported in your project:

  1. Go to Project Settings โ†’ Edit Configuration
  2. Add or verify:
project.node.executor.default=overthere-winrm
project.remote.file-copy.default=overthere-winrm
Code language: PHP (php)

This ensures file copy and command execution use WinRM.


๐Ÿ“ฆ Step 4: Install WinRM Plugin (if missing)

If WinRM plugin isn’t preinstalled, download it:

Steps:

  1. Download the .jar
  2. Place it in /var/lib/rundeck/libext/
  3. Restart Rundeck:
sudo systemctl restart rundeckd

โœ… Step 5: Test Node Connectivity

  • Go to Nodes โ†’ win-node01 โ†’ Test Connection
  • If it fails, check:
    • Network access (ping/port 5985)
    • Credentials (Administrator or other user with permissions)
    • WinRM config on Windows

๐Ÿš€ Step 6: Run a Command on Windows Node

  1. Go to Commands
  2. Select Node: win-node01
  3. Command:
Get-Process

Output should appear in the Rundeck UI.


โœ… Troubleshooting Tips

ProblemFix
WinRM connection refusedMake sure port 5985 is open and WinRM is configured
Authentication failureEnsure username/password are correct; check storage path
Plugin not foundCheck if the WinRM plugin JAR is in libext/ and restart Rundeck
Firewall issuesOpen WinRM ports on the Windows Firewall

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Rundeck Assignments 2 – Windows

Rundeck Student Assignments (Windows Local Node) ๐Ÿ“ Setup Prerequisites: ๐ŸŽ“ Assignment List Assignment 1: Hello World in PowerShell Objective: Run a basic PowerShell script as a Rundeck…

Read More

Windows Troubleshooting: Administrator Guide

To find which ports are in use on Windows, use netstat -ano in Command Prompt, Get-NetTCPConnection and Get-NetUDPEndpoint in PowerShell, or the graphical tools Resource Monitor and…

Read More

How to Work with Rundeck Webhooks?

A Rundeck webhook is a project-level HTTP endpoint. When it receives a POST request, a handler plugin runs, usually one that starts a job and passes values…

Read More

Rundeck Database Migration From H2 to MySql and postgresql

This guide moves Rundeck off its embedded H2 database and onto MySQL or PostgreSQL, which is what you should use in production. The steps above set up…

Read More

PowerShell Training for Developers: Course Outline, Labs, and Delivery Options

This revised guide summarizes the original PowerShell training offering for developers and build/release engineers, including syllabus, lab focus, and delivery details. It also adds practical command examples so you can evaluate fit before enrolling.

Read More

Senior Windows Administrator: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path

The Senior Windows Administrator is accountable for the reliability, security, and operational excellence of the organizationโ€™s Windows-based infrastructure, including core identity services, server platforms, endpoint management integrations, and Windows-adjacent enterprise services. This role ensures that Windows environments are standardized, patched, monitored, recoverable, and compliantโ€”while progressively automating operations to reduce toil and improve service quality.

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x