Error when you run the IdFix tool: IdFix.exe is not a valid Win32 application

Original product version:   Cloud Services (Web roles/Worker roles), Azure Active Directory, Microsoft Intune, Azure Backup, Office 365 Identity Management
Original KB number:   2859165

Symptoms

When you try to run the IdFix DirSync Error Remediation Tool in your on-premises Active Directory Domain Services (AD DS) environment, you receive the following error message:

IdFix.exe is not a valid Win32 application

Cause

This issue occurs if you're running the IdFix tool on an operating system that's not supported for the tool.

Resolution

Install and run the IdFix tool on a computer that's running the 64-bit version of Windows 7 or a later version.

More information

For more information about the IdFix tool, see IdFix DirSync Error Remediation Tool (This includes a list of system requirements.).

Still need help? Go to Microsoft Community or the Azure Active Directory Forums website.