Solved

adprep.exe is not a valid Win32 application

Posted on 2015-01-08
7
452 Views
Last Modified: 2015-01-09
Hello,
We upgrading 2003 DCs to 2012 DCs. I was getting this error when running adprep from 2k3 DC server:
adprep.exe is not a valid Win32 application. All our DCs are 2003 servers

I was using 2012 DVD. Anyway, I found a workaround to run adprep on member server which is 2008 R2 and it worked!!! I am wondering if I need to run adprep /domainprep /gpprep on the Infrustructure master?? MS says that you have to but it also says that you have to run forestprep on the schema master and I didn’t have to run on the schema master as long as server was on the same domain as schema master.

Please advise if I can run adprep /domainprep /gpprep on the member 2008 server in the same domain that is NOT an infrastructure master.

Otherwise please let me know how to make this error disappear.
0
Comment
Question by:creative555
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 58

Expert Comment

by:Cliff Galiher
ID: 40539198
Just run the wizard for ADDS in server manager after installing the role. It will detect all schema versions, contact the right servers, and upgrade them as requires. Manually running adprep is not required at all in 2012. Letting the wizard decide which server(s)to contact and run against against is safer and easier. It'd have avoided the 32 bit adprep issue that you already worked around as well.
0
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 40539325
adprep.exe is a 64bit applicaiton, you need to run adprep32.exe
0
 
LVL 3

Expert Comment

by:kola12
ID: 40539562
You should run adprep32.exe for 32 bit environment.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 58

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 40539702
Adprep32.exe does not exist on 2012 media and has officially been deprecated. That is documented here:

http://technet.microsoft.com/en-us/library/hh994618.aspx#BKMK_DeprecatedFeatures

Advising to run it for a 2012 upgrade is not a good idea.
0
 

Author Comment

by:creative555
ID: 40540521
I absolutely agreee with Cliff regarding adprep32. besides it doesn't even work. I ran 64 bit ADPrep from just member server and confirm that everything worked and was updated. thanks so much for confirming it! So, we dont need to run it from schema master or infrastructure master, just as long as the server 2008 or higher.
0
 
LVL 33

Expert Comment

by:it_saige
ID: 40540661
@creative555 - As I told you in your other question.  You can add the Active Directory Domain Services role to the 2012 server, run the wizard and you have no fuss, no muss.  If you ran ADPREP on your 2008 server from the 2008 media, you will not be at the correct level for a Windows Server 2012 domain controller.  Read what Cliff told you earlier:
Just run the wizard for ADDS in server manager after installing the role. It will detect all schema versions, contact the right servers, and upgrade them as requires. Manually running adprep is not required at all in 2012.
And what Cliff told you just now.
Adprep32.exe does not exist on 2012 media and has officially been deprecated.
This means that you do not manually run ADPREP when you add a 2012 Domain Controller (the process of promoting a domain controller, does this for you automatically).

However, if you are adding a 2008/2008R2 Domain Controller, and have the incorrect schema version, then you do *need* to manually run ADPREP as instructed by Microsoft.

As I posted in your other question, to verify your schema version, from powershell run the following command:
Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion

Open in new window

You can validate your schema version against this list of versions:

69 = Windows Server 2012 R2
56 = Windows Server 2012
47 = Windows Server 2008 R2
44 = Windows Server 2008
31 = Windows Server 2003 R2
30 = Windows Server 2003
13 = Windows 2000

-saige-
0
 

Author Closing Comment

by:creative555
ID: 40540833
THank you so much! Great Answer
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question