Join our Newsletter — 33% off our NHI Course
Home› Guides› Configuration Drift for Beginners: How Secure Settings Slowly…
Guide Endpoint Security

Configuration Drift for Beginners: How Secure Settings Slowly Slip and How to Spot It

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 10 min read
On this page

Configuration drift is when a computer's settings slowly move away from the safe settings you agreed.

This guide is for anyone who looks after computers, servers or cloud services, or pays someone who does. You do not need a technical background. A system that was safe on the day it was set up may not still be safe a year later.

In short

  • A baseline is the agreed list of safe settings for a type of computer or service.
  • Over time, quick fixes, new software and missed updates move real settings away from that list. That gap is drift.
  • Tools can compare each machine with the baseline, report the gaps and, if you choose, put settings back.
  • Start from a published baseline, check before you fix, and record every approved change.

What you will learn

  • Explain what configuration drift is in one sentence.
  • Spot the common causes of drift.
  • Check whether your machines are compared with a baseline.
  • Ask who approves changes to safe settings.
Agreed safe settings (baseline)
the approved list of settings a computer or service should have.
Slipping away (drift)
the gap between that list and how the machine is really set up today.

What is configuration drift?

Think of a garden you weed thoroughly in spring. It looks perfect. But nobody weeds it again, and by autumn the weeds are back, one at a time.

Computers are similar. Every computer, server and cloud service has settings. One might say whether the firewall (a filter for network traffic) is on. Others say who can sign in and which features are off. A team agrees a safe set of these, called a baseline. A US government standards body describes a baseline as settings formally agreed at one point in time. After that, they change only through an agreed process.[1]

Configuration drift is what happens next. Small changes build up, and the real settings move away from the baseline. Nobody decided to make the system less safe. It just slipped.

Where the comparison stops working: you can see weeds by looking at a garden. Drifted settings are hidden inside the machine, so you need a tool to compare them with the baseline.

Why does it matter?

Each drifted setting can be a small gap, such as a firewall rule left open after a repair. Attackers look for exactly these gaps. Drift also makes audits harder, because you cannot show your systems match what you said.

If you are new to IT work

What could happen: you open a setting to fix a problem, and forget to close it again.

Check this: write down every temporary change, with a date to undo it.

Next: Change Management for Beginners

If you run a small business

What could happen: laptops set up safely two years ago now differ from each other, and nobody knows how.

Check this: ask your IT supplier how they check that settings stay as agreed.

Next: Mobile Device Management for Beginners

If you work with cloud or code

What could happen: someone changes a cloud setting by hand, so it no longer matches the files that describe it.

Check this: make changes through the shared files, not by hand in the console.

Next: Infrastructure as Code Security for Beginners

What does it look like?

Here is a made-up drift report for one laptop, compared with its baseline.

Example only. All values are made up.

Machine:  LAPTOP-EXAMPLE-0000
Baseline: Office laptops v3 (EXAMPLE)

Setting             Should be   Is now
Firewall            On          On
Screen lock         5 min       5 min
Remote desktop      Off         On       (1)
Local admin users   1           3        (2)
Disk encryption     On          On
Last checked        -           40 days  (3)
  1. Remote desktop was switched on for a repair and left on.
  2. In a real file, this line would contain the number of accounts with full control of the laptop. Two were added by hand.
  3. Nobody has compared this laptop with the baseline for over a month.

Why this is risky: each extra admin account and open feature is another way in. With no regular check, nobody notices.

The safer way: a tool compares every laptop with the baseline on a schedule. It reports the gaps, and either fixes them or raises a ticket for a person to decide.

How does it work?

Here is how drift usually creeps in, and how it is caught.

  1. Agree the baseline. Many teams start from a published one rather than writing their own. Microsoft recommends using a well-tested industry baseline, such as its own security baselines.[2] The Center for Internet Security publishes checklists of safe settings, called CIS Benchmarks, for many products.[3]
  2. Apply it. A management tool pushes the settings to each machine.[2]
  3. Drift creeps in. Common causes are a quick fix during an incident or new software that changes settings. Others are a machine that misses its updates, or two tools fighting over one setting.
  4. Compare. A tool checks each machine against the baseline and lists the differences. Some tools have a "check only" mode. For example, Ansible's check mode shows what it would change without changing anything.[4]
  5. Put it right. Either the tool sets the value back, or a person decides. If the change was needed, update the baseline through your change process instead.
Chart titled How drift builds up. A dashed green line across the top is the baseline, the agreed safe settings. A black line shows the real settings: on Day 1 it matches the baseline, then moving right it steps down with each labelled event: quick fix during an incident, new software installed, a missed update, an extra admin account added by hand. The gap between the baseline line and the real settings line is shaded and labelled drift. On the right, a green arrow labelled Regular check and fix brings the line back up to the baseline.
Figure 1. Small changes pile up into drift, and regular checks bring settings back.
Loop diagram titled The drift check loop, with four boxes joined by arrows in a circle. Box 1, Agree the baseline: start from a published one. Box 2, Apply it: a tool pushes the settings. Box 3, Compare: a tool lists the differences on a schedule. Box 4, Put it right: fix it, or update the baseline through change approval. An arrow from box 4 returns to box 2.
Figure 2. Drift is managed as a loop, not a one-off job.

Tools differ in how often they look. For example, Microsoft says Windows Group Policy checks for changes about every 90 minutes by default. But by default it reapplies a setting only when the policy itself has changed.[5] So a setting changed by hand on one machine may not be put back on its own. That is why a separate compare step matters.

A worked example

Sana Lomax is the only IT person at a fictional group of three dental practices. Two years ago she set up all twenty-five laptops from the same safe baseline.

Before a yearly security review, the practice manager, Nadia Castell, asks a simple question: "Are the laptops still set up the way you said?"

Sana thinks of the garden. She weeded it once, but has not checked since. So she runs her management tool's compare report against the baseline.

The report shows three laptops with remote access switched on. She remembers turning it on for a repair last winter. Two laptops also have extra admin accounts that a supplier added when installing X-ray software.

Sana switches remote access back off. She asks the supplier whether the extra admin accounts are still needed. They are not, so she removes them. She records each change.

Next, she sets the compare report to run every week and email her the gaps. She also adds a rule for herself. Any temporary change gets a ticket with an end date.

Nadia takes the clean report to the review. Sana keeps the old report too. It shows the reviewer how the problems were found and fixed, which is often what an auditor wants to see.

Myths and mistakes

What people thinkWhat is true
Once a machine is set up safely, it stays safe.Settings change over time through fixes, installs and missed updates. Check them regularly.
Our management tool puts everything back on its own.Some tools only reapply settings when the policy changes, or only report drift. Check how yours behaves.[5]
We should write our own baseline from scratch.Microsoft recommends starting from a well-tested published baseline, then adjusting it.[2]
Turn on automatic fixing straight away.Run in report-only mode first. Automatic fixing can undo a change that a system really needs.
All drift is bad.Some changes are needed. Approve them and update the baseline, so the record matches reality.

What can I do this week?

  • Find out whether your machines have a written baseline, and where it is kept.
  • Run one compare report, even on a few machines, and see what has drifted.
  • List any temporary changes still in place, and give each an end date.
  • Ask who may change the baseline, and how changes are approved.

Checklist

  • Each type of machine has a written baseline, based on a published one.
  • A tool applies the baseline to every machine.
  • Machines are compared with the baseline on a schedule.
  • Gaps are fixed, or approved and added to the baseline.
  • Temporary changes have an owner and an end date.
  • Only a few named people can change the baseline or the tools that apply it.
  • Reports are kept, so you can show auditors what was found and fixed.

Common questions

What causes configuration drift?

Mostly ordinary work. Think of quick fixes during a problem, or new software that changes settings. Machines can also miss updates while away from the office, or two tools can set the same thing differently. Very little drift is deliberate, which is why regular checks matter more than blame.

How is drift different from a misconfiguration?

Drift is how a setting goes wrong over time. A misconfiguration is any wrong setting, including one that was wrong from the start. So drift is one common way misconfigurations appear. See Cloud Misconfigurations for Beginners.

How often should we check for drift?

Regularly, and often enough to catch problems before they matter. We suggest weekly as a starting point for small teams, and more often for servers and anything facing the internet. Many tools can check on their own schedule and alert you to gaps.

Does drift affect cloud services too?

Yes. Cloud accounts, apps and software services all have settings that can be changed by hand. Teams that describe their cloud setup in files can compare those files with what is really running. See Infrastructure as Code Security for Beginners.

Where next?

Ready for the detail? Read the practitioner guide: Configuration Drift and Baseline Enforcement Guide. It goes further into how each enforcement tool detects and corrects drift, how to roll enforcement out safely and which measures show it is working.

Also useful:

Related NHI Mgmt Group resources: Secure Configuration and Hardening Policy Template · Endpoint Hardening Checklist · CIS Control 4 Secure Configuration of Enterprise Assets and Software Guide

Key terms

Configuration drift
The gradual gap between a system's agreed safe settings and the settings it really runs with.
Baseline configuration
The approved set of settings for a system, changed only through an agreed process.
Hardening
Making a system safer by switching off what it does not need and tightening its settings.
Configuration management
The controlled way of setting, tracking and changing system settings over time.
Change management
The process for agreeing, recording and checking changes before they are made.
Group Policy
A Windows feature that pushes settings to many computers from one place.
Remediation
The action taken to fix a problem that a check has found.

Sources and further reading

  1. Baseline configuration (glossary). NIST Computer Security Resource Center, citing NIST SP 800-128 and SP 800-53 Rev. 5. https://csrc.nist.gov/glossary/term/baseline_configuration, accessed 28 Nov 2026.
  2. Security baselines. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/windows/security/operating-system-security/device-management/windows-security-configuration-framework/windows-security-baselines, accessed 28 Nov 2026.
  3. CIS Benchmarks. Center for Internet Security. https://www.cisecurity.org/cis-benchmarks, accessed 28 Nov 2026.
  4. Validating tasks: check mode and diff mode. Ansible Documentation, Red Hat. https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_checkmode.html, accessed 28 Nov 2026.
  5. Group Policy processing. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/group-policy/group-policy-processing, accessed 28 Nov 2026.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.