Share: Home
Adprep Fails on Windows 2003 Server - Syed Khairuddin

Syed Khairuddin

Adprep Fails on Windows 2003 Server

Hello,

        I was with one of my customer who wanted to introduce Windows 2008 Server in his existing Windows 2003 Infrastucture for the transition. The scenario was he had

DC01 Windows 2003 Standard Server with all FSMO Roles
DC02  Windows 2003 R2 Enterprise acting as ADDITIONAL DOMAIN CONTROLLER.

So while sitting on the schema master I ran the command  Adprerp /forestprep . As per the technet article but  I ended up with a  following error.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ADPREP WARNING:

Before running adprep, all Windows 2000 Active Directory Domain
Controllers in the forest should be upgraded to Windows 2000 Service
Pack 4 (SP4) or later.

[User Action]

If ALL your existing Windows 2000 Active Directory Domain Controllers
meet this requirement, type C and then press ENTER to continue.
Otherwise, type any other key and press ENTER to quit.

C

Connecting to "DC02.fabrikam.com"
Logging in as current user using SSPI
Importing directory from file "c:\windows\system32\PAS.LDF"
Loading entries
Add error on line 4: Referral


The Server side error is "A referral was returned from the server."
0 entries modified sucessfully.
An error has occured in the program
Adprep was unable to upgrade the schema on the schema password.
[Status/Consequence]
The schema will not be restored to its orignal state.
[User Action]
Check the Ldif.err log file in the <null> directory for the detailed information.

Adprerp encountered a Win32 error.
Error code: 0x202b Error message: A referral was returned from the server..

Adprep was unable to update the forest information.
[Status/Consequence]
Adprep rewuires access to existing forest-wide information from the schema master in order to complelte this operation.
[User Action]
Check the log file ADPrep.log, in the
C:\windows\debug\adprep\logs\20080806171216 directory for more
information.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

To resolve the issue i again transfered all the roles from Windows 2003 Standard Server To Windows 2003 R2 Enterprise which was acting as ADC and resolved the issue but as a matter of fact if you see the log care fully, when I was running the command from the Windows 2003 Standard server which was holding schema role it was contacting Addional Domain Controller Which was Windows 2003 R2 Enterprise You know why it was contacting ??

------------------------------------------------------------------------------------------------------------------------------------

Connecting to "DC02.fabrikam.com" >> ( Windows 2003 R2 without FSMO roles )
Logging in as current user using SSPI
Importing directory from file "c:\windows\system32\PAS.LDF"
Loading entries
Add error on line 4: Referral

-------------------------------------------------------------------------------------------------------------------------------------

Remember When you were introducing Windows 2003 R2 in your env you would have done adprep /forestprep as well which has eventually updated your schema to objectVersion to 31.


The same thing when I was trying to run adprep /forestprep for Windows 2008 introduction its was looking for the schema master server which was having highest objectVersion in my case it was windows 2003 r2. Thats the reason It was contacting Addtional Domain Controller which was Windows 2003 R2.

 

Note: Please see the attached Jpg below for the screen shot, I have removed the domain name from the screenshot in order to protect the privacy of the customer.

 

Attachment: adprep error.JPG
Posted: 02-17-2010 11:58 AM by skhairudin | with no comments |
Filed under: