Title: PS7-packaged: Update-Help -Scope AllUsers fails under MSIX ($PSHOME read-only) · Issue #27699 · PowerShell/PowerShell · GitHub
Open Graph Title: PS7-packaged: Update-Help -Scope AllUsers fails under MSIX ($PSHOME read-only) · Issue #27699 · PowerShell/PowerShell
X Title: PS7-packaged: Update-Help -Scope AllUsers fails under MSIX ($PSHOME read-only) · Issue #27699 · PowerShell/PowerShell
Description: Tracked by #27565 · Design: #27697 · Original gap report: #9278 Summary Update-Help defaults to -Scope AllUsers, which writes help content into each module's ModuleBase. For in-box modules that path is under $PSHOME, which is read-only u...
Open Graph Description: Tracked by #27565 · Design: #27697 · Original gap report: #9278 Summary Update-Help defaults to -Scope AllUsers, which writes help content into each module's ModuleBase. For in-box modules that pat...
X Description: Tracked by #27565 · Design: #27697 · Original gap report: #9278 Summary Update-Help defaults to -Scope AllUsers, which writes help content into each module's ModuleBase. For in-box modules that...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/27699
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PS7-packaged: Update-Help -Scope AllUsers fails under MSIX ($PSHOME read-only)","articleBody":"_Tracked by #27565 · Design: #27697 · Original gap report: #9278_\r\n\r\n## Summary\r\n\r\n`Update-Help` defaults to `-Scope AllUsers`, which writes help content into each module's `ModuleBase`. For in-box modules that path is under `$PSHOME`, which is **read-only under MSIX**, so the update fails:\r\n\r\n```\r\nUpdate-Help: Access to the path\r\n'C:\\Program Files\\WindowsApps\\Microsoft.PowerShell…\\en-US\\Microsoft.PowerShell.Commands.Management.dll-Help.xml' is denied.\r\n```\r\n\r\nOnly `-Scope CurrentUser` works today — it redirects to the user help location (`HelpUtils.GetModuleBaseForUserHelp`). There is no working machine-wide help update under MSIX. (This was one of the gaps originally enumerated in #9278.)\r\n\r\n## Details\r\n\r\n- `UpdateHelpScope` has two values, `CurrentUser` and `AllUsers` (the default).\r\n- For `AllUsers`, `Update-Help` targets `module.ModuleBase`; for in-box modules that is under `$PSHOME` → access denied under MSIX.\r\n\r\n## Solution directions (design discussion — pick one)\r\n\r\n1. **Redirect AllUsers help to the MachineFolder store (#27697)** — write system-wide help under the per-machine data store and add that location to the help search path. Consistent with the config/profile relocation; keeps `-Scope AllUsers` working under MSIX.\r\n2. **Relocate the in-box modules/help folder** out of `$PSHOME` to a writable machine location so AllUsers help lands somewhere writable and on the lookup path.\r\n3. **Disallow `-Scope AllUsers` under MSIX** — fail fast with a clear, actionable error (point to `-Scope CurrentUser`) instead of a raw Access-denied. Lowest effort; does **not** restore the capability.\r\n\r\n## Acceptance criteria\r\n\r\n- Under MSIX, `Update-Help -Scope AllUsers` either (a) writes to a writable location that the help subsystem then reads, or (b) fails with a clear, actionable error — never a raw `Access denied`.\r\n- `Get-Help` resolves the updated system-wide help where applicable.\r\n- No regression for unpackaged installs.\r\n\r\n## Related\r\n\r\n- Design / mechanism: #27697\r\n- Original gap report (also lists SessionConfig + system config): #9278\r\n- Umbrella: #27565\r\n","author":{"url":"https://github.com/jshigetomi","@type":"Person","name":"jshigetomi"},"datePublished":"2026-07-17T20:00:53Z","url":"https://github.com/PowerShell/PowerShell/issues/27699"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f981d66a-2d02-7b42-5fcd-70055fca7656 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B6AA:305991:19BC2:225EF:6AFD17C6 |
| html-safe-nonce | 24f0e7fdb31a4c55b77401c5974181169829db604ab636678d020d495c84cb86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkFBOjMwNTk5MToxOUJDMjoyMjVFRjo2QUZEMTdDNiIsInZpc2l0b3JfaWQiOiI1NTkwMzYxMzk0NzI4NzQ5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fd1e55bbd2a995c582a8f4aedfd05299fb45e7db87e462b9df8c89bfa90d0c1d |
| hovercard-subject-tag | issue:4914416480 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/27699/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b03ac61ca0b0f1536c63fd9fbe66cde1cd7dedeb35a337ef430944f8ed913885/PowerShell/PowerShell/issues/27699 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b03ac61ca0b0f1536c63fd9fbe66cde1cd7dedeb35a337ef430944f8ed913885/PowerShell/PowerShell/issues/27699 |
| og:image:alt | Tracked by #27565 · Design: #27697 · Original gap report: #9278 Summary Update-Help defaults to -Scope AllUsers, which writes help content into each module's ModuleBase. For in-box modules that pat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jshigetomi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width