Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Local Configuration Manager

Direct answer

The Local Configuration Manager (LCM) is the DSC engine on each node that applies configurations, runs consistency checks and controls refresh mode, frequency and reboot behaviour.

When to use this

Use this when configuring the DSC engine on nodes.

First 30 seconds

1. LCM is the DSC engine on each node.

2. Configure mode, refresh, reboot behaviour, certificates.

3. ApplyAndAutoCorrect for enforcement.

4. RebootNodeIfNeeded carefully.

5. Monitor LCM state.

Operational verification

meta-configuration → LCM → apply/monitor

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
PowerShell Desired State Configuration
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformPowerShell Desired State Configuration · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior. · Windows PowerShell DSC
Key commandGet-DscLocalConfigurationManager
Scope / prerequisiteUse this when configuring the DSC engine on nodes.
Verify · 1
What next?3 suggested next steps
Catalog command links1
Evidence0
On this pageJump to a specific section
Automation command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Command read-back and what it shows Verify boundary

Get-DscLocalConfigurationManager is the bounded verification surface selected for PowerShell DSC → Local Configuration Manager. A known-good result is LCM reports the intended refresh/configuration modes, source/registration identity and schedule, obtains the expected configuration and completes a consistency cycle without persistent error. Treat wrong mode/source, stale configuration generation, pull/registration errors, suspended/pending reboot state or repeated consistency failures persist as broken/suspicious. Get-DscLocalConfigurationManager shows LCM meta-configuration reported by the node, but it does not show resource compliance, pull-server health beyond observed interactions or application health.

Step 2 Common mistakes Narrow the fault
  • LCM settings not set as intended.
Step 3 Observation-driven branch and next-check logic Narrow the fault

For a failing PowerShell DSC → Local Configuration Manager case, freeze scope first: target/object, desired revision or request, and failure time. Inspect Get-DscLocalConfigurationManager. Branch on evidence rather than labels: if LCM mode or refresh source is unexpected, correct meta-configuration before resource debugging; if settings are correct but pull/refresh fails, inspect registration/TLS/network; if LCM is healthy and current but resource state fails, move to DSC resource diagnostics.

Key points
  • The LCM controls refresh mode, configuration mode and frequency.
  • It also controls reboot behaviour.
  • Configure it with a meta-configuration.
Key checks
  • Get-DscLocalConfigurationManager — LCM settings
  • Set-DscLocalConfigurationManager -Path .\meta — apply meta-config
  • ConfigurationModeFrequencyMins / RefreshFrequencyMins — intervals
ReferenceHow it works1 section · depth on demand

How it works

In PowerShell DSC → Local Configuration Manager, effective state is split across LCM meta-configuration, refresh mode/frequency, configuration mode, reboot policy and pull registration state that governs when DSC evaluates or changes a node. The Local Configuration Manager schedules consistency checks and obtains desired configuration according to meta-configuration; its mode determines whether drift is only reported or actively corrected. Pull-server connectivity, certificates, registration keys, resource modules and Windows Management Framework version remain separate dependencies. This matters because a valid desired MOF can remain unapplied when LCM refresh/pull state is wrong, while an active LCM can repeatedly enforce an unintended old configuration.

ReferenceImportant terms & boundaries1 section · depth on demand

Method

The Local Configuration Manager (LCM) is the DSC engine on each node; troubleshooting DSC usually means inspecting what the LCM is doing.

1. Check LCM settings: Get-DscLocalConfigurationManager (RefreshMode, ConfigurationMode, intervals).

2. Check the current status: Get-DscConfigurationStatus and Test-DscConfiguration -Detailed.

3. Read the DSC event log: Microsoft-Windows-DSC/Operational.

4. Re-apply verbosely: Start-DscConfiguration -UseExisting -Wait -Verbose.

ConfigurationModeBehaviour
ApplyOnlyApply once, no monitoring
ApplyAndMonitorApply, then report drift
ApplyAndAutoCorrectApply and fix drift every interval
SymptomLikely cause
"Pending configuration" stuckPrevious run waiting for reboot
Resource not foundModule not installed on the node
Drift keeps reappearingGPO or another tool changes the same setting
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docPowerShell Desired State Configuration current

Authoritative/upstream documentation reviewed for bounded claims in PowerShell DSC > Local Configuration Manager. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/powershell/dsc/overview?view=dsc-3.0 · confidence 94%
Confirmation

Confirm action

Continue?