GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update Appx manifest to not allow updates while PS7 is running by OKAN-SOFTWARE · Pull Request #28275 · PowerShell/PowerShell

Conversation

@OKAN-SOFTWARE

@OKAN-SOFTWARE OKAN TIKTAS (OKAN-SOFTWARE) commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add uap17:UpdateWhileInUse with the defer setting to the PowerShell MSIX manifest.
  • Register the uap17 namespace and include it in IgnorableNamespaces.
  • Preserve the existing minimum supported Windows version.

Why

Microsoft Store updates can terminate running PowerShell sessions, interrupting active commands and long-running processes.

On supported Windows versions, the new manifest setting instructs Windows to defer application updates until the application restarts or the system reboots.

Validation

  • git diff --check — passed.
  • XML parsing of assets/AppxManifest.xml — passed.
  • Verified that UpdateWhileInUse resolves to defer under the correct namespace.
  • Verified that uap17 is included in IgnorableNamespaces.

An end-to-end Microsoft Store update test was not performed. MSIX packaging and deployment behavior still require validation.

Fixes #28272

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@OKAN-SOFTWARE
fix(msix): defer PowerShell updates while in use (PowerShell#28272)
b391b23
Copilot AI balanced review requested due to automatic review settings October 28, 2026 20:36
@OKAN-SOFTWARE
OKAN TIKTAS (OKAN-SOFTWARE) requested a review from a team as a code owner October 28, 2026 20:36
@azure-pipelines

azure-pipelines Bot commented Oct 28, 2026

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot started reviewing on behalf of OKAN TIKTAS (OKAN-SOFTWARE) October 28, 2026 20:37
View session
Copilot AI reviewed Oct 28, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Windows MSIX packaging and deployment remain unvalidated, including installation on older supported builds and Store-update deferral without terminating active pwsh sessions.

No open issues 🎉

What changed in this PR

Updates the PowerShell MSIX manifest to defer Store updates while PowerShell is in use on supported Windows versions, addressing session interruptions reported in #28272.

Changes:

  • Adds uap17:UpdateWhileInUse with the defer setting.
  • Registers uap17 as an ignorable namespace, preserving the existing minimum Windows version.

End-to-end Store update and MSIX packaging behavior remain unvalidated.

File Description
assets/​AppxManifest.xml Declares update deferral and its namespace while retaining compatibility with older Windows versions.

Review effort: Balanced

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@kilasuit Ryan Yates (kilasuit) mentioned this pull request Oct 28, 2026
Update Appx manifest to not allow updates while PS7 is running #28276
Closed
7 of 12 tasks
@SteveL-MSFT Steve Lee (SteveL-MSFT) assigned Dongbo Wang (daxian-dbw) Oct 28, 2026
SteveL-MSFT
Steve Lee (SteveL-MSFT) approved these changes Oct 28, 2026
View reviewed changes
@SteveL-MSFT Steve Lee (SteveL-MSFT) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Oct 28, 2026
daxian-dbw
Dongbo Wang (daxian-dbw) approved these changes Oct 28, 2026
View reviewed changes
@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit edcbda3 into PowerShell:master Oct 28, 2026
35 of 36 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@daxian-dbw Dongbo Wang (daxian-dbw) added Backport-7.6.x-Consider Backport-7.7.x-Consider labels Oct 28, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot added Backport-7.4.x-Consider Backport-7.5.x-Consider labels Oct 28, 2026
@OKAN-SOFTWARE OKAN TIKTAS (OKAN-SOFTWARE) mentioned this pull request Oct 28, 2026
Document deferred MSIX updates while PowerShell is running MicrosoftDocs/PowerShell-Docs#13357
Open
@tmdrkdtn1-project tmdrkdtn1-project mentioned this pull request Oct 30, 2026
UCIE P11: prove real approved PR metadata enters feedback with 65 existing historical experiences tmdrkdtn1-project/UCIE#155
Merged
@daxian-dbw Dongbo Wang (daxian-dbw) added Backport-7.6.x-Approved and removed Backport-7.6.x-Consider labels Nov 3, 2026
@daxian-dbw Dongbo Wang (daxian-dbw) mentioned this pull request Nov 3, 2026
[release/v7.6.10] fix(msix): defer PowerShell updates while in use #28319
Merged
3 of 9 tasks
@daxian-dbw Dongbo Wang (daxian-dbw) added Backport-7.6.x-Migrated Backport-7.6.x-Done and removed Backport-7.6.x-Approved Backport-7.6.x-Migrated labels Nov 3, 2026
@daxian-dbw Dongbo Wang (daxian-dbw) changed the title fix(msix): defer PowerShell updates while in use Update Appx manifest to not allow updates while PS7 is running Nov 4, 2026
@jshigetomi Justin Chung (jshigetomi) mentioned this pull request Nov 5, 2026
[release/v7.7.0] Update Appx manifest to not allow updates while PS7 is running #28345
Closed
@daxian-dbw Dongbo Wang (daxian-dbw) added Backport-7.7.x-Approved and removed Backport-7.7.x-Consider labels Nov 5, 2026
@jshigetomi Justin Chung (jshigetomi) removed the Backport-7.7.x-Approved label Nov 5, 2026
@jshigetomi Justin Chung (jshigetomi) added the Backport-7.7.x-Migrated label Nov 5, 2026
@jshigetomi Justin Chung (jshigetomi) mentioned this pull request Nov 6, 2026
[release/v7.7.0] Update Appx manifest to not allow updates while PS7 is running #28361
Merged
4 of 9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@daxian-dbw Dongbo Wang (daxian-dbw) daxian-dbw approved these changes
@SteveL-MSFT Steve Lee (SteveL-MSFT) SteveL-MSFT approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@daxian-dbw Dongbo Wang (daxian-dbw)

Labels

Backport-7.4.x-Consider Backport-7.5.x-Consider Backport-7.6.x-Done Backport-7.7.x-Migrated CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

MSIX: declare uap17:UpdateWhileInUse = defer so Store updates don't kill running pwsh sessions

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@OKAN-SOFTWARE @daxian-dbw @SteveL-MSFT @jshigetomi
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.