Skip to content

Document staging ACLs for manual staging (AB#21705401) - #474

Open
RDMacLachlan wants to merge 2 commits into
MicrosoftDocs:mainfrom
RDMacLachlan:users/romaclac/docbug-21705401
Open

Document staging ACLs for manual staging (AB#21705401)#474
RDMacLachlan wants to merge 2 commits into
MicrosoftDocs:mainfrom
RDMacLachlan:users/romaclac/docbug-21705401

Conversation

@RDMacLachlan

Copy link
Copy Markdown
Collaborator

Summary

Resolves AB#21705401[MSIX Docs] Document ACLs required for staging for people who don't want to run the tool.

The bug asked us to document the ACLs (file system permissions) required on a WVD/external staging directory for admins who stage MSIX packages manually, rather than relying on a provisioning tool to set permissions. That guidance did not exist anywhere in the docs.

Changes

  • desktop/deploy-preinstalled-apps.md — New Staging permissions (ACLs) section:
    • Local/external staging volume: SYSTEM, Administrators, Users, ALL APPLICATION PACKAGES (S-1-15-2-1), ALL RESTRICTED APPLICATION PACKAGES (S-1-15-2-2), with an icacls example. Explains why the app-container SIDs are required (app fails to launch without them even if registration succeeds).
    • Network share / virtual desktop (WVD/AVD) staging directory: grant each session-host computer account (or an AD group) Read & execute on both NTFS and SMB, with an icacls example and links to the AVD App Attach docs.
  • desktop/register-from-network.md — Prerequisites now call out the app-container SIDs the share must grant read to, linking to the new section.
  • msix-troubleshooting-guide.md — The ACL troubleshooting row now points to the new staging permissions guidance.

Notes for reviewers

The exact per-machine ACL identities should be confirmed with the App Deployment team before publishing; the values here reflect the standard WindowsApps/app-container permission set.

Adds guidance on the file system permissions (ACLs) required when staging
MSIX packages manually - to a local/external volume, a network share, or a
WVD/AVD staging directory - rather than relying on a provisioning tool to
set them.

- deploy-preinstalled-apps.md: new "Staging permissions (ACLs)" section
  covering local/external volumes (SYSTEM, Administrators, Users, ALL
  APPLICATION PACKAGES, ALL RESTRICTED APPLICATION PACKAGES) and network/
  virtual-desktop shares (session-host computer accounts on NTFS + SMB),
  with icacls examples and links to AVD App Attach docs.
- register-from-network.md: call out the app-container SIDs the share must
  grant read to, linking to the new section.
- msix-troubleshooting-guide.md: point the ACL troubleshooting row at the
  new staging permissions guidance.

Resolves AB#21705401

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 9b5ce28:

✅ Validation status: passed

File Status Preview URL Details
msix-src/desktop/deploy-preinstalled-apps.md ✅Succeeded
msix-src/desktop/register-from-network.md ✅Succeeded
msix-src/msix-troubleshooting-guide.md ✅Succeeded

For more details, please refer to the build report.

@RDMacLachlan

Copy link
Copy Markdown
Collaborator Author

@DrusTheAxe - Please review content.

Comment thread msix-src/desktop/deploy-preinstalled-apps.md Outdated
Comment thread msix-src/desktop/deploy-preinstalled-apps.md Outdated
Comment thread msix-src/desktop/deploy-preinstalled-apps.md Outdated
| Principal | SID | Access |
|-----------|-----|--------|
| `SYSTEM` | `S-1-5-18` | Full control |
| `Administrators` | `S-1-5-32-544` | Full control |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We grant administrators Full control? That includes Write access. I'm surprised.

SUGGEST: Verify this table against latest version of the tool/code and update table to match, if necessary

Comment thread msix-src/desktop/deploy-preinstalled-apps.md Outdated
Comment thread msix-src/desktop/deploy-preinstalled-apps.md Outdated
Comment thread msix-src/desktop/deploy-preinstalled-apps.md Outdated
Comment thread msix-src/desktop/register-from-network.md Outdated
Comment thread msix-src/desktop/register-from-network.md Outdated
GrantMeStrength
GrantMeStrength previously approved these changes Jul 8, 2026
Applies DrusTheAxe review threads 1-3,5-9: rephrase ACL intro (deployment sets ACLs when it can; read-only mounts require manual setup; pre-set to avoid one-time perf cost), link ACLs/ACEs to Learn security pages, rewrite app-container paragraph to reference packaged processes, use 'Read and eXecute' casing, drop NTFS/SMB-only framing, and reflow new prose to <=100 chars.

Thread 4 (Administrators=Full control) left unchanged pending App Deployment team confirmation; not pushed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3d27fb29-0162-474f-8e83-e7cc06dfe11c
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 45a6b4a:

✅ Validation status: passed

File Status Preview URL Details
msix-src/desktop/deploy-preinstalled-apps.md ✅Succeeded
msix-src/desktop/register-from-network.md ✅Succeeded
msix-src/msix-troubleshooting-guide.md ✅Succeeded

For more details, please refer to the build report.

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.

3 participants