Skip to content

Document capturing app data before reset or repair (AB#23679643)#476

Open
RDMacLachlan wants to merge 1 commit into
MicrosoftDocs:mainfrom
RDMacLachlan:users/romaclac/docbug-23679643
Open

Document capturing app data before reset or repair (AB#23679643)#476
RDMacLachlan wants to merge 1 commit into
MicrosoftDocs:mainfrom
RDMacLachlan:users/romaclac/docbug-23679643

Conversation

@RDMacLachlan

@RDMacLachlan RDMacLachlan commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Resolves AB#23679643[MSIXDocs] MSIX: capture AppData before repairing.

An ask on how to capture an MSIX app's AppData while it's in a broken state, before using Repair/Reset, so they can diagnose the root cause. Because Reset permanently deletes the app's data, there was no guidance telling users to back it up first or where it lives. Per the work item, the fix updates the Reset or Repair MSIX Apps doc.

Change

  • desktop/managing-your-msix-reset-and-repair.md — New "Capture app data before you reset or repair" section:
    • Where packaged app data lives: %LocalAppData%\Packages\<PackageFamilyName>\ (= C:\Users\<user>\AppData\Local\Packages\<PackageFamilyName>\), with a table of the key subfolders (LocalState, LocalCache, RoamingState, Settings\settings.dat).
    • How to find the package family name with Get-AppxPackage.
    • A Copy-Item example to back up the data before reset/repair.
    • Link to Understand how packaged desktop apps run on Windows for background.
  • Added a [!WARNING] in the Reset section that reset permanently deletes app data, linking to the new section.
  • Bumped ms.date.

The obsolete Windows 10X / Device Portal angle from the old comments was intentionally left out, since Windows 10X was cancelled.

Adds guidance for capturing an MSIX app's per-user AppData before using
Reset or Repair, so a broken app can be diagnosed before its state is lost.
Resetting an app permanently deletes its data, so this must be done first.

- managing-your-msix-reset-and-repair.md: new "Capture app data before you
  reset or repair" section covering where packaged app data lives
  (%LocalAppData%\Packages\<PackageFamilyName>\), the key subfolders, how to
  find the package family name with Get-AppxPackage, and a Copy-Item backup
  example. Adds a warning in the Reset section that reset permanently
  deletes app data, linking to the new section.

Resolves AB#23679643

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 c1edfa6:

✅ Validation status: passed

File Status Preview URL Details
msix-src/desktop/managing-your-msix-reset-and-repair.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.

1 participant