Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

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

Team Foundation Server 2015 Installation Guide (SQL Express + Update 3)

Install Team Foundation Server 2015 using the original Microsoft download paths, with clear guidance for online, offline, and ISO-based setup. This revised guide also includes an installation workflow, command example, and practical pitfalls to avoid.

Read More

How to Access a Running Docker Container Shell: docker exec vs docker attach

Need a shell inside a running container that is already in detached mode? This updated guide shows the correct workflow, compares docker exec and docker attach, and explains when SSH does and does not make sense.

Read More

Host Your Own NuGet Feed: Local Source vs NuGet.Server vs NuGetGallery

Learn how to host a private NuGet feed using three practical approaches: a local folder source, NuGet.Server, and NuGetGallery. This revised guide includes setup steps, command examples, and a workflow diagram to help you choose the right model.

Read More

Publish NuGet Packages to NuGet.org: CLI Steps, Workflow, and CI Example

Learn how to publish a NuGet package to NuGet.org using either nuget.exe or the dotnet CLI. This revised guide includes a workflow diagram, command comparison, and a CI-friendly example.

Read More

How to Create NuGet Packages with nuget.exe (Assembly, .nuspec, and .csproj Methods)

Learn three practical ways to build NuGet packages using nuget.exe: from an existing assembly, from a convention-based folder layout, or directly from a Visual Studio project. This guide includes commands, folder conventions, token behavior, and common pitfalls.

Read More

Virtualization in DevOps: Using Vagrant, Docker, and Cloud Platforms Together

This guide explains how VM-based workflows, containers, and cloud platforms complement each other in DevOps. It includes a practical workflow, trade-off table, and command examples for day-to-day use.

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