Forum Discussion

JanMischo's avatar
JanMischo
Tin Contributor
Oct 20, 2026

MSHardenedPolicyEval and/or OSConfig

Hi,

basicly the question is: Do they both play nicly together? Is it a "use MSHardenedPolicyEval" or "OSConfig"?

Is OSConfig still in active development or will it be retired / deprecated when MSHardenedPolicyEval is GA?

While I still really like OSConfig the new MSHardenedPolicyEval looks promising.

Best regards,

Jan

4 Replies

  • They can coexist, but they serve different purposes. It's not necessarily an either/or decision.

     

    - OSConfig is a desired-state configuration and compliance management solution. It applies security baselines, monitors configuration drift, and automatically corrects deviations.

    - MSHardenedPolicyEval evaluates Windows Server against Microsoft's new hardened security settings. It can also apply or revert those settings.

     

    Can they work together?

     

    Yes, with an important caveat: avoid having both tools enforce the same settings.

     

    For example:

     

    - Use OSConfig to manage and enforce your security baseline.

    - Use MSHardenedPolicyEval for security scoring and assessment (read-only mode).

    - Avoid enabling enforcement through both tools for overlapping settings, as they could overwrite each other's configurations.

     

    Microsoft explicitly warns about conflicts between multiple configuration authorities.

     

    Is OSConfig being deprecated?

     

    As of November 2026:

     

    - There is no announced deprecation or retirement of OSConfig.

    - Microsoft continues to document OSConfig for Windows Server 2025.

    - There is no official announcement that MSHardenedPolicyEval will replace OSConfig.

    My recommendation

     

    I'd continue using OSConfig for baseline management and drift control, while evaluating MSHardenedPolicyEval in read-only mode.

     

    Don't treat MSHardenedPolicyEval as an OSConfig replacement unless Microsoft explicitly confirms that direction.

     

     

  • JanMischo's avatar
    JanMischo
    Tin Contributor

    Thank you both for your answers. And:

    Carlos_Mayol​  those are more than awesome news: "Announcing Hardened Server Core for Windows Server Insiders" (https://techcommunity.microsoft.com/blog/windowsservernewsandbestpractices/announcing-hardened-server-core-for-windows-server-insiders/4574239)

  • Hello, JanMischo​ the tool we shared in the preview post is part of the new Windows Server vNext capabilities, which will be announced at Ignite with more details and an updated post that will better answer your questions.

    Do they both play nicely together? Yes.

    MSHardenedPolicyEval or OSConfig? MSHardenedPolicyEval is in-box tooling for the hardened security defaults. OSConfig manages a broader set of security settings. Once an OSConfig baseline is in place, it supersedes the initial settings.

    Think of the two like this:

    • Day 0: initial security, built into the image and assessed in-box with MSHardenedPolicyEval (the name is subject to change).

    • Day 2: ongoing security management with OSConfig, aligned with the Windows Admin Center and Azure Policy experiences.

  • These tools overlap in security configuration, but Microsoft has not described MSHardenedPolicyEval as an OSConfig replacement in the announcement. OSConfig’s Windows Server 2025 baselines apply desired configuration and protect it against drift. MSHardenedPolicyEval was introduced in a Server vNext preview to assess a curated hardening catalogue and optionally apply or revert settings. For an initial comparison, use its documented no-argument evaluation from an elevated administrator prompt; that mode is read-only. Do not assume that applying both tools’ policies will be conflict-free: overlapping settings with different target values could compete, particularly where drift enforcement is active. Compare the actual settings on a disposable test VM before choosing which mechanism owns enforcement. The preview announcement does not establish a retirement date for OSConfig or certify combined enforcement. Continue following OSConfig’s supported baseline guidance and request an explicit compatibility statement from the Server team.