Hi,
I'm getting this error when trying to promote a Server 2016 Standard server to a DC.
"ADPrep execution failed - System.ComponentModel.Win32Exception (0x80004005): A device attached to the system is not functioning."
The user account is a member of Enterprise Admins, Domain Admins, Schema Admins.
All DCs are online and I am able to login to all of them remotely.
Current schema version is 77.
Remote Registry service is turned on.
Currently 6 DCs in the domain and all are 2012 R2.
Domain and Forest Functional levels are 2012 R2.
Here is the output of the adprep log file:
[2019/11/25:14:32:16.083]
Adprep created the log file 'C:\Windows\debug\adprep\logs\20191125143216\ADPrep.log'
[2019/11/25:14:32:16.083]
Adprep successfully initialized global variables.
[Status/Consequence]
Adprep is continuing.
[2019/11/25:14:32:16.098]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=Schema,CN=Configuration,DC=****,DC=****.
[2019/11/25:14:32:16.098]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.098]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=****1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=****,DC=****.
[2019/11/25:14:32:16.099]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.099]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=Schema,CN=Configuration,DC=****,DC=****.
[2019/11/25:14:32:16.099]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.111]
Adprep discovered the schema FSMO: ****1.****.****.
[2019/11/25:14:32:16.114]
Adprep connected to the schema FSMO: ****1.****.****.
[2019/11/25:14:32:16.114]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is (null).
[2019/11/25:14:32:16.115]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.115]
Adprep successfully retrieved information from the Active Directory Domain Services.
[2019/11/25:14:32:16.115]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is DC=****,DC=****.
[2019/11/25:14:32:16.115]
LDAP API ldap_search_s finished, return code is 0x0
[2019/11/25:14:32:16.115]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is (null).
[2019/11/25:14:32:16.115]
LDAP API ldap_search_ext_s finished, return code is 0x0
[2019/11/25:14:32:16.116]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is (null).
[2019/11/25:14:32:16.116]
LDAP API ldap_search_s finished, return code is 0x0
[2019/11/25:14:32:16.127]
Adprep discovered the schema FSMO: ****1.****.****.
[2019/11/25:14:32:16.129]
Adprep connected to the schema FSMO: ****1.****.****.
[2019/11/25:14:32:16.130]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=Schema,CN=Configuration,DC=****,DC=****.
[2019/11/25:14:32:16.130]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.131]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=****1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=****,DC=****.
[2019/11/25:14:32:16.131]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.131]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=Schema,CN=Configuration,DC=****,DC=****.
[2019/11/25:14:32:16.131]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.132]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is (null).
[2019/11/25:14:32:16.132]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.132]
Adprep successfully retrieved information from the Active Directory Domain Services.
[2019/11/25:14:32:16.132]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=UID,CN=Schema,CN=Configuration,DC=****,DC=****.
[2019/11/25:14:32:16.133]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.133]
Adprep successfully determined whether Microsoft Windows Services for UNIX (SFU) is installed or not. If adprep detected SFU, adprep also verified that Microsoft hotfix Q293783 for SFU has been applied.
[2019/11/25:14:32:16.162]
Adprep successfully retrieved data from the Active Directory Domain Controller ****1.****.**** through WMI.
[2019/11/25:14:32:16.165]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=Schema,CN=Configuration,DC=****,DC=****.
[2019/11/25:14:32:16.166]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.166]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=****1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=****,DC=****.
[2019/11/25:14:32:16.166]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.166]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is CN=Schema,CN=Configuration,DC=****,DC=****.
[2019/11/25:14:32:16.167]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.167]
Adprep is about to upgrade the Active Directory Schema on the Domain Controller ****1.****.****.
[2019/11/25:14:32:16.169]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is (null).
[2019/11/25:14:32:16.169]
LDAP API ldap_search_s() finished, return code is 0x0
[2019/11/25:14:32:16.169]
Adprep successfully retrieved information from the Active Directory Domain Services.
[2019/11/25:14:32:16.169]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is DC=****,DC=****.
[2019/11/25:14:32:16.170]
LDAP API ldap_search_s finished, return code is 0x0
[2019/11/25:14:32:16.170]
Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is (null).
[2019/11/25:14:32:16.170]
LDAP API ldap_search_ext_s finished, return code is 0x0
[2019/11/25:14:32:16.170]
Current Schema Version is 77
[2019/11/25:14:32:16.170]
Upgrading schema to version 87
[2019/11/25:14:32:16.292]
The command line passed to ldifde is ldifde -i -f "C:\Windows\system32\adprep\sch78.ldf" -s "****1.****.****" -h -j "C:\Windows\debug\adprep\logs\20191125143216" -$ "C:\Windows\system32\adprep\schupgrade.cat"
[2019/11/25:14:32:17.469]
ERROR: Import from file C:\Windows\system32\adprep\sch78.ldf failed. Error file is saved in C:\Windows\debug\adprep\logs\20191125143216\ldif.err.78.
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.
[2019/11/25:14:32:18.480]
ERROR: The directory service refused the request for schema upgrade: 81 (Server Down)
If the error code is "Insufficient Rights", make sure you supply a user who is a member of the schema admin group.
[2019/11/25:14:32:18.480]
Adprep was unable to upgrade the schema on the schema master.
[Status/Consequence]
The schema will not be restored to its original state.
[User Action]
Check the Ldif.err log file in the C:\Windows\debug\adprep\logs\20191125143216 directory for detailed information.
[2019/11/25:14:32:18.481]
Adprep was unable to update forest information.
[Status/Consequence]
Adprep requires access to existing forest-wide information from the schema master in order to complete this operation.
[User Action]
Check the log file, ADPrep.log, in the C:\Windows\debug\adprep\logs\20191125143216 directory for more information.