Are you experiencing issues with an app failing to install during an Azure Autopilot enrollment process? Don't worry - we've got you covered. With this guide, you can easily identify the app causing the failure and get your installation back on track.
Warning! note that this guide has been validated for Windows 10 1903 and later versions. Additionally, the script described below will not work on ARM64 systems due to registry redirection from the use of x86 PowerShell.exe.
Let's get started:
Step 1: Open a Command Prompt
Press the keyboard shortcut Shift + F10
to open a command prompt.
Step 2: Install the AutopilotDiagnostics Package
Launch PowerShell and run the following command to install the AutopilotDiagnostics package:
Install-Script -Name Get-AutopilotDiagnostics
Step 3: Set Execution Policy to RemoteSigned
To set the execution policy to RemoteSigned, run the following command:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
Step 4: Run the Autopilot Diagnostics Script
Enter the following command to run the Autopilot Diagnostics script:
autopilotdiagnostics
Step 5: Identify the Failing App
The script will detect the failing app and provide you with an error message describing the cause of the failure. Use this information to troubleshoot the issue and resolve the problem.
With these simple steps, you can easily identify the app causing the failure and resolve the issue quickly. Enjoy a seamless Azure Autopilot enrollment process and get your new device up and running in no time!