Avatar of BetfairRomania
BetfairRomania
 asked on

Active Directory migration

Hi,
I have an active directory on Windows Server 2003 R2  32bit which want to migrate on Windows Server 2008 R2.
Active directory details on Windows Server 2003 R2:
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters]
  "System Schema Version"= 31
- Windows Server 2003 R2 CD Drive :\CMPNENTS\R2\ADPREP\adprep.exe /forestprep  
- Windows Server 2003 R2 CDDrive :\CMPNENTS\R2\ADPREP\adprep.exe /domainprep
- account used member of Domain Enterprise and Schema Admins
Windows Server 2008 R2 server:
- new server installed with Windows server 2008 R2
- added to the existing active directory
- added DNS role
- run dcpromo
- option used is: existing forest add a domain controller to an existing domain
- on step Select a domain for this additional domain controller I receive this error:
  " To install a domain controller into this Active Directory forest, you must first prepare the forest using "adprep /forestprep". The Adprep utilitty is available on the Windows Server 2008 R2 installation media in the\support\adprep folder."

If I try to run adprep\forestprep on Windows Server 2003 R2 active directory I receive this message " The image file file ...\adprep.exe is valid, but is for a machine type other than the current machine."

Can someone help me with this.
Thank you.
 
Windows Server 2008Windows Server 2003

Avatar of undefined
Last Comment
Darius Ghassem

8/22/2022 - Mon
Raheem05

Hello,

As you are using a 64bit OS you can not use the adprep from the windows 2008 r2 CD instead you need to download the 32bit CD and use the adprep tools on there see:

http://www.petri.co.il/windows-server-2008-adprep.htm

Toni Uranjek

Hello BetfairRomania,

Run adprep32.exe /forestprep from the same folder.

HTH

Toni
Darius Ghassem

I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
BetfairRomania

ASKER
Hi,
I fallowed all this links.
Successfully run adprep /forestprep and adprep /domainprep on existing DC (Windows Server 2003 R2).
I rebooted both machines existing DC Windows Server 2003 R2 and Windows Server 2008 R2.
I checked to see if existing DC is in Global Catalog servers.
When i run dcpromo on Windows Server 2008 R2 i receive this message again:  " To install a domain controller into this Active Directory forest, you must first prepare the forest using "adprep /forestprep". The Adprep utilitty is available on the Windows Server 2008 R2 installation media in the\support\adprep folder."
thank you.
Toni Uranjek

Which adprep (from which CD/DVD) did you run?

Run the following command on your DC (FSMO holder):
"dsquery * cn=schema,cn=configuration,dc=domainname,dc=local -scope base -attr objectVersion"

Which number is returned?
BetfairRomania

ASKER
Hi toniur,
i used adprep from Windows Server 2008 32bit.
Returned number from dsquery is 44
thank you
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Toni Uranjek

You have to use adprep32.exe from Windows 2008 R2. When you're done, schema version will be 47 and you will be able to install AD on W2K8 R2 server.
BetfairRomania

ASKER
If I try to run adprep\forestprep on Windows Server 2003 R2 active directory I receive this message " The image file file ...\adprep.exe is valid, but is for a machine type other than the current machine."
ASKER CERTIFIED SOLUTION
Toni Uranjek

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.