Invoke-AutopilotFailedAppRetry

1.0.2

Invoke-AutopilotFailedAppRetry reports the latest installation outcome for each Win32 app found in the Intune Management Extension (IME) logs, oldest result first. Installed apps are shown in green, failed apps in red, and required apps that are assigned but not yet installed in gray with their assignment time. By default, only failed apps are selected for retry; -App
Invoke-AutopilotFailedAppRetry reports the latest installation outcome for each Win32 app found in the Intune Management Extension (IME) logs, oldest result first. Installed apps are shown in green, failed apps in red, and required apps that are assigned but not yet installed in gray with their assignment time. By default, only failed apps are selected for retry; -AppIds explicitly selects the apps. The script asks for confirmation unless -Force or -WhatIf is specified.
 1. Exports the IME Win32Apps registry tree to a .reg backup before reporting and prompting.
 2. Stops the IME service after confirmation.
 3. Removes the app state and matching GRS (Global Re-evaluation Schedule) entries.
 4. Starts the IME service so it re-evaluates the apps.
 5. Triggers an MDM sync so the device refreshes its app list (unless -NoSync).
 6. Optionally reboots the device (-Reboot).

All output files are written to %windir%\Temp:
 IME-Retry-<timestamp>.log                 run log (more detail with -Debug)
 IME-Retry-Win32Apps-backup-<timestamp>.reg      registry backup, taken before any change
 IME-Retry-transcript-<timestamp>.txt      full console transcript (only with -Debug)

Intended for use in OOBE/ESP (Shift + F10). Registry layout, GRS hash format and log patterns are heuristics. Test on a VM first.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Invoke-AutopilotFailedAppRetry -RequiredVersion 1.0.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Wolfgang Bäck. All rights reserved.

Package Details

Author(s)

  • Wolfgang Bäck

Tags

Intune Autopilot ESP OOBE Win32 IME Retry GRS Apps Failed

Functions

Write-Log Write-EnvironmentInfo Get-ImeLogLines Get-ImeAppStatuses Get-RegistryAppNames Write-ImeAppStatuses Get-GrsHashesForApp Remove-AppState Invoke-MdmSync

Dependencies

This script has no dependencies.

Release Notes

1.0.2 (2026-12-04) Wolfgang Bäck: Lists required apps that are assigned but not yet installed in gray with their assignment time. Saves the script as UTF-8 with BOM so Windows PowerShell 5.1 in OOBE shows non-ASCII characters correctly.
1.0.1 (2026-12-04) Wolfgang Bäck: Logs the real install time from IME GRS values, sorted by install time. Adds -TimeZone for displayed times. Shows app names in the retry selection. Logs the version only at startup. No WhatIf output for log writes.
1.0.0 (2026-12-04) Wolfgang Bäck: Initial release. Lists failed Win32 apps with names, clears IME state and GRS entries, restarts IME, triggers MDM sync, optional reboot. Supports -Verbose, -Debug, -WhatIf, -Force.

FileList

Version History

Version Downloads Last updated
1.0.4 10 12/4/2026
1.0.2 (current version) 11 12/4/2026
1.0.1 9 12/4/2026