Monday, September 22, 2014

SCCM 2012 Client Exit Codes

"The software change returned the error code"


0x87D00324 (-2016410844)
successful but detection method did not detect the software as installed.

0x87D00213 (-2016411117)
Install took longer than allowed.  If you see this, go back to the installation command line.  Is there a mistake?  If there is it could be causing the install call to just sit there and do nothing until the timeout.
08x87D00607 (-2016410105)
Unable to download the software.
(May not be on the DP yet or DP not reachable.)

All Time Amazing Error Code Page: <link updated May 2020>
https://www.anoopcnair.com/sccm-troubleshooting-intune-error-codes-table/

Check
https://hdkb.clemson.edu/phpkb/article.php?id=167


(-2147467259)
Failed as we may never execute due to Service Window Constraints.
This occurs if the job Maximum Runtime is set to longer than the available maintenance window.

https://technet.microsoft.com/en-us/library/bb693574.aspx
https://technet.microsoft.com/en-us/library/bb680462.aspx
https://technet.microsoft.com/en-us/library/bb694295.aspx

0x87D01106(-2016407290)
This error can occur when the installation command line does not relate to the associated installation files.  In our case the command line was referencing one MSI file name when the MSI file in the cache was called something else.  The source files had somehow been inadvertently been renamed.
Credits to Naj Qadir for discovering the cause on this one.

0x87D01107 (-2016407289)
This occurs if there is an installation assignment which tries to start, but before it can start, you delete the cached installation media.

0x80070057   An 800Mb App-V package was failing to arrive at a client.
In this case, Adaptiva was being used as part of the media distribution system.  It looked as though there was some problem with the SCCM link with Adaptiva.
The client ContentTransferManager.log contained:

CTM job {A5DE7D59-BB4F-4E2F-88ED-76A68F5956B1} encountered error 0x80070057 during download ('Content is not published in Adaptiva')- The error is non retriable.

Update Content was used in the Console.  The media arrived correctly at the clients (via the Adaptiva Cache hidden on C:\) soon afterward and installed correctly.

0087D0128F (-2016406897) The App-V sftmime command returned failure
This is a bit misleading because this came from an App-V 5 client where there is no sftmime (App-V 4.6 era)
So anyway you're gonna love this one:
In this case the clients had somehow been created with no 8.3 naming applied to the folder structure - type dir \x  at the root of C:    You should see Progra~1  Progra~2 etc.  If you don't there could be problems.  Here it affected the App-V client and prevented it installing App-V packages from SCCM.   The media all downloaded with nowhere to go !  doh.

0x87D00667 (-2016410009) No current or future service window exists to install software updates

Can occur in the following situation:
App-V 5 App is deployed as Required.  User Experience settings are
Display in Software Center, and show all notifications.
Software Installation NOT TICKED
System Restart........ NOT TICKED
Commit Changes at deadline........ NOT TICKED

Manually remove the App-V application which has already installed using a remove-appvclientpackage command

Start the Application Deployment Evaluation Cycle

This will attempt to put the application back, however if a maintenance window is in effect it will fail with this error.  The user can simply initiate a manual "retry" and it will be successful.

Using
Software Installation TICKED
Enables the application to re-install with or without a maintenance window in place.

Applications which are marked Hide in Software Center and all notifications
Software Installation NOT TICKED
will not install until the maintenance windows has ended.

0x80040322 (-2147220702) Rule is in conflict with other rules

A supersedence entry was stopping the install.  It looked like the supersedence entry was acting as a requirement instead of supersede if relevant.  Once the supersedence entry was removed the install downloaded and installed.

0x800704EC (-2147023636) This program is blocked by group policy.

An AppX deployment was being prevented by Applocker stopping powershell scripts running in the user context.

0x87D0128F (-2016406897) The App-V time command returned failure

This occurred on a client where the App-V package had been manually test installed.  When the SCCM deployment was setup SCCM removed the package from the computer because it was not in the deployment collection.  Once it was put back into the collection and install attempted from software center, the above error occurred.

The problem was corrected by restarting the Microsoft App-V Client service.

0x0(0)

But that means success right? er no.  This can occur in the following scenario:
AppV app deployed to a user collection but the user policy is not enabled in the client settings "Enable user policy on clients = No"
The application is available in the software center but attempts to install it fail with 0x0(0)

0x642(1602)

Downgrade failure.
A later software version had been manually test installed, therefore detection not true of older SCCM deployment.  SCCM attempted install but failed because the MSI Install detected the later version already present.  To resolve - remove the machine from the deployment collection to prevent further doomed installation attempts.

0x87D00669 (-2016410007)  Not able to get software updates content locations at this time

Easy one this.  Ensure the content is on the relevant DPs

0x80070422 (-2147023838)  Seen with the failure of updates

Cause: Windows Update service was not running.