Nmap Silent Install (How-To Guide)

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

  1. Navigate to: https://nmap.org/dist/nmap-7.80-setup.exe
  2. Download the nmap-7.80-setup.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: nmap-7.80-setup.exe /S
  6. 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

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. 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.