ERROR_DS_CANT_ADD_SYSTEM_ONLY - 8358 (0x20A6)
It is not permitted to add an attribute which is owned by the system.
Updated: Feb 21, 2026
Technical Background
The ERROR_DS_CANT_ADD_SYSTEM_ONLY error is a specific error code that indicates an attempt to modify or add a system-owned attribute in the directory service (DS) of a Windows environment. This error typically arises when a user or application tries to perform operations on attributes that are reserved for system use only.
Error Details
The numeric value 8358 and its hexadecimal representation 0x20A6 correspond to this specific error condition. The short description provided is: 'It is not permitted to add an attribute which is owned by the system.' This implies that certain attributes in the directory service are protected and cannot be modified or added through normal operations.
Common Causes
This error can occur due to several reasons, including:
- Incorrect operation context: Attempting to modify a system-owned attribute outside of a privileged context.
- Invalid parameter values: Providing incorrect parameters that include attributes owned by the system.
- Unsupported operations: Trying to perform an unsupported operation on a protected attribute.
Real-World Context
In a Windows environment, directory services play a crucial role in managing user and computer accounts. Certain attributes within these systems are reserved for internal use and cannot be altered or added by external processes without proper authorization. This error ensures the integrity and security of system-critical data.
Is This Error Critical?
The criticality of this error depends on the specific operation being performed. If a user or application attempts to modify a protected attribute, it could lead to system instability or corruption. Therefore, it is essential to handle such errors appropriately to maintain system integrity.
How to Diagnose
To diagnose this issue, follow these steps:
- Review the operation context: Ensure that the operation being performed is within an appropriate security context and has the necessary privileges.
- Validate parameters: Verify that all provided parameters are correct and do not include attributes owned by the system.
- Confirm object types: Ensure that the objects involved in the operation are of the expected type, as certain operations may be restricted based on object type.
- Verify input data: Check for any corrupted or invalid data that might lead to such errors.
How to Resolve
To resolve this issue, consider the following steps:
- Correct parameter usage: Ensure that all parameters used in the operation are valid and do not include attributes owned by the system.
- Adjust operation context: If necessary, adjust the security context or privileges of the user or application performing the operation.
- Restore data: In cases where data corruption is suspected, restore from a known good backup if available.
- Retry operation with valid inputs: Attempt to perform the operation again using correct and valid input parameters.
Developer Notes
When developing applications that interact with directory services in Windows environments, it is crucial to understand which attributes are system-owned and should not be modified. Always ensure that operations are performed within a secure context and validate all input parameters to avoid such errors.
Related Errors
ERROR_DS_ATT_NOT_DEF_IN_SCHEMA(8359): Attribute is not defined in the schema.ERROR_DS_CANT_MOD_SYSTEM_ONLY(8360): Cannot modify system-only attribute.
FAQ
Q: What does the ERROR_DS_CANT_ADD_SYSTEM_ONLY error mean?
A: This error indicates that an attempt was made to add or modify a system-owned attribute in the directory service, which is not permitted.
Q: How can I prevent this error from occurring?
A: Ensure that all operations are performed within a secure context and validate input parameters to avoid modifying protected attributes.
Q: Is there a way to bypass this error for administrative purposes?
A: No, the system is designed to protect certain attributes from modification. Bypassing such restrictions could compromise system integrity and security.
Summary
The ERROR_DS_CANT_ADD_SYSTEM_ONLY error signifies an attempt to modify or add a protected attribute in the directory service of a Windows environment. This error ensures that critical system data remains secure and intact. Proper handling and validation of operations can prevent this issue from arising, maintaining the stability and security of the system.