none
DC promotion and adprep/forestprep

    Question

  • I've tried to dcpromo a new Windows 2008 server installation to be a Domain Controller, running in an existing domain. I am informed that, first, I must run adprep/forestprep ("To install a domain controller into this Active Directory forest, you must first perpare the forest using "adprep/forestprep". The Adprep utility is available on the Windows Server 2008 installation media in the Windows\sources\adprep folder".

     

    Trouble is that adprep/forestprep says that:

     

    Adprep cannot run on this platform because it is not an Active Directory Domain Controller.
    [Status/Consequence]
    Adprep stopped without making any changes.
    [User Action]
    Run Adprep on a Active Directory Domain Controller.

     

    So, which needs to be installed first (they cannot really be dependent upon each other), and how do I go about completing this?!

     

    Thanks

     

    Stephen Simpson

    Sunday, July 29, 2007 1:20 PM

Answers

All replies

  • Hi Stephen,

     

    You can run adprep from an existing Windows Server 2003 domain controller. Copy the contents of the \sources\adprep folder from the Windows Server 2008 installation DVD to the schema master role holder and run Adprep from there.

     

    You can refer to release note of Windows Server 2008 for detail of the steps:

    http://technet2.microsoft.com/windowsserver2008/en/library/ee728a25-0494-4bff-b0e9-5dbdfc5d5e451033.mspx?mfr=true

    Sunday, July 29, 2007 1:55 PM
  • to introduce the first W2K8 DC within an AD forest....

     

    (1) no AD forest exists yet:

    --> on the stand alone server execute: DCPROMO

    --> and provide the information needed

     

    (2) an W2K or W2K3 AD forest already exists:

    --> ADPREP /Forestprep on the w2k/w2k3 schema master (both w2k/w2k3 forests)

    --> ADPREP /rodcprep on the w2k3 domain master (only w2k3 forests)

    --> ADPREP /domainprep on the w2k3 infrastructure master (only w2k3 domains)

    --> ADPREP /domainprep /gpprep on the w2k infrastructure master (only w2k domains)

    --> on the stand alone server execute: DCPROMO

    --> and provide the information needed

     

    also have a look at:

    http://blogs.dirteam.com/blogs/jorge/archive/2007/03/18/windows-server-longhorn-functional-levels.aspx

    http://blogs.dirteam.com/blogs/jorge/archive/2007/03/18/windows-server-longhorn-installing-removing-and-upgrading-to-ad.aspx

    Tuesday, July 31, 2007 6:53 PM
    Moderator
  • Thanks to both ACChong and Jorge for their detailed help, which solved the problem (and for not saying "RTFM" out loud!)

     

    Regards,

     

    Stephen Simpson

     

     

    Tuesday, July 31, 2007 7:45 PM
  •  

    can someone help explain how this can be done

     

    i have the same error

    but i don\t know what do after????

     

    thanks in advance

     

    Sunday, January 6, 2008 7:10 AM
  • If you have the issue. Have you read the information above? And provided through the links? How much more detail do you need?

     

    Sunday, January 6, 2008 11:51 AM
    Moderator
  •  tagwar wrote:

     

    can someone help explain how this can be done

     

    i have the same error

    but i don\t know what do after????

     

    thanks in advance

     

     

    Hi Tagwar...

     

    Put the keyboard down, and step away from the computer.

    Tuesday, April 1, 2008 12:48 PM
  •  

    Hi,

     

    in short, run adprep/ forestprep on the schema master domain controller.

     

    HTH,
    Tarek

    _____________________________

    Tarek Majdalani

    MVP -- ISA Firewalls
    Website :
    http://www.elmajdal.net/ISAServer
    New Section :
    http://www.elmajdal.net/Win2k8/

    Tuesday, April 1, 2008 5:34 PM
  • Hi,

    We have serval DCs, do I need to run this in All the DCs? 

    Regards
    khsiung
    Tuesday, May 13, 2008 5:34 PM
  • W2K or W2K3 AD forest already exists:

    --> ADPREP /Forestprep on the w2k/w2k3 schema master (both w2k/w2k3 forests)

    --> ADPREP /rodcprep on the w2k3 domain master (only w2k3 forests)

    --> ADPREP /domainprep on the w2k3 infrastructure master (only w2k3 domains)

    --> ADPREP /domainprep /gpprep on the w2k infrastructure master (only w2k domains)

    --> on the stand alone server execute: DCPROMO

    --> and provide the information needed

     

    also have a look at:

    http://blogs.dirteam.com/blogs/jorge/archive/2007/03/18/windows-server-longhorn-functional-levels.aspx

    http://blogs.dirteam.com/blogs/jorge/archive/2007/03/18/windows-server-longhorn-installing-removing-and-upgrading-to-ad.aspx

     

    Tuesday, May 13, 2008 5:46 PM
    Moderator
  • ok, once again...

    sry but i think there's something going wrong with my ws2k3!

    situation:
    i got one 2003-server for all (DC, exchange, fileserver, dns) and it works ;)

    but now i want to add a ws2k8 in my existing 2003 domain. i prepared the ws2k3 with all adpreps i found but the message box returns:
    "To install a domain controller into this Active Directory forest, you must first prepare the forest using 'adprep /forestprep' "

    what can i do? i tried to add the ws2k8 as memberserver and then the dcpromo, but nothing worked...

    any idea? sry for my english ;)

    max
    • Proposed as answer by Meinolf Weber Thursday, November 4, 2010 8:50 PM
    Tuesday, August 19, 2008 2:55 PM
  •  Did you find a solution for this problem?
    The same thing append to me: The AD schema on my Win2002 DC have been update successfully, but when I want to make my Win2008 server a new DC in the 2003 domain I get this message when running DCPROMO:
    To install a domain controller into this active directory domain, you must first prepare the domain using "adprep /domainprep". The adprep utility is available on the windows server 2008 installation media in the \sources\adprep folder. 
     
    /Chris
    Christophe
    Monday, September 15, 2008 2:16 PM
  • Hi Everyone!

    I got nearly the same problem as  Filoupe. I tried adprep /forestprep, adprep /rodcprep, adprep /domainprep.

    I don't really know if Forestprep succeeded because it seems to run and run and run (after 1,5 hours i pressed return) until I press return to get a new prompt.

    well after the forest I ran the others but when I try to make my win08 a dc it always says "To install a domain controller into this active directory domain, you must first prepare the forest using "adprep /forestprep". The adprep utility is available on the windows server 2008 installation media in the \sources\adprep folder."

    Soooooo i really don't know what else to do.

    I would appreciate it if you can help me or better us :)

    Edit: the adprep.log says:

    Adprep created the log file ADPrep.log under C:\WINDOWS\system32\debug\adprep\logs\20070409144532 directory.
    Adprep copied file D:\CMPNENTS\R2\ADPREP\schema.ini from installation point to local machine under directory C:\WINDOWS. 
    Adprep copied file D:\CMPNENTS\R2\ADPREP\sch31.ldf from installation point to local machine under directory C:\WINDOWS\system32. 
    Adprep copied file D:\CMPNENTS\R2\ADPREP\dcpromo.csv from installation point to local machine under directory C:\WINDOWS\system32\debug\adprep\data. 
    Adprep copied file D:\CMPNENTS\R2\ADPREP\409.csv from installation point to local machine under directory C:\WINDOWS\system32\debug\adprep\data. 
    Adprep successfully made the LDAP connection to the local domain controller DC.
    Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is (null).
    LDAP API ldap_search_s() finished, return code is 0x0 
    Adprep successfully retrieved information from the local directory service.
    Adprep successfully initialized global variables.
    [Status/Consequence]

    Adprep is continuing.

    ADPREP WARNING: 
    Before running adprep, all Windows 2000 domain controllers in the forest should be upgraded to Windows 2000 Service Pack 1 (SP1) with QFE 265089, or to Windows 2000 SP2 (or later). 

    QFE 265089 (included in Windows 2000 SP2 and later) is required to prevent potential domain controller corruption. 
    For more information about preparing your forest and domain see KB article Q331161 at http://support.microsoft.com.

    [User Action] 

    If ALL your existing Windows 2000 domain controllers meet this requirement, type C and then press ENTER to continue. Otherwise, type any other key and press ENTER to quit.
    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=bla,DC=bla.
    LDAP API ldap_search_s() finished, return code is 0x0 
    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.
    Adprep successfully upgraded the schema using schupgr.exe.

    [Status/Consequence]

    The schema information on schema master has been successfully prepared.
    Adprep set the value of registry key System\CurrentControlSet\Services\NTDS\Parameters\Schema Update Allowed to 1
    Adprep successfully updated the forest-wide information.


    • Edited by Sn00kumS Wednesday, September 17, 2008 10:20 AM
    Wednesday, September 17, 2008 10:06 AM
  • Ok I'll try this one now..... here

    couldn't think of that solution if it works :)

    • Edited by Sn00kumS Thursday, September 18, 2008 7:02 AM
    Thursday, September 18, 2008 7:01 AM
  • Ok forestprep worked now but it still says do it again :)

    damnit

    • Proposed as answer by Duplicate Monday, March 30, 2009 10:41 PM
    Thursday, September 18, 2008 8:12 AM
  • I am also having this same problem.  I have been advised that running adprep/forestprep on the W2k DC can affect the schema adversley.  I have a single DC and no DC's in the forest.  I want to promote the 2008 Server to a DC withing the current forest.  I don't have another DC to take over if something happens to take the W2k server down and no team to help me rebuild if I do.  I am in a facility that absolutely cannot afford to have the DC go down.  Any responses would be appreciated.
    • Proposed as answer by Duplicate Monday, March 30, 2009 10:41 PM
    Sunday, March 1, 2009 10:06 PM
  • Nedwardo1 said:

    I am also having this same problem.  I have been advised that running adprep/forestprep on the W2k DC can affect the schema adversley.  I have a single DC and no DC's in the forest.  I want to promote the 2008 Server to a DC withing the current forest.  I don't have another DC to take over if something happens to take the W2k server down and no team to help me rebuild if I do.  I am in a facility that absolutely cannot afford to have the DC go down.  Any responses would be appreciated.



    Nedwardo1,

    A single DC IS a forest.  Every AD forest starts with a single DC.

    That being said, before you run any schema changes to your forest, I strongly recommend you build another DC, even if you do it in virtual machine.   You state you are in a facility that cannot afford the loss of the DC yet you only have one?  That is just asking for trouble. 
    Monday, March 9, 2009 5:41 PM
  • I was having the same problem as mentioned the first post. Turns out you have to run the Windows 2008 CD on your Windows 2003 DC. Also, I am performing this upgraded on a replicated lab environment. One thing to note is that when running the adprep on the Windows 2003 DC, you have to make sure the DC can replicate to all DC's in your domain. I had to remove all but one of my DC in order to get this process rolling
    • Proposed as answer by jelutzwt Thursday, September 6, 2012 1:56 PM
    Monday, March 30, 2009 10:42 PM
  • We have TechNet topic named Running Adprep.exe at http://technet.microsoft.com/en-us/library/dd464018(WS.10).aspx. Please let us know if it does not cover an issue you encounter with running Adprep.

    Thanks,
    Justin [MSFT]

    Tuesday, August 25, 2009 9:40 PM
  • Remember to use ADPREP32 if the DC is 32 bit and the 2008 CD is for 64 bit OS.
    Wednesday, October 7, 2009 12:24 PM
  • If I have a Win2K3 Enterprise DC and want to introduce a Win2K8 Standard DC, then running adprep does not work from the 2K8 DVD because it's the wrong version.  Isn't there a way to just get the adprep for Win2K8 Enterprise so I can upgrade the Win2K3 schema?

    I do not have this DVD and wanted to try and avoid downloading the entire DVD from Microsoft.  Is there anyone who has posted all the adpreps somewhere accessible online?

    Please email me.

    Thanks,

    Ed
    EMAIL REMOVED
    Monday, October 12, 2009 5:51 AM
  • Hello,

    adprep commands doesn't belong to Enterprise or Standard or Datacenter edition, all are the same.

    You have to run the command from the 2008 installation disk on the 2003 DC with the Schema master FSMO role, check with "netdom query fsmo" in a command prompt on one DC.

    See here about the needed adprep commands:
    http://technet.microsoft.com/en-us/library/cc731728(WS.10).aspx
    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
    Monday, October 12, 2009 7:01 AM
  • Hello,

    according to your adprep logfile:
    Adprep copied file D:\CMPNENTS\R2\ADPREP\sch31.ldf

    You have used the 2003 R2 installation disk for adprep. Sch31.ldf is the schema version for 2003 R2, if you use 2008 it must be scheman version 44 and 2008 R2 is schema version 47.

    You can check with "schupgr" in a command prompt which schema version is installed.
    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
    Monday, October 12, 2009 7:04 AM
  •  Did you find a solution for this problem?
    The same thing append to me: The AD schema on my Win2002 DC have been update successfully, but when I want to make my Win2008 server a new DC in the 2003 domain I get this message when running DCPROMO:
    To install a domain controller into this active directory domain, you must first prepare the domain using "adprep /domainprep". The adprep utility is available on the windows server 2008 installation media in the \sources\adprep folder.  
     
    /Chris
    Christophe

    I am also currently having this exact same problem.   I am upgrading a Server 2000 domain to Server 2008 64-bit.    I initially ran the adprep from a Server 2008 32-bit DVD, as I read somewhere this is what you do.   This upgraded my schema to version 44.    From reading these posts I then went and ran an adprep32 /forestprep from the 64-bit DVD and this updated my schema from version 44 to 47.

    When I run schupgr it says my current Schema Version is 47.   So all looks well.

    Over to the Server 2008 64-bit machine, I am running AD DS Installation Wizard.  It asks me to select a Domain for this additional domain controller.  I select the domain forest root and click next.  It examines the forest and then gives the above error  (that I must first prepare the domain using adprep).

    I am not sure what else I can do.  It wants me to prepare the domain, but it already has been prepared.   Makes no sense, and I don't know how to proceed.
    Wednesday, November 11, 2009 10:04 AM
  • Hello,

    so you have run adprep /forestprep AND adprep /domainprep /gpprep (needed because of 2000 need to enable RSOP Planning Mode functionality) on the 2000 DC?
    http://technet.microsoft.com/en-us/library/cc731728(WS.10).aspx
    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, November 13, 2009 3:34 PM
  • Hi!

    I have win2k8 server new and existing DC win 2k but upon running dcpromo in win2k8 there is an error. what do i need to do?

    thanks
    Wednesday, November 18, 2009 10:09 AM
  • Hello,

    you should better had create your own posting. As this one is marked as solved, not that much people are looking into it.

    You have to use the 2008 installation disk on the 2000 DC which has the FSMO roles and run the adprep commands on the 2000 schema master with an account that is member of the domain/enterprise/schema admins.

    If the above one is done please post the complete error message here or more better, the adprep.log file.
    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, November 19, 2009 10:21 PM
  • Quick question (and it will sound dumb)

    Will process #2 require a reboot of the 2003 DC the operation is performed on?

    I started a new job and the previous admin(s) installed the DC roles on app and file servers which cannot be restarted with ease. I am in the process of removing the roles from the existing two DCs to new (one virtual, one physical) 2008 servers. The problem is we are a bit of a 24/7 shop and someone is almost accessing the primary application for the company which happens to reside on one of the DCs. Again, this is in the process of being fixed but I am hoping I can get some work done during the day versus another late night/early morning change.

    Thanks!

    Monday, April 19, 2010 3:06 PM
  • Quick question (and it will sound dumb)

    Will process #2 require a reboot of the 2003 DC the operation is performed on?

    I started a new job and the previous admin(s) installed the DC roles on app and file servers which cannot be restarted with ease. I am in the process of removing the roles from the existing two DCs to new (one virtual, one physical) 2008 servers. The problem is we are a bit of a 24/7 shop and someone is almost accessing the primary application for the company which happens to reside on one of the DCs. Again, this is in the process of being fixed but I am hoping I can get some work done during the day versus another late night/early morning change.

    Thanks!


    I have the same issue but i already have a 2008 domain, i have completed the adprep /forestprep which was successful but still no joy? any ideas?

     

    Thursday, May 13, 2010 5:26 PM
  • You need to raise the Domain Functional level to Windows Server 2003. Do that and try again, it should now work.
    • Proposed as answer by Win2k8man Friday, June 18, 2010 10:50 AM
    Tuesday, June 1, 2010 8:10 AM
  • I've tried to dcpromo a new Windows 2008 server installation to be a Domain Controller, running in an existing domain. I am informed that, first, I must run adprep/forestprep ("To install a domain controller into this Active Directory forest, you must first perpare the forest using "adprep/forestprep". The Adprep utility is available on the Windows Server 2008 installation media in the Windows\sources\adprep folder".

     

    Trouble is that adprep/forestprep says that:

     

    Adprep cannot run on this platform because it is not an Active Directory Domain Controller.
    [Status/Consequence]
    Adprep stopped without making any changes.
    [User Action]
    Run Adprep on a Active Directory Domain Controller.

     

    So, which needs to be installed first (they cannot really be dependent upon each other), and how do I go about completing this?!

     

    Thanks

     

    Stephen Simpson


    Guys, I had the same issues and was googling for an answer...an suprising it was a simple as coping the adprep to the local drive and running "adprep32.exe /forestprep"... that solved my answer.
    • Proposed as answer by howe18 Thursday, November 4, 2010 3:06 AM
    Friday, June 18, 2010 10:54 AM
  • Hi,
     
    Did you run the 2008 version of adprep on one of the existing domain
    controllers or the new domain controller that you are deploying?
     
     

    -- Mike Burr
    Friday, June 18, 2010 4:57 PM
  • omg....Thank you for posting this because I was racking my brains trying to figure out why the regular adprep command didn't work.
    Sunday, June 20, 2010 1:29 AM
  • Note: If you are adding a second DC running Windows 2008 r2  to a Windows 2008 (RTM not r2) Domain.

    You will have the same issue.

    As the original Windows 2008 build needs the AD meta data brought up from build 44 to build 47before you can add the second Windows 2008 r2 Domain Controller.

    By running

    --> ADPREP /Forestprep on the w2k8 schema master (first DC)

    --> ADPREP /domainprep

    You will be able to then add the second domain controller into the existing forest.

     

    • Proposed as answer by Renvorak Saturday, May 21, 2011 1:53 PM
    Wednesday, October 13, 2010 1:40 AM
  • Hi,

    I have used this thread to create a new topic on the TechNet Wiki, Troubleshooting Adprep.exe errors, at http://social.technet.microsoft.com/wiki/contents/articles/troubleshooting-adprep-exe-errors.aspx.

    The Wiki is a great place to roll up answers for the community to improve an article (versus threads).  Take a look and share your feedback.

    Justin [MSFT]

    Friday, October 15, 2010 4:17 PM
  • windows 2008 R2 or Enterprise R2 version 64 bit should run the adprep32 located in DVD \support\adprep\adprep32.exe /forestprep in Windows 2003 Active Directory Domain controller, 32 bit.
    Thursday, November 4, 2010 3:14 AM
  • Thanks....worked like a charm!
    Thursday, November 25, 2010 3:02 PM
  • I found the solution to the problem I was having.  I had ran the adprep commands using windows 2008 (rtm) media, because I tried to run adprep on my 2003 32bit domain controller from the 2008 R2 media and figured out that I needed a 32 bit version.  I never looked in the root directory of the /support/adprep folder to see that there was a adprep32 binary.  So I used media from a 32 bit standard 2008 server that wasn't R2.  Moral of the story is, if you're trying to add a 2008 R2 server to a domain as a domain controller then you need the R2 binary and files and run it on all your domain controllers in your setup.

    Thanks,

    Austin Cherry

    • Proposed as answer by MSPartner-UK Saturday, January 5, 2013 9:13 PM
    Friday, January 21, 2011 5:26 PM
  • Jorge, We need enough information and detail to resolve our issues..., OBVIOUSLY!!!  The information and the links provided are not enough!!!

    No where does MS support say to use ADPREP32 for on a 2003 domain for a 2008R2 server.  So we used ADPREP.  Now I have gone back and used ADPREP32 and it STILL doesn't work.  Same issue - it tells me I need to run 'adprep /forestprep', but I have already run it (and I have run 'adprep32 /forestprep' as well, still I have the SAME ISSUE!!!

    P.S.  It is not the job of the moderator to make the people who need help feel stupid.  You should be trying to help, not making us feel like we have missed something.  It's Microsoft that has missed something.  The procedure to add a 2008 R2 server as an AD controller of a 2003 domain is OBVIOUSLY different than it was for a regular 2008 server, but MS has NOT told us what to do.

    Wednesday, March 9, 2011 8:27 PM
  • This is NOT solved.  There are many people here who are as stuck as I am.  I have done what MS has asked me to do, and my 2008R2 server says I need to run 'adprep /forestprep'.  Well, I have already done that, I've done it from my schema master, and it has come back successful.  So I don't know what else I can do.  Can someone please help me?  The only thing I can think of is to try it on a 2008 (non-R2) server.  Transfer the schema master to that server (IF it works successfully), and then add the R2 server and THEN transfer the schema master to it.  WHAT A MESS!!!
    Wednesday, March 9, 2011 8:38 PM
  • Thanks for the optimistic post.  I tried that - it didn't work..., I still have the same problem.
    Wednesday, March 9, 2011 8:39 PM
  • I copied both the 2008R2 CD and the 2008 CD to a local drive because I don't have a DVD-ROM in my old 2003 server.  First I tried running the 2008R2 version of 'adprep /forestprep' but it told me I didn't have the right verion.  Then I ran 'adprep /forestprep' from the 2008 32bit CD and it completed successfully but when I tried dcpromo on my 2008R2 server, it told me I needed to run 'adprep /forestprep' (which I had already done successfully).  Then I tried running adprep32 from the copy of the 64-bit server Win2008R2 CD and it also said it completed successfully, but still my 2008R2 server tells me I need to run 'adprep /forestprep' (which I had already done successfully).  So what should I do now, Austin?     

    Wednesday, March 9, 2011 8:54 PM
  • I've been working on this for several hours and discovered you have to use the adprep from the cd you installed server 2008.  if you used the 64bit dvd, you must use the adprep32 from the support folder from the exact same cd as your installation.
    dmf415@yahoo.com
    Thursday, March 10, 2011 6:24 PM
  • I ran into the same issue but in the test environment. I have 2 domain controllers DC1 (Win2008 Ent) and DC2 (Win2008 Data). When I tried to add a third domain controller DC3 (Win2008 R2), I ran into the error. All I did was, got the adprep files from Win2008 R2 and ran "adprep /forestprep" on DC1 and then ran "adprep /domainprep" on the same DC1 and that fixed the issue.

    If your existing DC is 32 bit, then run "adprep32 /forestprep" and "adprep32 /domainprep".


    kk
    Friday, April 29, 2011 12:21 PM
  • Thanks Brian for the simple answer.  This worked perfect for adding a secondary DC on a 2008 R2 machine to a standalone 2008 DC.

     

    Here are the steps I used (had to use the 32 bit version).

    1. Copied the Support\ADPREP folder from the 2008 R2 install cd to the old 2008 server / DC controller
    2. ADPREP32.EXE /Forestprep on the w2k8 schema master (first/only DC)  {C, then 'enter' to confirm.}
    3. ADPREP32.EXE /domainprep on the w2k8 schema master (first/only DC)

     

    -Brandon

    Saturday, May 21, 2011 2:34 PM
  • Thanks

    This solved my problem!

    Tuesday, May 31, 2011 12:27 PM
  • I have a SBS2003 server and i want to promo a new 2008 R2 x64 and move exchange and all the rest to the new server. After completeing all the steps above i still receive the error -

    " To install a domain controller into this Active Directory forest, you must first prepare the forest using "adprep /forestprep" The Adprep utility is available on the Windows Server 2008 R2 installation media in the \support\adprep folder"

     

    I ran all the above adprep commands with success yet the new DC i want to add still fails on DCPROMO.

     

    Tuesday, June 14, 2011 4:29 AM
  • I have a SBS2003 server and i want to promo a new 2008 R2 x64 and move exchange and all the rest to the new server. After completeing all the steps above i still receive the error -

    " To install a domain controller into this Active Directory forest, you must first prepare the forest using "adprep /forestprep" The Adprep utility is available on the Windows Server 2008 R2 installation media in the \support\adprep folder"

     

    I ran all the above adprep commands with success yet the new DC i want to add still fails on DCPROMO.

     


    Hello,

    please post the output from:

    "dsquery * cn=schema,cn=configuration,dc=domainname,dc=local -scope base -attr objectVersion" without the quotes in a command prompt.


    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Tuesday, June 14, 2011 5:50 AM
  • I have a SBS2003 server and i want to promo a new 2008 R2 x64 and move exchange and all the rest to the new server. After completeing all the steps above i still receive the error -

    " To install a domain controller into this Active Directory forest, you must first prepare the forest using "adprep /forestprep" The Adprep utility is available on the Windows Server 2008 R2 installation media in the \support\adprep folder"

     

    I ran all the above adprep commands with success yet the new DC i want to add still fails on DCPROMO.

     


    Hello,

    please post the output from:

    "dsquery * cn=schema,cn=configuration,dc=domainname,dc=local -scope base -attr objectVersion" without the quotes in a command prompt.


    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    I put in the above command and it returned the following on my sbs2003

    object version

    44

    Tuesday, June 14, 2011 8:34 AM
  • Hello,

    44 is the schema version fior Windows server 2008 and NOT for Windows server 2008 R2, that is 47.

    So use the Windows server 2008 R2 installation disk and upgrade the schema with adprep32(32bit) or adprep(64bit) version.


    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Tuesday, June 14, 2011 8:59 AM
  • Thanks i will try this in about an hour. I need to download the R2 files.
    Wednesday, June 15, 2011 1:37 AM
  • Hello,

    44 is the schema version fior Windows server 2008 and NOT for Windows server 2008 R2, that is 47.

    So use the Windows server 2008 R2 installation disk and upgrade the schema with adprep32(32bit) or adprep(64bit) version.


    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    You are a champion. Working fine. Thank you!! :)
    Wednesday, June 15, 2011 1:49 AM
  • Hello,

    44 is the schema version fior Windows server 2008 and NOT for Windows server 2008 R2, that is 47.

    So use the Windows server 2008 R2 installation disk and upgrade the schema with adprep32(32bit) or adprep(64bit) version.


    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    You are a champion. Working fine. Thank you!! :)


    Hello,

    you're welcome. :-)


    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Wednesday, June 15, 2011 5:44 AM
  • Hi,

    i've ended up here as i too seem to have the same problem but i can't see anything here that finally resolves the issue.

    I have a 32bit 2003 Enterprise server SP2  running as the one and only DC. I've installed a W2K8 64bit server. I've joined it to the domain OK but now i need to run DCPROMO on the W2K8 server to make the new machine a DC, so that i can eventually retire the old 2003 server.

    i've followed the various instructions on here to run the adprep on the old server and i think i have the forest ready to go but i still get the same error on the W2K8 machine.

    on the DC i see:

    C:\adprep>schupgr
    Opened Connection to HOMESERV
    SSPI Bind succeeded
    Current Schema Version is 47
    Upgrading schema to version 47

    The schema has already been upgraded. Rerun setup to upgrade this DC.

    In AD it says the Forest and domain functional level is Window 2003.


    which says to me this is ready.

    But Running the ADSIEdit.msc from the W2K8 server i see something interesting.

    under Configuration->ForestUpdates->ActiveDirectoryUpdate i see a revision of 2  ..... which is W2K8 not R2

    But under CN=Schema,CN=Configuration,DC=forest_root_domain i see a revision <not set>

    So something looks very wrong.

     

    Is there anyway to get better diagnostics to what the real problem is ?

    Sorry if i done something very dumb but i can't spot the wood for the forest .....


    Thanks ... Andy 


    Friday, July 1, 2011 3:09 PM
  • Hi,

    i've ended up here as i too seem to have the same problem but i can't see anything here that finally resolves the issue.

    I have a 32bit 2003 Enterprise server SP2  running as the one and only DC. I've installed a W2K8 64bit server. I've joined it to the domain OK but now i need to run DCPROMO on the W2K8 server to make the new machine a DC, so that i can eventually retire the old 2003 server.

    i've followed the various instructions on here to run the adprep on the old server and i think i have the forest ready to go but i still get the same error on the W2K8 machine.

    on the DC i see:

    C:\adprep>schupgr
    Opened Connection to HOMESERV
    SSPI Bind succeeded
    Current Schema Version is 47
    Upgrading schema to version 47

    The schema has already been upgraded. Rerun setup to upgrade this DC.

    In AD it says the Forest and domain functional level is Window 2003.


    which says to me this is ready.

    But Running the ADSIEdit.msc from the W2K8 server i see something interesting.

    under Configuration->ForestUpdates->ActiveDirectoryUpdate i see a revision of 2  ..... which is W2K8 not R2

    But under CN=Schema,CN=Configuration,DC=forest_root_domain i see a revision <not set>

    So something looks very wrong.

     

    Is there anyway to get better diagnostics to what the real problem is ?

    Sorry if i done something very dumb but i can't spot the wood for the forest .....


    Thanks ... Andy 



    Hello,

    which exact error do you get when running dcpromo, you didn't mention it? Please upload the adprep logfile to Windows sky drive skydrive.live.com


    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Sunday, July 3, 2011 10:41 AM
  • W2K or W2K3 AD forest already exists:

    --> ADPREP /Forestprep on the w2k/w2k3 schema master (both w2k/w2k3 forests)

    --> ADPREP /rodcprep on the w2k3 domain master (only w2k3 forests)

    --> ADPREP /domainprep on the w2k3 infrastructure master (only w2k3 domains)

    --> ADPREP /domainprep /gpprep on the w2k infrastructure master (only w2k domains)

    --> on the stand alone server execute: DCPROMO

    --> and provide the information needed

     

    also have a look at:

    http://blogs.dirteam.com/blogs/jorge/archive/2007/03/18/windows-server-longhorn-functional-levels.aspx

    http://blogs.dirteam.com/blogs/jorge/archive/2007/03/18/windows-server-longhorn-installing-removing-and-upgrading-to-ad.aspx

      

    Basically if you follow the above with the right software you should be fine. This fixed all my issues.

    What error are you getting?

    • Proposed as answer by r0xt4r Thursday, October 11, 2012 5:37 AM
    Wednesday, July 20, 2011 5:42 AM
  • I have a similar issue. I'm running a DC on Windows Server 2k3. I want to add an ADC to the same domain, but when adding to the forest, I get the error stating I must run the adprep /forestprep command. When I switch over to my currently active DC and run that command, it tells me the command has not been ran because it was already done before. I go back to my ADC and try to add again, and receive the same message.

    Forest-wide information has already been updated.
    [Status/Consequence]
    Adprep did not attempt to rerun this operation.

    So now I'm at a standstill. Any suggestions?

    Thanks!


    FIX:

    Okay, so apparently I had to update the schema on my old (original) DC running Windows 2003. I simply copied the adprep folder from the latest Windows 2008 CD to my DC server and ran the adprep32.exe /forestprep command, and it worked.

    adprep32.exe /forestprep

    Opened Connection to USPS
    SSPI Bind succeeded
    Current Schema Version is 44
    Upgrading schema to version 47
    Connecting to "USPS"
    Logging in as current user using SSPI
    Importing directory from file "C:\WINDOWS\system32\sch45.ldf"
    Loading entries.................

    66 entries modified successfully.

    The command has completed successfully
    Connecting to "USPS"
    Logging in as current user using SSPI
    Importing directory from file "C:\WINDOWS\system32\sch46.ldf"
    Loading entries....
    3 entries modified successfully.

    The command has completed successfully
    Connecting to "USPS"
    Logging in as current user using SSPI
    Importing directory from file "C:\WINDOWS\system32\sch47.ldf"
    Loading entries.....
    4 entries modified successfully.

    The command has completed successfully


    Tuesday, July 26, 2011 4:43 PM
  • Hi,

    i've ended up here as i too seem to have the same problem but i can't see anything here that finally resolves the issue.

    I have a 32bit 2003 Enterprise server SP2  running as the one and only DC. I've installed a W2K8 64bit server. I've joined it to the domain OK but now i need to run DCPROMO on the W2K8 server to make the new machine a DC, so that i can eventually retire the old 2003 server.

    i've followed the various instructions on here to run the adprep on the old server and i think i have the forest ready to go but i still get the same error on the W2K8 machine.

    on the DC i see:

    C:\adprep>schupgr
    Opened Connection to HOMESERV
    SSPI Bind succeeded
    Current Schema Version is 47
    Upgrading schema to version 47

    The schema has already been upgraded. Rerun setup to upgrade this DC.

    In AD it says the Forest and domain functional level is Window 2003.


    which says to me this is ready.

    But Running the ADSIEdit.msc from the W2K8 server i see something interesting.

    under Configuration->ForestUpdates->ActiveDirectoryUpdate i see a revision of 2  ..... which is W2K8 not R2

    But under CN=Schema,CN=Configuration,DC=forest_root_domain i see a revision <not set>

    So something looks very wrong.

     

    Is there anyway to get better diagnostics to what the real problem is ?

    Sorry if i done something very dumb but i can't spot the wood for the forest .....


    Thanks ... Andy 



    Hello,

    which exact error do you get when running dcpromo, you didn't mention it? Please upload the adprep logfile to Windows sky drive skydrive.live.com


    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Wednesday, August 3, 2011 4:10 AM
  • My DVD has the adprep folder within the support folder, not the sources folder.  Those files worked fine.

    Monday, November 21, 2011 3:03 PM
  • adprep files under \Support are R2 and adprep files under \Sources are previous version of 2008
    Tuesday, November 29, 2011 2:16 PM
  • Thank you Jorge de Almeida Pinto [MVP-DS]

    That has been doing my head... 

    Was caught in a catch22 situation.. Couln't do DC Promo on the win2003 DC, the 2008 R2 (not yet a DC) ahhhh!!! {hair pulling time}

    copy the files onto the HDD and win2003 DC runs adprep32 /forestprep... woohoo!!!!

    Thursday, November 22, 2012 3:02 PM
  • Boa tarde, fiz os procedimentos e deu certo, tinha que fazer Update Schema  com o CD 2008 no server 2003 !

    Agora quando eu executo o DC promo no 2008 ele passa sem dar o erro !

    Obrigado

    Thursday, December 20, 2012 5:36 PM
  • Hi, Actually had previously tried copying the contents of the \support\aprep directory from the root of the installation DVD and tried to run adprep.exe /forestprep. This failed and i figured it was coz i was running a 32bit version of Enterprise Server 2003 (just like i assume most people do) on my DC/GC. So swtiching to the aprep32.exe /forestprep worked like majic. It will just ask for u to press C followed by ENTER then the setup will run just fine. SUCCESS
    Saturday, January 5, 2013 11:31 AM
  • This is very accurate.  But for those who do not know:  You must also be a memeber of Schema Admins, Domain admins and Enterprise admins group.  I like to leave Schema admins empty till I need it.

    Don't RTFM....its confusing.

    Thursday, June 13, 2013 12:56 PM
  • If you are running a 32 bit version of the  W2K3, then there is a "adprep32.exe" file that u need to run for the forest prep and the domain prep within the "support - adprep folder"in the installation media. If you are running the 64 bit version, please use adprep.exe and run the forestprep and domainprep . Also, please make sure that you log in using an administrator account to run the above commands in the command prompt.

    NOTE: The installation media is the Windows 2008 media and not the Windows 2003 Media.


    Friday, July 5, 2013 8:13 AM
  • I am having also problems, the solution above worked partially but at the end the Windows 2008 R2 Server cannot be promoted.

    The Windows Domain functional level ist Windows 2003.

    Domain Controller is Windows 2003 R2 32 Bit.

    The adprep32.exe on the installation media (Windows 2008 R2) failed with the error "ADPREP.EXE is valid, but is for a machine type other than the current machine" Then I found this Article: http://support.microsoft.com/kb/919151

    The adprep /forestprep had nothing to upgrade.

    So then I copied the adprep.exe and the 409.csv file from the KB919151 to the files on the Windows 2008 R2 support\adprep files and now my schema version is 47.

    But the problem is the Error "you must first prepare the forest using "adprep /forestprep"" still comes. And I am stuck, cannot work.

    Please advice!


    • Edited by pascal Feldmann Wednesday, July 10, 2013 8:28 PM Installation Media detail added
    Wednesday, July 10, 2013 8:27 PM
  • I am having also problems, the solution above worked partially but at the end the Windows 2008 R2 Server cannot be promoted.

    The Windows Domain functional level ist Windows 2003.

    Domain Controller is Windows 2003 R2 32 Bit.

    The adprep32.exe on the installation media (Windows 2008 R2) failed with the error "ADPREP.EXE is valid, but is for a machine type other than the current machine" Then I found this Article: http://support.microsoft.com/kb/919151

    The adprep /forestprep had nothing to upgrade.

    So then I copied the adprep.exe and the 409.csv file from the KB919151 to the files on the Windows 2008 R2 support\adprep files and now my schema version is 47.

    But the problem is the Error "you must first prepare the forest using "adprep /forestprep"" still comes. And I am stuck, cannot work.

    Please advice!


    Hello,

    please create your OWN thread and do not capture this one. Include all steps you have done and a LINK to the adprep log file uploaded to Windows Sky Drive.


    Best regards

    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/

    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

    Thursday, July 11, 2013 6:58 AM
  • Hi

    I was able to fix the problem by myself.

    I restarted the DC, then copied the folder "adprep" from the Windows 2008 R2 installation media to a folder and ran

    adprep32 /forestprep
    adprep32 /domainprep /gpupdate
    adprep32 /domainprep

    a second time, now it worked, the first time it didn't know why it didn't work. Maybe the restart, maybe one of the steps I performed in the last post.

    Thanks anyway.

    Thursday, July 11, 2013 12:34 PM
  • On  my current it was 2003 SBS (x86) and a new DC that was 2008R2. I had tried the adprep32 by copying the exe over and it appeared to run. But it was not. What I found out was I had to copy the entire folder which adprep was located in on the install disk to the root directory, not just the exe itself
    Monday, September 22, 2014 5:53 PM
  • On  my current it was 2003 SBS (x86) and a new DC that was 2008R2. I had tried the adprep32 by copying the exe over and it appeared to run. But it was not. What I found out was I had to copy the entire folder which adprep was located in on the install disk to the root directory, not just the exe itself

    Hello,

    just using the adprep32.exe is NOT enough. Please insert the Windows Server 2008 R2 installation media and run it from the the disk.

    At least you have to copy the COMPLETE folder from the disk to the machine, as the schema files, .ldf, are also required to implement the changes.


    Best regards

    Meinolf Weber

    MVP, MCP, MCTS

    Microsoft MVP - Directory Services

    My Blog: http://blogs.msmvps.com/MWeber

    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

    Twitter:  

    Monday, September 22, 2014 6:24 PM