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
setup-windows breaks activation of ALL packaged (MSIX/AppX) apps after reboot — 0x800701F6 [FinishPackageActivation]; only a full Windows reinstall recovered previously #40
setup-windows breaks activation of ALL packaged (MSIX/AppX) apps after reboot — 0x800701F6 [FinishPackageActivation]; only a full Windows reinstall recovered previously
Environment
OS: Windows 11 Pro, build 26200 (10.0.26200.9168), zh-CN locale
Machine: personal desktop, single local-admin user (xuls2), no domain/enterprise policy
Backend in use: RestrictedToken / network:host for agent runs (AppContainer used only by probes)
Summary
After a successful finsafe setup-windows followed by a reboot, activation of every packaged (MSIX/AppX) application started failing for the user: Windows Terminal, Windows Web Experience (widgets), PowerToys (all three context-menu packages), Command Palette, Microsoft Store, OpenAI Codex desktop, etc. Failure is at the process-creation / "configuring runtime" stage. Regular (non-packaged) Win32 processes, user-profile loading, file ACLs, registry, disk, and the AppX services themselves are all healthy. Every remediation attempted so far has failed (list below). The user reports this exact failure previously forced a full Windows reinstall.
Steps to reproduce
Clean Windows 11 26200 host with a local-admin user.
Install finsafe (0.9.44 era), run finsafe setup-windows, accept the UAC prompt (helper service + finsafe-net group + WFP provisioning all complete).
Reboot.
Launch any packaged app — Start menu → Windows Terminal, or run C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_*_x64__8wekyb3d8bbwe\WindowsTerminal.exe directly.
Expected
The app launches normally.
Actual
Windows Terminal fails immediately at process creation with:
Access to the user profile configuration is denied. (加载用户配置文件时访问被拒绝)
Microsoft-Windows-AppModel-Runtime/Admin fills with events 208/216:
0x800701F6: Cannot create the process for package <pkg> because an error was
encountered while configuring runtime. [FinishPackageActivation]
240 events since first onset 2026-09-06 17:13:02 local — minutes after the setup-windows reboot.
Affected packages (event-216 census, top offenders)
WindowsTerminal ×88, MicrosoftWindows.Client.WebExperience ×27, PowerToys FileLocksmithContextMenu / PowerRenameContextMenu / ImageResizerContextMenu, Microsoft.CommandPalette, Microsoft.WindowsStore, ThunderShell, OpenAI.Codex — i.e., every packaged app that was attempted.
Verified healthy (ruled out)
User profile loading: User Profile Service logs only successes (1531/1532). Fresh full-profile processes spawned via Task Scheduler read/write the profile normally.
File ACLs: C:\Users\xuls2, AppData roots, %LOCALAPPDATA%\Packages, the WindowsApps package directory, NTUSER.DAT — all standard ACEs, no deny entries.
Registry: ProfileList entry correct (State=0, ProfileImagePath correct), HKCU readable, no finsafe keys besides the service (now deleted).
Disk / services: 182 GB free; AppXSvc, StateRepository, ClipSVC, TokenBroker all running.
Component store: sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth both exit 0 — no corruption reported, no effect on the failure.
Remediation attempts that did NOT help
Stop + delete the finsafe-winhelper service.
Remove the user from finsafe-net and delete the group.
Delete all 90 accumulated AppContainer profile folders (finsafe-probe-*, finsafe-local) under %LOCALAPPDATA%\Packages (finsafe creates one per probe/run/self-confine).
Re-register Windows Terminal (Add-AppxPackage -Register AppxManifest.xml -DisableDevelopmentMode) — succeeds, no effect.
sfc + DISM (above).
Restore the AppRepository package-metadata files (surgery undone, state reverted).
A StateRepository database reset was attempted (stop AppXSvc/StateRepository/ClipSVC → rename C:\ProgramData\Microsoft\Windows\AppRepository) but the folder and DB files are protected against rename even after takeown + recursive Administrators grant (TrustedInstaller protection), so a clean reset could not be performed without Safe Mode.
Working hypothesis (for the developer)
finsafe creates one per-user AppContainer profile (finsafe-probe-<pid>, finsafe-local) on every probe/run/self-confine — 90 accumulated on this host since 8/31. Packaged-app activation creates a Desktop AppX container that consults the same per-user AppContainer/AppX registration state (StateRepository per-user partition). If repeated CreateAppContainerProfile churn corrupts that state, every packaged app fails at container creation ("configuring runtime", 0x800701F6), which would explain why:
the failure is user-wide and survives deleting the helper service, the finsafe-net group, and the package folders (corruption persists), and
a fresh Windows install was the only recovery the user found.
setup-windows breaks activation of ALL packaged (MSIX/AppX) apps after reboot — 0x800701F6 [FinishPackageActivation]; only a full Windows reinstall recovered previously
Environment
setup-windowson this host whose helper probe flipped tohelper_installed: true(all earlier attempts since 8/31 failed, see [bug]: Windows setup-windows cannot establish helper IPC — finsafe-winhelper named pipe rejects Read/Write connections (PIPE NOT AVAILABLE); WFP never registered; allowlist unusable (persists across reboots, build 26200) #37). finsafe 0.9.46setup-windowswas later re-run on the already-broken host with no change.xuls2), no domain/enterprise policySummary
After a successful
finsafe setup-windowsfollowed by a reboot, activation of every packaged (MSIX/AppX) application started failing for the user: Windows Terminal, Windows Web Experience (widgets), PowerToys (all three context-menu packages), Command Palette, Microsoft Store, OpenAI Codex desktop, etc. Failure is at the process-creation / "configuring runtime" stage. Regular (non-packaged) Win32 processes, user-profile loading, file ACLs, registry, disk, and the AppX services themselves are all healthy. Every remediation attempted so far has failed (list below). The user reports this exact failure previously forced a full Windows reinstall.Steps to reproduce
finsafe setup-windows, accept the UAC prompt (helper service + finsafe-net group + WFP provisioning all complete).C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_*_x64__8wekyb3d8bbwe\WindowsTerminal.exedirectly.Expected
The app launches normally.
Actual
Windows Terminal fails immediately at process creation with:
Microsoft-Windows-AppModel-Runtime/Adminfills with events 208/216:240 events since first onset 2026-09-06 17:13:02 local — minutes after the setup-windows reboot.
Affected packages (event-216 census, top offenders)
WindowsTerminal ×88, MicrosoftWindows.Client.WebExperience ×27, PowerToys FileLocksmithContextMenu / PowerRenameContextMenu / ImageResizerContextMenu, Microsoft.CommandPalette, Microsoft.WindowsStore, ThunderShell, OpenAI.Codex — i.e., every packaged app that was attempted.
Verified healthy (ruled out)
C:\Users\xuls2, AppData roots,%LOCALAPPDATA%\Packages, the WindowsApps package directory, NTUSER.DAT — all standard ACEs, no deny entries.sfc /scannowandDISM /Online /Cleanup-Image /RestoreHealthboth exit 0 — no corruption reported, no effect on the failure.Remediation attempts that did NOT help
finsafe-winhelperservice.finsafe-netand delete the group.finsafe-probe-*,finsafe-local) under%LOCALAPPDATA%\Packages(finsafe creates one per probe/run/self-confine).Add-AppxPackage -Register AppxManifest.xml -DisableDevelopmentMode) — succeeds, no effect.sfc+ DISM (above).A StateRepository database reset was attempted (stop AppXSvc/StateRepository/ClipSVC → rename
C:\ProgramData\Microsoft\Windows\AppRepository) but the folder and DB files are protected against rename even after takeown + recursive Administrators grant (TrustedInstaller protection), so a clean reset could not be performed without Safe Mode.Working hypothesis (for the developer)
finsafe creates one per-user AppContainer profile (
finsafe-probe-<pid>,finsafe-local) on every probe/run/self-confine — 90 accumulated on this host since 8/31. Packaged-app activation creates a Desktop AppX container that consults the same per-user AppContainer/AppX registration state (StateRepository per-user partition). If repeatedCreateAppContainerProfilechurn corrupts that state, every packaged app fails at container creation ("configuring runtime", 0x800701F6), which would explain why:finsafe-netgroup, and the package folders (corruption persists), andQuestions for the maintainers
setup-windows/ helper provisioning runs for the first time on a previously-failing host (see [bug]: Windows setup-windows cannot establish helper IPC — finsafe-winhelper named pipe rejects Read/Write connections (PIPE NOT AVAILABLE); WFP never registered; allowlist unusable (persists across reboots, build 26200) #37) that could corrupt per-user AppX/AppContainer registration state machine- or user-wide?finsafe-probe-*AppContainer profiles)?