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.

How to add Windows Node in Rundeck?

Rundeck allows users to execute jobs to remote Windows nodes to manage and automate tasks using Rundeck workflows. This article shows how to add a Windows node and execute Rundeck jobs and commands with windows-based systems.

To communicate with Windows nodes, Rundeck uses an out-of-the-box Node Execution/ File Copier plugin that uses the WinRM (Windows Remote Management) protocol.

Basic pywinrm Plugin Requirements

The pywinrm plugin (opens new window)needs the following requirements on the Rundeck server to work properly. It is supported on Rundeck running on Linux, Mac OS X, or Windows operating systems.

Requirements

The pywinrm plugin (opens new window)uses the python WinRM Library (opens new window)to provide the WinRM implementation.

  • Python 3.3-3.5 or PyPy2 installed on Rundeck server. (Python 3 strongly recommended)
  • Pywinrm library (It can be installed with the following command:

$ pip install pywinrm
requests-kerberos and requests-credssp are optional.

Basic Windows Requirements

To follow this How to Guide, your Windows system needs the following requirements:

A Windows node in the same network as the Rundeck instance

  • Windows Server 2008 R2 or above
  • PowerShell 2.0 or above

Windows Configuration

The first step is to configure the Windows machine. To do this, go to the Windows instance and follow the these steps:


Open a PowerShell terminal as an admin user profile.
Enable the WinRM protocol on Windows:
$ winrm qc

# Define the authentication type:
$ winrm set winrm/config/service/Auth '@{Basic="true"}'

# Define the client authentication type:
$ winrm set winrm/config/client/Auth '@{Basic="true"}'

# Allow unencrypted SOAP messages:
$ winrm set winrm/config/service '@{AllowUnencrypted="true"}'
Code language: PHP (php)

Add Windows Key

Don’t forget to add the Windows user password to the Rundeck key storage.

  1. Go to the System Menu(Gear Icon) > Key Storage.

    Key Storage
  2. Click on the + Add or Upload a Key button.
  3. Enter the Windows password as shown in the image and save.

    Key Storage Entry

Rundeck Configuration

Create a Windows-based project on the Rundeck instance.

  1. Create a new project: Name windows, and LabelWindows Jobs

    Create Project
  2. Go to the Default Node Executor tab and then select WinRM Node Executor Python. It may be necessary to set the Python interpreter textbox to python3 interpreter as the command/path.

    Node Executor
  3. Go to the Default File Copier tab and select the WinRM Python File Copier. Similar to the previous step, it may be necessary to define the Python interpreter textbox as python3 interpreter for the command/path.

    File Copier
  4. Click on the Create button.

Adding a Windows Test Node

  1. Click on theย Add a new Node Source +ย button.
  2. Selectย File
  3. In theย Formatย section, click on the right list and select theย resourceyamlย option.
  4. Put the file’s desired path including the file name and extension. (e.g.ย ~/windows-nodes.yaml)
  5. Select check boxes forย Generate,ย Include Server Nodeย andย Writeableย checkboxes, and then click on theย Saveย buttons (there are two).
File Source Details

6. Now click on theย Editย tab, and click on theย Modifyย button.File Source Code
7. Add the following node definition in the node definition text area. Make sure you use your own nodes IP Address forย hostnameย and login name forย username

mywindows:
  description: Windows Server.
  tags: windows
  hostname: 192.168.1.10
  osArch: amd64
  osFamily: windows
  username: Administrator
  winrm-password-storage-path: "keys/windows.password"Code language: JavaScript (javascript)

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

Top 10 AI SEO Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, AI SEO tools have become indispensable for digital marketers, businesses, and content creators aiming to dominate search engine rankings. These tools leverage artificial intelligence…

Read More

Top 10 Product Lifecycle Management (PLM) Tools in 2026: Features, Pros, Cons & Comparison

Introduction Product Lifecycle Management (PLM) is a strategic approach to managing a productโ€™s journey from conception through design, manufacturing, and end-of-life. In 2026, PLM software has evolved…

Read More

Top 10 Patch Management Tools in 2026: Features, Pros, Cons & Comparison

Introduction: The Importance of Patch Management in 2026 In 2026, as cyber threats evolve and technology becomes more complex, patch management tools are critical for maintaining cybersecurity…

Read More

Top 10 Headless CMS Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, Headless Content Management Systems (CMS) have become the go-to solution for businesses seeking flexibility, scalability, and a modern approach to content management. Unlike traditional…

Read More

Top 10 AI Lead Scoring Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, AI lead scoring tools have become indispensable for B2B and B2C businesses aiming to optimize their sales pipelines. These tools leverage artificial intelligence to…

Read More

Top 10 AI Portfolio Optimization Tools in 2026: Features, Pros, Cons & Comparison

Introduction Investment management has always been about making smart choices at the right time. Traditionally, this required endless hours of research, manual calculations, and intuition. But in…

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Charan Siddartha
Charan Siddartha
3 years ago

Thanks’ rajesh, with the above steps i added windows node in rundeck, but while executing a job it got failed,
i want know whether Windows is successfully added or not and also windows is reachable/able to login from rundeck.
can you please guide on this

1
0
Would love your thoughts, please comment.x
()
x