| Previous | Next |
| STATUS_INTERNAL_ERROR | STATUS_BAD_DESCRIPTOR_FORMAT |
STATUS_GENERIC_NOT_MAPPED
Generic rights were not translated for the object type
Generic bits are placeholders whose meaning depends on the securable object. Before an access check or an object-specific operation, the caller must map them through the correct GENERIC_MAPPING. Using the mapping for a file on a registry key, service, process, or custom object produces an incorrect effective mask.
Capture both the original and mapped masks. Do not simply clear generic bits, because that silently removes requested rights. Define and test a complete mapping for custom object types and apply it consistently to desired-access masks and ACE masks where the API requires it.
What to inspect
- Identify which generic bits remain and which object type is being accessed.
- Apply MapGenericMask with the object type correct GENERIC_MAPPING.
- Verify no later layer reintroduces generic bits into an already mapped mask.
References
- Microsoft: MapGenericMask
- Microsoft: AccessCheck
- Microsoft: Access control model
- Microsoft Open Specifications: NTSTATUS values
Looking for a different code? Search another status or error code.
