Skip to content

Cover every Prefs setting in the ADMX and show each policy-set field as managed - #61

Merged
rodchristiansen merged 1 commit into
mainfrom
feature/admx-complete
Oct 8, 2026
Merged

rodchristiansen merged 1 commit into
mainfrom
feature/admx-complete

Conversation

@rodchristiansen

Copy link
Copy Markdown
Contributor

Closes #60

  • Adds a NoDialog policy (REG_DWORD 0/1) to the Dialog category of the ADMX/ADML.
  • Declares <using prefix="windows" namespace="Microsoft.Policies.Windows" />, which every supportedOn reference needs.
  • The Prefs tab's "Show progress dialog" switch now locks when either EnableDialog or NoDialog is set by policy, and shows the effective state (EnableDialog && !NoDialog).
  • Dialog title, message, icon and blur now show "Managed by Policy" when managed, like the other fields.
  • New PrefsPolicy maps each Prefs field to the policy values that lock it; PrefsPolicyTests checks the lock rules, that the ADMX has a policy of the right type for each of those values, and that every string, presentation, category and namespace reference resolves.

Tests: dotnet test tests/BootstrapMate.Core.Tests passes (155); the GUI app builds.

…as managed

Add a NoDialog policy, declare the windows namespace the supportedOn references need, lock the Show progress dialog switch when NoDialog is set by policy, and label the dialog title, message, icon and blur fields as managed. A test checks that the ADMX has a policy of the right type for every value that locks a Prefs field and that every reference resolves in the ADML.
@rodchristiansen
rodchristiansen merged commit b8cfb46 into main Oct 8, 2026
2 checks passed
@rodchristiansen
rodchristiansen deleted the feature/admx-complete branch October 8, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ADMX lacks NoDialog and does not cover every Prefs setting

1 participant