Link to home
Start Free TrialLog in
Avatar of huangs3
huangs3Flag for Canada

asked on

Why "adprep /forestprep" command does not stop after showing "the command has completed"?

Dear Experts:

    I have a windows server 2000 machine running as an Active Directory domain controller, and I ran the "adprep /forestprep" command from a windows server 2008 DVD to extend it.
    From the command line prompt I found that it upgrades from schema 13 to schema 44. After that it gave me a message: "The command has completed successfully". However, as shown by the picture adprep_forest.jpg, it still kept running for a long time (for more than 30 minutes).
    Then I pressed ctrl+C to make it stop, and it gave error message in the log:
**************************
Adprep successfully created the Active Directory Domain Services object cn=134428a8-0043-48a6-bcda-63310d9ec4dd,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=Aqua,DC=mrf.



Adprep.exe has been canceled by user.

[Status/Consequence]

Adprep has been stopped. The forest has not been completely prepared.

[User Action]

Check the log file ADPrep.log in the C:\WINNT\debug\adprep\logs\20080722222611 directory for more information.

Adprep encountered a Win32 error.

Error code: 0x4c7 Error message: The operation was canceled by the user..



Adprep set the value of registry key System\CurrentControlSet\Services\NTDS\Parameters\Schema Update Allowed to 1



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:\WINNT\debug\adprep\logs\20080722222611 directory for more information.
*****************************

Then I restart the command line window and run it again twice, then I got the result in adprep_forest2.jpg.

1. Am I making anything wrong?
2. Why adprep has that strange behavior?
3. If I make something wrong, how can I recover it?

Thank you!
adprep-forest.jpg
adprep-forest2.jpg
ASKER CERTIFIED SOLUTION
Avatar of dfxdeimos
dfxdeimos
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of huangs3

ASKER

Yes, I use Domain\Administrator account exactly.
Did you run these operations from the EXISTING domain controller or from the machine that you intend to make the domain controller?

It appears as if the second time you ran the operation that everything completed successfully. You could continue with the domain prep and I think you will be OK.

But if you want to verify everything first you should run diagnostics against your Active Directory domain.

If you don't have the Support Tools installed, install them from your server install
disk. (CDROM:\support\tools\setup.exe)

Run dcdiag, netdiag and repadmin in verbose mode.
-> dcdiag /e /c /v /s:DC_Name /f:c:\dcdiag.txt
-> netdiag.exe /v > c:\netdiag.txt
-> repadmin.exe /showrepl dc* /verbose /all /intersite > c:\repl.txt

Examine those 3 txt files for failures or inconsistancies, upload them here if you need help.
Avatar of devryguy81
devryguy81

I had this same issue.  I had to use the adpre32.exe from the 2008 R2 from Microsoft in order to prep my 2003 domain for a 2008 64-bit server.  I was in the middle of reading this post when it did finally complete, however it took a good 10 minutes to finally finish...
adprep32.jpg
Im reading this I have a question can I stop adprep /forestprep in mid stream, then restart it later?