Pre-submission question: unvirtualizedResources for a developer terminal app (Jerico)

ahmet aytangil 0 Reputation points
2026-11-26T20:34:30.38+00:00

Hello,

We are preparing our first Microsoft Store submission and would like guidance on one restricted capability before we invest in the implementation.

Product: Jerico (MSIX), identity JericoAppnova.Jerico

Publisher: Jerico Appnova (Appnova EU OÜ)

What the app does

Jerico is a developer tool. A tray app runs a local background agent that opens terminals on the user's own PC. In those terminals the user runs their own shells and command-line developer tools (for example PowerShell, npm and AI coding assistants), controlled from a web interface after the user signs in.

The problem

With default MSIX virtualization, programs started from these terminals have some of their writes redirected to the package's private store: new folders under AppData and new keys or values under HKCU. We observed this in Windows Sandbox. As a result, a tool the user installs or configures from a Jerico terminal may not be visible to the rest of Windows, and that data is removed when Jerico is uninstalled. Users expect a terminal to behave like any other terminal.

What we would like to declare

  • runFullTrust
  • unvirtualizedResources, with desktop6:FileSystemWriteVirtualization and desktop6:RegistryWriteVirtualization set to disabled

In the same Sandbox test, with virtualization disabled, all 11 file and registry write checks were visible outside the package.

Questions

  1. Is unvirtualizedResources likely to be approved for this kind of developer tool?
  2. What justification or supporting material should we include in the submission?
  3. Can the capability be reviewed before a full submission? If not, what is the recommended way to find out early?
  4. If it would not be approved, is there a supported alternative for processes that the user starts from a packaged app?
  5. Our background agent keeps running after the app window is closed, and while it runs the package update is refused (0x80073D02). What is the recommended way for a Store app to handle updates in this case?

Thank you.

Windows development | Windows App SDK
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-11-26T20:35:36.4166667+00:00

    unvirtualizedResources is unlikely to be approved for Jerico’s terminal scenario because Microsoft documents it as intended for certain desktop PC games and packages with external location, and explicitly says it is not intended for other scenarios.

    Capability approval and justification

    Disabling desktop6:FileSystemWriteVirtualization and desktop6:RegistryWriteVirtualization would make all package-context writes to AppData and HKCU unvirtualized—not merely writes from user-launched terminal processes. Those writes become visible outside the package and remain after uninstall. Microsoft describes this as a broad, non-fine-grained mechanism that often exceeds an app’s requirements.^1^^2^

    Your observed Sandbox behavior is therefore consistent with the documented MSIX behavior. However, technical necessity does not establish Store eligibility, and the documented intended scenarios do not include general developer tools.

    If you submit with the capability, use Partner Center → submission → Submission options → Restricted capabilities and include:

    • Jerico’s terminal/agent architecture and why child shells inherit package virtualization.
    • Exact AppData and HKCU tests demonstrating:
      • the command executed;
      • virtualized result;
      • expected result from a normal terminal;
      • result with virtualization disabled.
    • Why selective directories/keys cannot solve the problem: terminal users can run arbitrary tools whose storage locations Jerico cannot predict.
    • Why redirecting Jerico’s own state is insufficient.
    • Security boundaries: commands execute only after user authentication and with the signed-in user’s permissions.
    • A short tester procedure, test account, and expected results.

    Keep the certification notes concise and ensure any required service and test credentials remain available during review.^3^

    If approval is denied, certification fails and the report supplies feedback; you may then submit another package without the capability or address the stated concern.^1^

    Finding out before completing the submission

    Microsoft documents an advance-approval path for restricted capabilities. It normally runs through the Microsoft account team and is explicitly available to managed partners; the same advance-request method may also be used voluntarily before starting a submission.^1^

    If Jerico Appnova does not have an account team:

    1. In Partner Center, select Help (?) → Contact Support.
    2. Open a Dev Center support case.
    3. Provide the reserved product identity, capability, manifest fragment, architecture diagram, test matrix, and the justification above.
    4. Ask whether the case can be routed for advance restricted-capability review.

    Dev Center support is the documented public route for submission and certification assistance, but the available documentation does not guarantee that an ordinary support case will produce a binding pre-approval.^4^

    Supported alternatives

    1. Selective exclusions do not fit arbitrary terminal tools

    Windows 11 supports excluding named AppData directories and HKCU keys from virtualization, but those locations must be declared in advance and still require unvirtualizedResources.^2^ That may work for Jerico-owned locations, but not for arbitrary npm, PowerShell, or third-party developer-tool paths.

    No documented MSIX child-process “breakaway” mechanism in the cited platform guidance makes arbitrary processes launched by a packaged terminal behave as unpackaged processes. Moving only the shell launch to another packaged executable would therefore not establish the required behavior.

    2. Submit Jerico as an unpackaged MSI/EXE

    The clearest supported fallback is an unpackaged Win32 submission using an offline .msi or .exe. Microsoft Store accepts this model; the publisher hosts the installer and the application manages its own updates.^5^

    This avoids MSIX file/registry virtualization and is the better fit when normal terminal semantics are fundamental. Trade-offs include losing Store-managed MSIX updates, complimentary Store signing, package flighting, and some identity-dependent integration. MSI/EXE submissions also require the installer and relevant binaries to be signed with a trusted CA certificate.^6^

    Packaging with external location is another model that retains package identity while using your existing installer and external binaries. Microsoft specifically lists this as a supported unvirtualizedResources scenario, but it should be evaluated with Store support because the capability remains restricted.^7^

    Handling updates while the agent is running

    0x80073D02 means package resources are in use. The preferred design is:

    1. Detect or notify the user that an update is ready.
    2. Stop accepting new terminal sessions.
    3. Prompt the user to finish active terminal work.
    4. Terminate child processes only with explicit consent.
    5. Save state and shut down the background agent completely.
    6. Allow installation to proceed.

    MSIX does not modify a package while its executables, DLLs, or related resources are in use.^8^

    For an in-app Store update experience, use StoreContext to download first, then request installation after the agent exits. The API allows the user to install immediately or defer.^9^

    var store = Windows.Services.Store.StoreContext.GetDefault();
    var updates = await store.GetAppAndOptionalStorePackageUpdatesAsync();
    
    if (updates.Count > 0)
    {
        // Quiesce sessions and stop the agent before requesting installation.
        var result =
            await store.RequestDownloadAndInstallStorePackageUpdatesAsync(updates);
    }
    

    If Jerico targets Windows 11 24H2 build 26100 or later, it can declare:

    <Properties>
      <uap17:UpdateWhileInUse>defer</uap17:UpdateWhileInUse>
    </Properties>
    

    This defers the update until the user restarts the app or Windows reboots. It takes precedence over force-shutdown deployment options.^10^ For older systems, implement graceful agent shutdown or let the update retry at a later activation; forced shutdown risks losing active terminal work.


    References

    1. App capability declarations
    2. Flexible virtualization
    3. Manage submission options for MSIX apps
    4. Help and guidance for Windows developers
    5. How to distribute your Win32 application through Microsoft Store
    6. Code signing options for Windows app developers
    7. Grant package identity by packaging with external location
    8. MSIX troubleshooting guide
    9. Update Store-published apps from your code
    10. uap17:UpdateWhileInUse
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.