Nmap Portable

Sometimes you may have to run nmap from a Windows machine without installing anything.
It's possible to build a portable version of nmap that is somewhat limited (no winpcap), but still usable for a quick port scan.

First you'll need to build the portable package: use a windows machine where you have administrative access.
Download the Nmap windows binary file from here.
Install and run it at least one time to make sure all the DLLs were correctly extracted.
Now you'll have to manually put DLL from the MS VC Runtime in the same directory of nmap.

You'll need:
  • Microsoft.VC90.CRT.manifest
  • msvcp90.dll
  • msvcr90.dll
  • msvcp100.dll
  • msvcr100.dll
They may be in some unusual places like C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5570_none_509463cabcb6ef2aCopy them in the same directory of nmap.exe.

Now copy the whole nmap installation directory on an USB key, and you'll be able to run it from another machine without installing.


  1. Anonymous2/10/13 15:25

    does not work

    1. Maybe you can argue a little more?

    2. works for me, thanks Alessandro. Anon, make sure you get all the files mentioned in the Nmap directory.

  2. Anonymous1/1/15 15:26

    I know its a bit old, but do I need to do this for each Windows versions? (ie: XP, Vista, Win7, Win8, etc)? or will one size fit all?

    1. I prepared the package on an XP and it worked on 2000 and 2003