René's URL Explorer Experiment


Title: [Design] MachineFolder: a per-machine writable data store for MSIX-packaged PowerShell · Issue #27697 · PowerShell/PowerShell · GitHub

Open Graph Title: [Design] MachineFolder: a per-machine writable data store for MSIX-packaged PowerShell · Issue #27697 · PowerShell/PowerShell

X Title: [Design] MachineFolder: a per-machine writable data store for MSIX-packaged PowerShell · Issue #27697 · PowerShell/PowerShell

Description: Summary Under MSIX, $PSHOME is read-only and package registration is per-user, so PowerShell has nowhere to persist system-wide state (config, profile, session configuration, updatable help). This issue describes the shared mechanism tho...

Open Graph Description: Summary Under MSIX, $PSHOME is read-only and package registration is per-user, so PowerShell has nowhere to persist system-wide state (config, profile, session configuration, updatable help). This ...

X Description: Summary Under MSIX, $PSHOME is read-only and package registration is per-user, so PowerShell has nowhere to persist system-wide state (config, profile, session configuration, updatable help). This ...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/27697

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Design] MachineFolder: a per-machine writable data store for MSIX-packaged PowerShell","articleBody":"## Summary\r\n\r\nUnder MSIX, `$PSHOME` is read-only and package registration is per-user, so PowerShell has nowhere to persist **system-wide** state (config, profile, session configuration, updatable help). This issue describes the shared mechanism those individual gaps build on: an **admin-writable, all-users-readable per-machine data store** (\"MachineFolder\"), and the configuration merge model layered on top of it.\r\n\r\nThis is the solution substrate for the gaps first reported in #9278 and tracked under #27565. First implementation (system-wide config) is in PR #27632.\r\n\r\n## Mechanism\r\n\r\n- **Opt in** via the AppxManifest `appdata:ApplicationData` → `appdata:MachineFolder` extension. The OS provisions the folder at `…\\AppRepository\\Families\\ApplicationData\\\u003cPackageFamilyName>\\Machine`.\r\n- **ACL** via SDDL `(A;OICI;GA;;;BA)(A;OICI;GR;;;BU)` → Administrators full control, Built-in Users read, both inherited to child files and subfolders.\r\n- **Detection / entry point:** `Utils.GetPackagedMachineDataStorePath()` — resolves the store using `GetCurrentPackageFamilyName` (kernel32) plus the `PackageRepositoryRoot` registry value. Returns `null` when the process has no package identity (unpackaged) or off-Windows, so all behavior collapses to the legacy model when the store is absent.\r\n\r\n## Configuration model (first consumer — PR #27632)\r\n\r\n- New `ConfigScope.MachineFolder`, alongside `AllUsers` (= `$PSHOME`, read-only product defaults) and `CurrentUser`.\r\n- Merge precedence:\r\n  - **Policy settings:** MachineFolder → `$PSHOME` → CurrentUser (system wins)\r\n  - **Preference settings:** CurrentUser → MachineFolder → `$PSHOME` (user wins)\r\n- Writes targeting `AllUsers` are redirected to the MachineFolder store when packaged; only **changed** values are written (the shipped `$PSHOME` product config is never rewritten). Group Policy / registry continues to trump all config.\r\n\r\n## ⚠️ Behavior change to fold in\r\n\r\nExperimental features moved to an explicit per-feature enabled/disabled model (per-scope `ExperimentalFeatures` + `DisabledExperimentalFeatures` sets). A consequence: an older config that *disabled a preview feature by omission* (a reduced `ExperimentalFeatures` list) is reinterpreted as \"explicit enables plus product defaults,\" so that feature re-enables once. Old JSON still parses and loads. This is what currently updates `test/powershell/engine/ExperimentalFeature/Get-ExperimentalFeature.Tests.ps1` (the \"Feature is enabled in user config only\" case) and relates to the `Test-CanWriteToPsHome` revert called out in #9278.\r\n\r\n## Rollout / children\r\n\r\n- [ ] System-wide **config** relocation — PR #27632\r\n- [ ] AllUsers **profile** relocation — #27564\r\n- [ ] **SessionConfig** `.pssc` write-location (`Register`/`Set-PSSessionConfiguration`) — #9278 _(WinRM/remoting activation tracked separately in #27563)_\r\n- [ ] **Updatable help** at system scope — #27699\r\n- [ ] **Export effective config** cmdlet — #27698\r\n\r\n## Non-goals\r\n\r\n- Mutable/mutable-directory packages.\r\n- Package Support Framework (PSF): changes the entry point to a per-user, non-elevated launcher, so it cannot provision or seed an admin-owned machine store.\r\n\r\n_Tracked by #27565._\r\n","author":{"url":"https://github.com/jshigetomi","@type":"Person","name":"jshigetomi"},"datePublished":"2026-07-17T20:00:03Z","url":"https://github.com/PowerShell/PowerShell/issues/27697"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ef8e1332-e1c1-3a87-a779-3705f1b7ff72
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8C34:E818:55DE7F:75DA2C:6AFD1B77
html-safe-nonceb24455cce666d5ca16c00bd740d2637c1231111377b9dea668bdbcb5c7d8ec6a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzM0OkU4MTg6NTVERTdGOjc1REEyQzo2QUZEMUI3NyIsInZpc2l0b3JfaWQiOiI0NjQ4MjM5Mjc1Njk3ODM4OTY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacedccbeaf56e7a2f8142293af2e287630f19ee4d1fe5783c7b5f11a6b9947f0ed
hovercard-subject-tagissue:4914411310
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/27697/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8cf1e0a79369d47b2e34858c2d0e847e810f323ce076b198d216e04406a35954/PowerShell/PowerShell/issues/27697
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8cf1e0a79369d47b2e34858c2d0e847e810f323ce076b198d216e04406a35954/PowerShell/PowerShell/issues/27697
og:image:altSummary Under MSIX, $PSHOME is read-only and package registration is per-user, so PowerShell has nowhere to persist system-wide state (config, profile, session configuration, updatable help). This ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejshigetomi
hostnamegithub.com
expected-hostnamegithub.com
None065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release941021edf0c2ec58298f4a2c8f27ae507d129c92
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/27697#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F27697
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F27697
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/27697
Reloadhttps://github.com/PowerShell/PowerShell/issues/27697
Reloadhttps://github.com/PowerShell/PowerShell/issues/27697
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests364 (364)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/27697
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/27697
[Design] MachineFolder: a per-machine writable data store for MSIX-packaged PowerShellhttps://github.com/PowerShell/PowerShell/issues/27697#top
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Package-MSIXIssue occurs with MSIX packagehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Package-MSIX%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
https://github.com/jshigetomi
Justin Chung (jshigetomi)https://github.com/jshigetomi
on Jul 17, 2026https://github.com/PowerShell/PowerShell/issues/27697#issue-4914411310
#9278https://github.com/PowerShell/PowerShell/issues/9278
#27565https://github.com/PowerShell/PowerShell/issues/27565
#27632https://github.com/PowerShell/PowerShell/pull/27632
#27632https://github.com/PowerShell/PowerShell/pull/27632
#9278https://github.com/PowerShell/PowerShell/issues/9278
Place System-Wide Config in the Machine Folder for MSIX Packages #27632https://github.com/PowerShell/PowerShell/pull/27632
PS7-packaged: $profile.AllUsersAllHosts not writable by administrators #27564https://github.com/PowerShell/PowerShell/issues/27564
Some cmdlets and config require writing to $PSHOME\SessionConfig folder #9278https://github.com/PowerShell/PowerShell/issues/9278
PS7-packaged: WinRM / PowerShell Remoting broken under MSIX #27563https://github.com/PowerShell/PowerShell/issues/27563
PS7-packaged: Update-Help -Scope AllUsers fails under MSIX ($PSHOME read-only) #27699https://github.com/PowerShell/PowerShell/issues/27699
PS7-packaged: provide a cmdlet to export the fully merged / effective configuration #27698https://github.com/PowerShell/PowerShell/issues/27698
#27565https://github.com/PowerShell/PowerShell/issues/27565
Justin Chung (jshigetomi)https://github.com/jshigetomi
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
Package-MSIXIssue occurs with MSIX packagehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Package-MSIX%22
on Jul 17, 2026https://github.com/PowerShell/PowerShell/issues/27697#event-28139373473
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/27697
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/27697
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Package-MSIXIssue occurs with MSIX packagehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Package-MSIX%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.