IDA Freeware is a free binary code analysis tool to kickstart your reverse engineering experience. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of IDA Freeware from the command line using the EXE installer.
How to Install IDA Freeware Silently
IDA Freeware Silent Install (EXE)
- Navigate to: https://hex-rays.com/ida-free/#download
- Download the idafreeXX_windows.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
idafreeXX_windows.exe --unattendedmodeui none --mode unattended |
After a few moments you should see the IDA Freeware Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | IDA Freeware |
Vendor: | Hex-Rays SA |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | idafreeXX_windows.exe --unattendedmodeui none --mode unattended |
Silent Uninstall Switch: | "%ProgramFiles%\IDA Freeware x.x\uninstall.exe" --unattendedmodeui none --mode unattended |
Download Link: | https://hex-rays.com/ida-free/#download |
PowerShell Script: | https://silentinstallhq.com/ida-freeware-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-ida-freeware-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Change the IDA Freeware Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing IDA Freeware to “C:\IDA Freeware”
idafreeXX_windows.exe --prefix "C:\IDA Freeware" --unattendedmodeui none --mode unattended |
Suppress the IDA License Agreement
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter the following command once for each user:
REG ADD "HKCU\Software\Hex-Rays\IDA" /v "License Freeware version" /t REG_DWORD /d "1" /f |
Suppress the IDA User Interface Telemetry Prompt
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter the following command once for each user:
REG ADD "HKCU\Software\Hex-Rays\IDA" /v "TlmConsent" /t REG_DWORD /d "0" /f |
Suppress the IDA Quick Start Prompt
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter the following command once for each user:
REG ADD "HKCU\Software\Hex-Rays\IDA" /v "DisplayWelcome" /t REG_DWORD /d "0" /f |
How to Uninstall IDA Freeware Silently
Check out the following posts for a scripted solution:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter the following command:
IDA Freeware Silent Uninstall (EXE)
"%ProgramFiles%\IDA Freeware x.x\uninstall.exe" --unattendedmodeui none --mode unattended |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.