ERROR_BAD_INHERITANCE_ACL - 1340 (0x53C)

The inherited access control list (ACL) or access control entry (ACE) could not be built.

Updated: Feb 21, 2026

Technical Meaning

The ERROR_BAD_INHERITANCE_ACL error code indicates that a problem occurred while attempting to build an inherited access control list (ACL) or access control entry (ACE). This typically happens when there is an issue with the security descriptor of a directory or file, specifically related to how its permissions are being inherited from parent objects.

Error Details

This error can occur in various scenarios where Windows attempts to apply or build inheritance for ACLs. Inheritance allows child objects within a directory to inherit certain access control settings from their parent object. When this process fails, it results in the ERROR_BAD_INHERITANCE_ACL being returned.

Usage Context

This error is commonly encountered when performing operations that involve setting or modifying permissions on directories and files. It can also appear during file system initialization or when dealing with security descriptors that are improperly configured.

Developer Interpretation

Developers should interpret this error as an indication that there was a problem with the inheritance of access control settings. This could be due to invalid parameters, incorrect object types, or issues related to the security descriptor itself. Developers should review the operation context and ensure that all involved objects are correctly configured.

Related Errors

FAQ

Q: What does ERROR_BAD_INHERITANCE_ACL mean?

A: It indicates that there was an issue building the inherited access control list or entry.

Q: How can I resolve this error?

A: Review the operation context, validate parameters, and ensure correct object types are used. Check for any corrupted data or unsupported operations.

Summary

The ERROR_BAD_INHERITANCE_ACL is a specific error code related to issues with inherited access control settings in Windows. Developers should focus on validating input parameters and ensuring proper configuration of security descriptors when encountering this error.