T The Triage ManualTechnical Guides for IT Emergencies
P2 · Endpoint & Device Management

AppX Provisioned Package Deadlock Causing User Profile Creation Delays or Temporary Profile on Windows 10/11 Enterprise

On Windows 10 and Windows 11 Enterprise shared workstations and RDS session hosts, new users experience login delays exceeding 5 minutes or are dropped into temporary profiles. The User Profile Service deadlocks while staging default provisioned AppX applications due to lock contention with background AppX optimization processes. Resolution requires de-provisioning unnecessary AppX packages from the base system image using PowerShell before fleet deployment.

Indicators

Likely causes

Diagnostic steps

  1. Open Event Viewer on the affected system and navigate to Windows Logs > Application. Filter by Source 'User Profile Service' and look for Event ID 1509 or 1511. Review the event detail for file deployment permission errors or timeout messages.
    Confirms the User Profile Service is deadlocking during AppX staging and differentiates this issue from other profile creation failures.
  2. Time a new user login on the affected shared workstation or RDS host with a stopwatch or session audit log. Confirm whether the delay exceeds 5 minutes or if the user is placed into a temporary profile.
    Establishes whether the symptom threshold (>5 minute delay or temporary profile) is met, qualifying the incident for this triage path.
  3. Run PowerShell command: Get-AppxProvisionedPackage -Online | Select-Object DisplayName, PackageName
    Identifies which default built-in AppX packages are provisioned and available for staging at new user profile creation, revealing the scope of the deadlock risk.
  4. Check Task Manager or Process Monitor on the affected system during a new user login to identify whether AppX-related background optimization processes (e.g., AppXSVC, Windows App Readiness) are running concurrently and holding locks.
    Validates that background optimization runs are active simultaneously with profile creation, confirming the deadlock causation mechanism.
  5. Cross-reference the timestamps of Event ID 1509/1511 entries with any scheduled AppX optimization or Windows Update activity logs to confirm temporal correlation between background locks and profile creation failures.
    Establishes a timeline linking background AppX optimization runs to the profile service deadlock events, supporting escalation documentation if required.

Resolution path

Prevention

Tools

References

Windows 10Windows 11RDSAppXUser Profile ServiceEvent ID 1509Event ID 1511Profile CreationTemporary ProfileHot-deskingDeadlockPowerShellImage ManagementProvisioned PackagesShellUser Experience