Site icon EfmSoft

What does HRESULT 0x80220003 (WCM_E_ATTRIBUTENOTFOUND) mean?

 
Previous Next
WCM_E_STATENODENOTALLOWED WCM_E_ATTRIBUTENOTALLOWED

WCM_E_ATTRIBUTENOTFOUND

WCM_E_ATTRIBUTENOTFOUND is the failure HRESULT 0x80220003 (signed decimal -2145255421, unsigned decimal 2149711875). Its severity bit is 1, facility is 34 (FACILITY_STATE_MANAGEMENT), and the facility-specific code field is 0x0003.

AllStat records the Windows SDK description as “Attribute is not found.”

Documented meaning

The requested SMI attribute is absent. The operation reached attribute lookup on a settings item, namespace, or identity after the object itself was resolved. The first branch to test is whether the attribute is optional for this setting type or Windows version; keep that separate from the possibility that the caller used the display label instead of the schema attribute name.

Operation phase

At this boundary, capture object type and item path on which GetAttribute was called, then correlate it with exact attribute spelling and case supplied by the caller. Assign ownership only after checking all attributes enumerated for the resolved object.

Root-cause branches

Diagnostic record

Correction workflow

Retry policy

A retry without changing the object or metadata is pointless. Re-query only after opening the correct namespace or installing corrected schema data.

Nearby HRESULT distinctions

WCM_E_ATTRIBUTENOTALLOWED says the attribute is prohibited in that context. ATTRIBUTENOTFOUND says no such attribute is defined on the resolved object.

Concrete example

A tool expects a migration attribute on every setting, but a particular metadata item does not define it. Enumerating attributes reveals that the field is optional, not corrupted.

Operational logging

For operational telemetry, retain all attributes enumerated for the resolved object; also record target OS build, namespace version, and schema source. Preserve a redacted summary of whether absence is expected for optional or legacy metadata; use a cryptographic hash when that evidence is a file, stream, or generated artifact.

Official Microsoft references.


Looking for a different code? Search another status or error code.

Exit mobile version