Forge Home


This module allows you to manage windows services.


15,940 latest version

3.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.4 (latest)
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Oct 6th 2014
This version is compatible with:
  • Windows

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'jriviere-windows_services', '0.0.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jriviere-windows_services
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jriviere-windows_services --version 0.0.4

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



jriviere/windows_services — version 0.0.4 Oct 6th 2014


Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with windows_services
  4. Usage - Configuration options and additional functionality
  5. Limitations - OS compatibility, etc.
  6. Support - How contribute


Module allow us to change the username and password for a service.

Module Description

Module allow us for now to change the username and password for a service.

Delayed resource can't be applied without a server restart.

##Last Fix/Update V 0.0.4 :

  • Add Carbon.dll assembly. Permit to give privilege : SeServiceLogonRight to the specify account (useful for managing server without DC features)


Setup Requirements

Depends on the following modules: 'puppetlabs/powershell', '>=1.0.2', 'puppetlabs/stdlib', '>= 4.2.1'


Resource: windows_services::delayedstart

      servicename => "puppet",


    $delayed   # Default True for put delayed start on service, set to false to let to automatic start

Resource: windows_services:credentials

      username    => "DOMAIN\\User",
      password    => "P@ssw0rd",
      servicename => "puppet",
      delayed     => true,


    $delayed   # Default False, set to true to set delayed start on servicename. (Restart needed)


Works only with windows. Tested on Windows Server 2012 R2

The delayed resource is only applied when server reboot.


Apache License, Version 2.0




Please log tickets and issues at GitHub site