# Error code reference

### How to read Error Codes

When troubleshooting issues related to Intune and PSADT (PowerShell Application Deployment Toolkit), it's essential to understand the format of the error codes. These codes are often presented in **Hexadecimal (Hex)** format, which means they may look like a series of alphanumeric characters prefixed by `0x`. For example, an error code might appear as `0x8007EA6C`, where `0x8007` is a generic prefix, and `EA6C` is the actual error code in hexadecimal.

#### How to Convert Hexadecimal to Decimal

When you encounter an error code in **Hexadecimal** format, it is often prefixed by a generic value like `0x8007`. To properly interpret and troubleshoot the error, you need to focus on the **remaining part** of the error code after removing the prefix.

**Step-by-Step Conversion Process**

1. **Split the Hexadecimal Code**: The error code may begin with a prefix like `0x8007` (a common Microsoft prefix) followed by a specific hexadecimal value that represents the actual error. For example, if the error code is `0x8007EA6C`, you need to split the prefix and focus on the remaining part:

   * **Prefix**: `0x8007`
   * **Remaining Value**: `EA6C`

   The prefix `0x8007` is generic and can be ignored for troubleshooting purposes.
2. **Convert the Remaining Hexadecimal Value to Decimal**: After removing the prefix, convert the remaining hexadecimal value (e.g., `EA6C`) to decimal. You can use a calculator or an online tool to convert `EA6C` from hexadecimal to decimal. For example:

   * `EA6C` in hexadecimal is `60012` in decimal.

   In this case, the hexadecimal error code `0x8007EA6C` corresponds to the decimal code `60012`&#x20;
3. **Compare the Decimal Code to the Table**: Once you have the decimal value (`60012`), compare it to the list of known error codes in our table below to determine the specific issue.

#### Example Breakdown:

* **0x8007EA6C** (system-prepended) → **0xEA6C (hexadecimal)** → **60012 (decimal)**&#x20;

***

#### Common Prefixes Used by Microsoft Intune

Microsoft Intune often uses standard prefixes to represent different types of errors or categories of issues. These prefixes can help you quickly identify the nature of the error. Here are a few common prefixes and their meanings:

<table><thead><tr><th width="110">Prefix</th><th width="638">Meaning</th></tr></thead><tbody><tr><td>0x8007</td><td><strong>Microsoft Intune and System Errors</strong><br>Generic error codes used by Intune and Windows update processes.</td></tr><tr><td>0x87D1</td><td><p><strong>Deployment Errors</strong></p><p>Used in Intune application deployment failures, especially related to app installation or update issues.</p></td></tr><tr><td>0x800F</td><td><strong>Feature and Configuration Errors</strong><br>Typically related to the configuration of features, settings, or specific components failing to install or configure.</td></tr><tr><td>0x8024</td><td><strong>Windows Update Errors</strong><br>Often seen when there are issues with updating the operating system or applications through Intune or Windows Update.</td></tr><tr><td>0x800B</td><td><strong>Security and Certificate Errors</strong><br>Related to issues with certificates, security policies, or authorization failures.</td></tr></tbody></table>

***

### Scappman Error Codes Table

To assist with troubleshooting, we've compiled a table listing common error codes with their **Decimal** and **Hexadecimal** equivalents. You can look up the error code in this table

<table><thead><tr><th width="154">Decimal Code</th><th width="172">Hexadecimal Code</th><th>Description</th></tr></thead><tbody><tr><td>60001</td><td>0x0000EA61</td><td>PSADT failure exit code</td></tr><tr><td>60002</td><td>0x0000EA62</td><td>Missing file</td></tr><tr><td>60003</td><td>0x0000EA63</td><td>The function [${CmdletName}] requires the toolkit to be running with Administrator privileges if the [-RunLevel] parameter is set to 'HighestAvailable'.</td></tr><tr><td>60004</td><td>0x0000EA64</td><td>Failed to load assembly</td></tr><tr><td>60005</td><td>0x0000EA65</td><td>Error in displaying the Installation Prompt</td></tr><tr><td>60007</td><td>0x0000EA67</td><td>Failed to export the scheduled task XML file [$xmlSchTaskFilePath]</td></tr><tr><td>60008</td><td>0x0000EA68</td><td>Module [$moduleAppDeployToolkitMain] failed to load</td></tr><tr><td>60009</td><td>0x0000EA69</td><td>No logged-on user detected</td></tr><tr><td>60012</td><td>0x0000EA6C</td><td>The user selected Defer/Postpone when prompted to close the app and update</td></tr><tr><td>70001</td><td>0x00011111</td><td>The user selected No when prompted to close the app and update (Specific applications only)</td></tr><tr><td>9000</td><td>0x00002328</td><td>Post-Install script failure</td></tr></tbody></table>
