When attempting to promote a 2012 R2 machine as a domain controller on a 2003 forest\domain level domain I get the following error when it goes through it's adprep and forestprep procedures:
ADPrep execution failed --> System.ComponentModel.Win32Exception (0x80004005): A device attached to the system is not functioning. Check the log files in the C:\Windows\debug\adprep\logs\20160128201714 directory for detailed information.
The ADPrep log shows the following error:
[2016/01/28:20:17:14.402] The command line passed to ldifde is ldifde -i -f "C:\Windows\system32\adprep\sch32.ldf" -s "ral-ad1.AD.mydomain.com" -h -j "C:\Windows\debug\adprep\logs\20160128201714" -$ "C:\Windows\system32\adprep\schupgrade.cat" [2016/01/28:20:17:33.382] ERROR: Import from file C:\Windows\system32\adprep\sch32.ldf failed. Error file is saved in C:\Windows\debug\adprep\logs\20160128201714\ldif.err.32.
If the error is "Insufficient Rights" (Ldap error code 50), please make sure the specified user has rights to read/write objects in the schema and configuration containers, or log off and log in as an user with these rights and rerun forestprep. In most cases, being a member of both Schema Admins and Enterprise Admins is sufficient to run forestprep. [2016/01/28:20:17:33.393] Adprep was unable to upgrade the schema on the schema master.
The schema will not be restored to its original state.
Check the Ldif.err log file in the C:\Windows\debug\adprep\logs\20160128201714 directory for detailed information. [2016/01/28:20:17:33.393] Adprep was unable to update forest information.
Adprep requires access to existing forest-wide information from the schema master in order to complete this operation.
The ldiff.err.32 log shows
15: CN=User,CN=Schema,CN=Configuration,DC=AD,DC=mydomain,DC=com Entry DN: CN=User,CN=Schema,CN=Configuration,DC=AD,DC=mydomain,DC=com Add error on entry starting on line 232: Unwilling To Perform
The server side error is: 0x20c5 Schema update failed: class in aux-class list does not exist or is not an auxiliary class.
The extended server error is:
000020C5: SvcErr: DSID-03260249, problem 5003 (WILL_NOT_PERFORM), data 8389
Line 232 of sch32.ldf is the following
dn: CN=User,CN=Schema,CN=Configuration,DC=X changetype: ntdsSchemaModify add: systemMayContain systemMayContain: 1.2.840.1135188.8.131.529
So it seems it's trying to modify the user schema and failing. I've verified my user account is in the Schema\Domain\Enterprise admin groups. I have also verified these groups have write access to Schema container using adsiedit. The closest hit I could find was this one. Where MS MVP Ned Pyle indicated in comments it could have been caused by a 3rd party tool incorrectly extending the attribute previously. Recommending the user contact Microsoft Support. My guess is that Microsoft no longer supports Windows 2003 so that path might not go far. Has anybody seen this before? Thanks for any assistance.