Win32 () : 1 (Not Installed)

Boopathi Subramaniam 3,301 Reputation points
2024-01-12T18:04:03.8266667+00:00

Hello, I executed the below command Get-AutopilotESPStatus.ps1 -CABFile C:\Autopilot.cab -online Found that one of the Win 32 is not installed. Please let me know how to find which app is failed and fix the issue

DEVICE ESP:

Sidecar apps:
  LastLoggedState
Exception calling "Substring" with "1" argument(s): "startIndex cannot be larger than length of string.
Parameter name: startIndex"
At C:\Program Files\WindowsPowerShell\Scripts\Get-AutopilotESPStatus.ps1:308 char:13
+             $appGuid = $win32Key.Substring(9)
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ArgumentOutOfRangeException

    Win32  () : 1 (Not Installed)
Exception calling "Substring" with "1" argument(s): "startIndex cannot be larger than length of string.
Parameter name: startIndex"
At C:\Program Files\WindowsPowerShell\Scripts\Get-AutopilotESPStatus.ps1:308 char:13
+             $appGuid = $win32Key.Substring(9)
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ArgumentOutOfRangeException

    Win32  () : 1 (Not Installed)
Windows Autopilot
Windows Autopilot
A collection of Microsoft technologies used to set up and pre-configure new devices and to reset, repurpose, and recover devices.
437 questions
{count} votes