Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , ,

Sponsored Links


Windows Server 2008 and adprep /forestprep

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 17-03-2009
Agendum
 
Posts: n/a
Windows Server 2008 and adprep /forestprep

Sponsored Links
I have a Windows Server 2003 R2 DC running a private forest. I have added a
Windows Server 2008 machine to the domain and want to promote it as a DC in
the existing forest. I added the Active Directory Domain Services role to
the server, and rebooted. It asks me to run "Active Directory Domain
Services Installation Wizard (dcpromo.exe)". As I step through this wizard,
I get an error:

---------------------------
Active Directory Domain Services Installation Wizard
---------------------------
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 installation media in the
\sources\adprep folder.
---------------------------
OK
---------------------------

So I go to the media and run this command:

-------------- BEGIN --------------
Z:\sources\adprep>adprep /forestprep
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.
-------------- END --------------

Oops, looks like I was supposed to run this on the currently active DC. So
I go over to the Server 2003 R2 DC and run adprep from it's media and it
seemingly succeeds:

-------------- BEGIN --------------
Z:\CMPNENTS\R2\ADPREP>adprep /forestprep

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.


c
Opened Connection to DOMAIN1
SSPI Bind succeeded
Current Schema Version is 30
Upgrading schema to version 31
Connecting to "DOMAIN1"
Logging in as current user using SSPI
Importing directory from file "C:\WINDOWS\system32\sch31.ldf"
Loading
entries............................................................................................. ...............................................
139 entries modified successfully.

The command has completed successfully
Adprep successfully updated the forest-wide information.
-------------- END --------------

Returning back to the Server 2008 machine, and running the wizard again I
still get this error:

---------------------------
Active Directory Domain Services Installation Wizard
---------------------------
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 installation media in the
\sources\adprep folder.
---------------------------
OK
---------------------------

But I just did this. I only have one DC in the forest, so not sure what
else to do. I tried rebooting the Server 2008 machine, etc, and nothing
works.

Anybody know what I might be missing here?

Thanks!

Reply With Quote
  #2  
Old 17-03-2009
Frankster
 
Posts: n/a
Re: Windows Server 2008 and adprep /forestprep


"Agendum" <Agendum@discussions.microsoft.com> wrote in message
news:03470A35-BD83-477A-8F7F-4B3548ED279F@microsoft.com...
>I have a Windows Server 2003 R2 DC running a private forest. I have added
>a
> Windows Server 2008 machine to the domain and want to promote it as a DC
> in
> the existing forest. I added the Active Directory Domain Services role to
> the server, and rebooted. It asks me to run "Active Directory Domain
> Services Installation Wizard (dcpromo.exe)". As I step through this
> wizard,
> I get an error:
>
> ---------------------------
> Active Directory Domain Services Installation Wizard
> ---------------------------
> 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 installation media in the
> \sources\adprep folder.
> ---------------------------
> OK
> ---------------------------
>
> So I go to the media and run this command:
>
> -------------- BEGIN --------------
> Z:\sources\adprep>adprep /forestprep
> 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.
> -------------- END --------------
>
> Oops, looks like I was supposed to run this on the currently active DC.
> So
> I go over to the Server 2003 R2 DC and run adprep from it's media and it
> seemingly succeeds:
>
> -------------- BEGIN --------------
> Z:\CMPNENTS\R2\ADPREP>adprep /forestprep
>
> 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.
>
>
> c
> Opened Connection to DOMAIN1
> SSPI Bind succeeded
> Current Schema Version is 30
> Upgrading schema to version 31
> Connecting to "DOMAIN1"
> Logging in as current user using SSPI
> Importing directory from file "C:\WINDOWS\system32\sch31.ldf"
> Loading
> entries............................................................................................. ...............................................
> 139 entries modified successfully.
>
> The command has completed successfully
> Adprep successfully updated the forest-wide information.
> -------------- END --------------
>
> Returning back to the Server 2008 machine, and running the wizard again I
> still get this error:
>
> ---------------------------
> Active Directory Domain Services Installation Wizard
> ---------------------------
> 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 installation media in the
> \sources\adprep folder.
> ---------------------------
> OK
> ---------------------------
>
> But I just did this. I only have one DC in the forest, so not sure what
> else to do. I tried rebooting the Server 2008 machine, etc, and nothing
> works.
>
> Anybody know what I might be missing here?
>
> Thanks!


Did you run "adprep /domainprep" on the active DC? I would do this and
re-try the 2008 server.

-Frank

Reply With Quote
  #3  
Old 17-03-2009
Agendum
 
Posts: n/a
Re: Windows Server 2008 and adprep /forestprep

Thanks very much for the quick response... I just tried this and it didn't
have any effect on the existing DC, and the dialog still occurs on the 2008
machine:

-------------- BEGIN --------------
Z:\CMPNENTS\R2\ADPREP>adprep /domainprep
Running domainprep ...


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

"Frankster" wrote:

> Did you run "adprep /domainprep" on the active DC? I would do this and
> re-try the 2008 server.
>
> -Frank
>
>

Reply With Quote
  #4  
Old 17-03-2009
Agendum
 
Posts: n/a
Re: Windows Server 2008 and adprep /forestprep

Problem solved! I was running adprep on the DC from the Windows Server 2003
R2 media. Instead, I used the adprep on the Windows Server 2008 media on the
2003 DC and everything is now working.

Thanks!

"Agendum" wrote:

> Thanks very much for the quick response... I just tried this and it didn't
> have any effect on the existing DC, and the dialog still occurs on the 2008
> machine:
>
> -------------- BEGIN --------------
> Z:\CMPNENTS\R2\ADPREP>adprep /domainprep
> Running domainprep ...
>
>
> Domain-wide information has already been updated.
> [Status/Consequence]
> Adprep did not attempt to rerun this operation.
> -------------- END --------------
>
> "Frankster" wrote:
>
> > Did you run "adprep /domainprep" on the active DC? I would do this and
> > re-try the 2008 server.
> >
> > -Frank
> >
> >

Reply With Quote
  #5  
Old 17-03-2009
Meinolf Weber [MVP-DS]
 
Posts: n/a
Re: Windows Server 2008 and adprep /forestprep

Hello Agendum,

Adprep command has to run on the 2003 Schema master from the 2008 installation
disk. You have to run /forestprep, then /domainprep and just for the future
i would also run /rodcprep to prepare for RODC(read-only domain controllers).


Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> I have a Windows Server 2003 R2 DC running a private forest. I have
> added a Windows Server 2008 machine to the domain and want to promote
> it as a DC in the existing forest. I added the Active Directory
> Domain Services role to the server, and rebooted. It asks me to run
> "Active Directory Domain Services Installation Wizard (dcpromo.exe)".
> As I step through this wizard, I get an error:
>
> ---------------------------
> Active Directory Domain Services Installation Wizard
> ---------------------------
> 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 installation media in the
> \sources\adprep folder.
> ---------------------------
> OK
> ---------------------------
> So I go to the media and run this command:
>
> -------------- BEGIN --------------
> Z:\sources\adprep>adprep /forestprep
> 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.
> -------------- END --------------
> Oops, looks like I was supposed to run this on the currently active
> DC. So I go over to the Server 2003 R2 DC and run adprep from it's
> media and it seemingly succeeds:
>
> -------------- BEGIN --------------
> Z:\CMPNENTS\R2\ADPREP>adprep /forestprep
> 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.
> c
>
> Opened Connection to DOMAIN1
>
> SSPI Bind succeeded
>
> Current Schema Version is 30
>
> Upgrading schema to version 31
>
> Connecting to "DOMAIN1"
>
> Logging in as current user using SSPI
>
> Importing directory from file "C:\WINDOWS\system32\sch31.ldf"
>
> Loading
>
> entries...............................................................
> ......................................................................
> .......
>
> 139 entries modified successfully.
>
> The command has completed successfully
> Adprep successfully updated the forest-wide information.
> -------------- END --------------
> Returning back to the Server 2008 machine, and running the wizard
> again I still get this error:
>
> ---------------------------
> Active Directory Domain Services Installation Wizard
> ---------------------------
> 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 installation media in the
> \sources\adprep folder.
> ---------------------------
> OK
> ---------------------------
> But I just did this. I only have one DC in the forest, so not sure
> what else to do. I tried rebooting the Server 2008 machine, etc, and
> nothing works.
>
> Anybody know what I might be missing here?
>
> Thanks!
>



Reply With Quote
  #6  
Old 17-03-2009
SPAMCOP User
 
Posts: n/a
Re: Windows Server 2008 and adprep /forestprep

"Agendum" <Agendum@discussions.microsoft.com> wrote in message
news:134D5B75-9B6A-4334-BD56-2D6D5FB1A4B6@microsoft.com...
> Problem solved! I was running adprep on the DC from the Windows Server
> 2003
> R2 media. Instead, I used the adprep on the Windows Server 2008 media on
> the
> 2003 DC and everything is now working.
>
> Thanks!
>
> "Agendum" wrote:
>
>> Thanks very much for the quick response... I just tried this and it
>> didn't
>> have any effect on the existing DC, and the dialog still occurs on the
>> 2008
>> machine:
>>
>> -------------- BEGIN --------------
>> Z:\CMPNENTS\R2\ADPREP>adprep /domainprep
>> Running domainprep ...
>>
>>
>> Domain-wide information has already been updated.
>> [Status/Consequence]
>> Adprep did not attempt to rerun this operation.
>> -------------- END --------------
>>
>> "Frankster" wrote:
>>
>> > Did you run "adprep /domainprep" on the active DC? I would do this and
>> > re-try the 2008 server.
>> >
>> > -Frank
>> >
>> >




You have to run the adprep from the 2008 on the 2003 machine to bring the
schema upto the 2008 level

--
SPAMCOP User

Reply With Quote
  #7  
Old 26-10-2011
Member
 
Join Date: Oct 2011
Posts: 1
Re: Windows Server 2008 and adprep /forestprep

And what to do if i had a win2kserver and i did adprep /forestprep from win2003 cd? And now i need a Win2008 server in the domain what is saying run adprep /forestprep. I tried to run the adprep /forestprep from the 2008 server cd but its saying win2k AD is already updated....

What now?
Reply With Quote
  #8  
Old 27-10-2011
Member
 
Join Date: May 2011
Posts: 390
Re: Windows Server 2008 and adprep /forestprep

I will advise you to first have a look to the schema version on your service. If it is updated properly, you might need to wait for sometime till the replication work is done completely. Have a look on the below link to get complete details on the same. The another link consist of more info on Adprep parameters. You can try the same to get valid information.

How to find the current Schema Version

Adprep
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Windows Server 2008 and adprep /forestprep"
Thread Thread Starter Forum Replies Last Post
Adprep /forestprep - Run twice? dflint Windows Server Help 3 30-04-2010 11:07 PM
Windows Server 2008 adprep /forestprep error 112 stillajl Operating Systems 1 27-04-2010 10:50 AM
Adprep /forestprep error adrin Active Directory 5 11-09-2008 11:38 AM
ADPrep /forestprep failed 2000 to 2003 r2 Kelly Active Directory 5 10-09-2008 05:19 PM
ADPREP /forestprep failure - directory service busy MWave Windows Server Help 21 08-07-2008 03:55 PM


All times are GMT +5.5. The time now is 02:08 PM.