You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Update-Help: Access to the path
'C:\Program Files\WindowsApps\Microsoft.PowerShell…\en-US\Microsoft.PowerShell.Commands.Management.dll-Help.xml' is denied.
Only -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.)
Details
UpdateHelpScope has two values, CurrentUser and AllUsers (the default).
For AllUsers, Update-Help targets module.ModuleBase; for in-box modules that is under $PSHOME → access denied under MSIX.
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.
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.
Acceptance criteria
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.
Get-Help resolves the updated system-wide help where applicable.
Tracked by #27565 · Design: #27697 · Original gap report: #9278
Summary
Update-Helpdefaults to-Scope AllUsers, which writes help content into each module'sModuleBase. For in-box modules that path is under$PSHOME, which is read-only under MSIX, so the update fails:Only
-Scope CurrentUserworks 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.)Details
UpdateHelpScopehas two values,CurrentUserandAllUsers(the default).AllUsers,Update-Helptargetsmodule.ModuleBase; for in-box modules that is under$PSHOME→ access denied under MSIX.Solution directions (design discussion — pick one)
-Scope AllUsersworking under MSIX.$PSHOMEto a writable machine location so AllUsers help lands somewhere writable and on the lookup path.-Scope AllUsersunder 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.Acceptance criteria
Update-Help -Scope AllUserseither (a) writes to a writable location that the help subsystem then reads, or (b) fails with a clear, actionable error — never a rawAccess denied.Get-Helpresolves the updated system-wide help where applicable.Related