Skip to content

Windows configuration profile verification failing after settings applied #38833

Description

@GrayW

Fleet version: 4.78.3 // @GrayW 4.79.1 (Render Instance)

Operating system: Various Windows 11 Pro // @GrayW W11 Pro 25H2


💥  Actual behavior

When deploying a configuration profile to Windows, the validation in Fleet UI shows a failure with the error message 'The MDM protocol returned a success but the setting couldn't be verified by osquery.'

Image

Example Profile 1

<Replace>
  <Item>
    <Meta>
      <Format xmlns="syncml:metinf">chr</Format>
    </Meta>
    <Target>
      <LocURI>./Device/Vendor/MSFT/Policy/Config/LocalPoliciesSecurityOptions/InteractiveLogon_MessageTextForUsersAttemptingToLogOn</LocURI>
    </Target>
    <Data><![CDATA[You are about to log in to a COMPANY corporate workstation. Please ensure that your use of the system complies with the corporate security and privacy guidance you have been given. Should you have questions, please contact SD team via SERVICE SD ticket. 
    In order to log in to your computer please follow the steps given below:
    Hit Sign-in options
    Select your authentication method (PIN/Fingerprint)
    Enter your COMPANY email address then enter your PIN/Fingerprint.]]></Data>
  </Item>
</Replace>

Example Profile 2

<Replace>
  <Item>
    <Target>
      <LocURI>./Device/Vendor/MSFT/Policy/Config/RemoteAssistance/UnsolicitedRemoteAssistance</LocURI>
    </Target>
    <Meta>
      <Format xmlns="syncml:metinf">chr</Format>
    </Meta>
    <Data>&lt;disabled/&gt;</Data>
  </Item>
</Replace>

Example Profile 3

<Replace>
  <Item>
    <Target>
      <LocURI>./Device/Vendor/MSFT/Policy/Config/RemoteAssistance/SolicitedRemoteAssistance</LocURI>
    </Target>
    <Meta>
      <Format xmlns="syncml:metinf">chr</Format>
    </Meta>
    <Data>&lt;disabled/&gt;</Data>
  </Item>
</Replace>

Example Profile 4

<Replace>
  <Item>
    <Meta>
      <Format xmlns="syncml:metinf">chr</Format>
    </Meta>
    <Target>
      <LocURI>./Device/Vendor/MSFT/Policy/Config/UserRights/BackupFilesAndDirectories</LocURI>
    </Target>
    <Data>BUILTIN\Administrators</Data>
  </Item>
</Replace>
<Replace>
  <Item>
    <Meta>
      <Format xmlns="syncml:metinf">chr</Format>
    </Meta>
    <Target>
      <LocURI>./Device/Vendor/MSFT/Policy/Config/UserRights/RestoreFilesAndDirectories</LocURI>
    </Target>
    <Data>BUILTIN\Administrators</Data>
  </Item>
</Replace>

🛠️ To fix

🧑‍💻  Steps to reproduce

These steps:

  • Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
  • Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
  1. Apply the above configuration profiles to a Windows device

🕯️ More info (optional)

I was unable to reproduce the same behaviour for profile 1, with it not even applying the settings to my test machine during the first test, and then applying on a second attempt but showing as verifying. Both times with a clean Windows 11 Pro 25H2 VM.

Others showed mixed inconsistent behaviour with being stuck verifying or failed.

Possibly linked to: #29769

Metadata

Metadata

Assignees

No one assigned

    Labels

    #g-apple-at-workProduct group focused on Apple devices:productProduct Design department (shows up on 🦢 Drafting board)bugSomething isn't working as documentedcustomer-susanoo

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions