Skip to content

Document the Windows admin policy scripts directory - #2631

Closed
Hashim Khan (Hashim1999164) wants to merge 1 commit into
microsoft:mainfrom
Hashim1999164:docs/windows-admin-policy-dir
Closed

Document the Windows admin policy scripts directory#2631
Hashim Khan (Hashim1999164) wants to merge 1 commit into
microsoft:mainfrom
Hashim1999164:docs/windows-admin-policy-dir

Conversation

@Hashim1999164

@Hashim1999164 Hashim Khan (Hashim1999164) commented Aug 19, 2026

Copy link
Copy Markdown

Fixes #2621

The lifecycle scripts docs only listed /etc/apm/policy.d for the admin tier. The code already returns C:\ProgramData\APM\policy.d on Windows. The docs now mention that path next to the Linux and macOS one.

How to check
Read the admin tier, discovery table, trust model, and analytics sections and confirm both platform paths are present.
Confirm the listed Windows path matches src/apm_cli/core/lifecycle_scripts.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the enterprise lifecycle scripts documentation to correctly describe the admin-tier policy scripts directory on Windows, aligning the docs with the existing platform-specific path used by the CLI.

Changes:

  • Document the Windows admin policy scripts location as C:\ProgramData\APM\policy.d\*.json alongside /etc/apm/policy.d/*.json for Linux/macOS.
  • Update the relevant sections (admin tier overview, file format description, discovery table, trust model, analytics example) to include the Windows path.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Hashim1999164

Copy link
Copy Markdown
Author

The Windows admin policy path is already on main via #2640 and #2686, including the ProgramData env fallback. This PR is now conflicting, so I am closing it in favor of those.

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.

[BUG] Add Windows admin tier lifeycle script location to documentation

2 participants