Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Adprep "not a valid Win32 application" error on Windows Server 2003, 64-bit version


View products that this article applies to.

Symptoms

When you run the Adprep.exe that is included with Windows Server 2012 on a 64-bit version of Windows Server 2003, you receive an error that resembles the following:
d:\support\adprep\adprep.exe is not a valid Win32 application.

↑ Back to the top


Cause

You cannot run the Adprep.exe that is included with Windows Server 2012 on Windows Server 2003.

↑ Back to the top


More information

The Adprep.exe that is included with Windows Server 2012 supports remote updates of the forest and domain. There is no longer any requirement to run Adprep.exe on the existing Schema Master or Infrastructure Master domain controllers.

To update your domain, follow these steps:
  1. Install Windows Server 2012.
  2. Run the Adprep.exe that is included on the Windows Server 2012 installation media in the following location:
    \support\adprep
  3. Use the arguments that you tried to use when you encountered the error that is described in the "Symptoms" section. For example, use the following arguments:
    • /forestprep
    • /domainprep
    • /rodcprep
    • /gpprep

Windows Server 2012 Adprep.exe also removes the requirement to join a domain. You can use the /Forest, /Domain, /Userdomain, and /Password arguments to remotely update forests and domains even from a workgroup as long as you have the correct Domain Name System (DNS) name resolution. Also, just installing and configuring the first Windows Server 2012 domain controller into a forest runs the preparation process automatically, and in this scenario, you do not have to use adprep.exe.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


Keywords: KB2743367

↑ Back to the top

Article Info
Article ID : 2743367
Revision : 5
Created on : 10/1/2012
Published on : 10/1/2012
Exists online : False
Views : 429