Hresult 0x80004002



Description

This has taken some time for me to diagnose. My Intune/Autopilot installs a few MSIs, and M365 automagically. I also have a script that is part of it, that installs my RMM agent via PowerShell. 0x80004002: ENOTIMPL: Not implemented: 0x80004001: EPOINTER: Pointer that is not valid: 0x80004003. Thanks Andrew and Chad for deconstructing HRESULT! Last modified Apr 23, 2018 at 6:02AM.

The 32bits in an HRESULT error code have meanings, allowing the reader to gain additional insights into the error.

Of note:

HresultHresult

The 32nd bit (the top bit) indicates if an error occurred or not. This is why errors are 0x8xxxxxxx.
The 16-26 bits are the Facility - the originating API (Win32, CLR, XAML, etc.).
The 0-15 bits are the (Error) Code.

Common NULL Facility Error Codes

NameDescriptionValue
S_OKOperation successful0x00000000
S_FALSEOperation successful but returned no results0x00000001
E_ABORTOperation aborted0x80004004
E_FAILUnspecified failure0x80004005
E_NOINTERFACENo such interface supported0x80004002
E_NOTIMPLNot implemented0x80004001
E_POINTERPointer that is not valid0x80004003
E_UNEXPECTEDUnexpected failure0x8000FFFF

Common Win32 Facility Error Codes

These are built by passing a System Error Code to HRESULT_FROM_WIN32

NameDescriptionValue
E_ACCESSDENIEDGeneral access denied error0x80070005
E_HANDLEHandle that is not valid0x80070006
E_INVALIDARGOne or more arguments are not valid0x80070057
E_OUTOFMEMORYFailed to allocate necessary memory0x8007000E

Related Links:

Embed

Download

Right click or Alt+Enter to download this episode

  • MP3 (6.5 MB)
  • Low Quality MP4 (12.2 MB)
  • High Quality MP4 (109.3 MB)
  • Mid Quality MP4 (36.5 MB)

Exception From Hresult 0x80004002

Download captions