You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|nTSecurityDescriptor Size ||Event ID 1450 with Error value 1340 The inherited access control list (ACL) or access control entry (ACE) could not be built. <br/><br/>This problem occurs because the Security Descriptor on the problem object has exceeded the maximum size of 65,535 bytes. This is an operating system limitation.|
148
149
149
150
## Resolution
150
151
@@ -153,6 +154,7 @@ In order to resolve an issue where schema mismatch is cited, it is critical to u
153
154
- Recent Schema Update
154
155
- DC Promotion
155
156
- Normal Replication
157
+
- nTSecurityDescriptor Size
156
158
157
159
As stated previously, in the case of a recent schema update it is common for some DC's to report the schema mismatch as a normal part of processing the update. This state should only be investigated if it persists for an extended period Schema Mismatch during promotion of a DC is almost always a persistent issue that cannot be overcome without investigation and remedial steps being taken.
158
160
@@ -299,6 +301,114 @@ Look for correlating events including the ones noted above which point to known
299
301
300
302
Look for events that might indicate other underlying issues on the source or destination that might be blocking replication and so causing what might be a transient mismatch failure to persist.
301
303
304
+
Security Descriptor Size
305
+
306
+
If the Size of the nTSecurityDescriptor is greater than 64KB, it can also generate this error. You must manually check from the object reported in Event ID 1450 to see where ACEs have been applied from. Below is sample code that you can use as en example of what you can write specifically for your organization.
307
+
308
+
```console
309
+
#This sample script is not supported under any Microsoft standard support
310
+
#program or service. This sample script is provided AS IS without warranty of
311
+
#any kind. Microsoft further disclaims all implied warranties including,
312
+
#without limitation, any implied warranties of merchantability or of fitness
313
+
#for a particular purpose. The entire risk arising out of the use or
314
+
#performance of the sample scripts and documentation remains with you. In no
315
+
#event shall Microsoft, its authors, or anyone else involved in the creation,
316
+
#production, or delivery of the scripts be liable for any damages whatsoever
317
+
#(including, without limitation, damages for loss of business profits, business
318
+
#interruption, loss of business information, or other pecuniary loss) arising
319
+
#out of the use of or inability to use this sample script or documentation,
320
+
#even if Microsoft has been advised of the possibility of such damages.
321
+
322
+
<#
323
+
324
+
.SYNOPSIS
325
+
Calculates the size (in bytes) of the ntSecurityDescriptor on AD objects under a given base DN,
326
+
and writes results to a CSV file.
327
+
328
+
.PARAMETER Base
329
+
The LDAP base DN or container to search (e.g., "OU=Users,DC=contoso,DC=com")
330
+
331
+
.PARAMETER OutputPath
332
+
Path to the CSV file where results will be written.
333
+
334
+
.PARAMETER MinimumSize
335
+
Optional. Only include objects whose ntSecurityDescriptor size is greater than this threshold (in bytes).
0 commit comments