Nmap is a free and open-source network scanner. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Nmap from the command line using the EXE installer.
How to Install Nmap Silently
Nmap 7.80 Silent Install (EXE)
Update: The Silent Install Command-Line Option Has Been Removed As Of Version 7.90
See https://nmap.org/changelog.html#7.90 for further details
- Navigate to: https://nmap.org/dist/nmap-7.80-setup.exe
- Download the nmap-7.80-setup.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: nmap-7.80-setup.exe /S
- Press Enter
After a few moments you will find entries for Nmap in the Installation Directory and Programs and Features in the Control Panel.
Software Title: | Nmap |
Vendor: | Nmap Project |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | nmap-7.80-setup.exe /S |
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\Nmap\uninstall.exe" /S |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles(x86)%\Nmap\uninstall.exe" /S |
Download Link: | https://nmap.org/dist/nmap-7.80-setup.exe |
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.
How to Uninstall Nmap Silently
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following sets of commands:
Nmap Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\Nmap\uninstall.exe" /S |
"%ProgramFiles%\Npcap\uninstall.exe" /S |
Nmap Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\Nmap\uninstall.exe" /S |
"%ProgramFiles%\Npcap\uninstall.exe" /S |
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.