Notices: This section not yet converted to new layout. Download stats are rolling back out.



Package test results are passing.

This package was approved as a trusted package on 6/23/2019.

NirCmd is a small command-line utility that allows you to do some useful tasks without displaying any user interface. By running NirCmd with simple command-line option, you can write and delete values and keys in the Registry, write values into INI file, dial to your internet account or connect to a VPN network, restart windows or shut down the computer, create shortcut to a file, change the created/modified date of a file, change your display settings, turn off your monitor, open the door of your CD-ROM drive, and more ...

To install NirCmd, run the following command from the command line or from PowerShell:

C:\> choco install nircmd

To upgrade NirCmd, run the following command from the command line or from PowerShell:

C:\> choco upgrade nircmd


  • legal\License.txt Show
    This utilities package is released as freeware, which means that you can freely use it at your home or in your company.
    The only exception is NK2Edit utility, which requires to purchase a commercial license if you use it in a company/business organization.
    Disclaimer: The software package is provided "AS IS" without any warranty, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason.
  • legal\redistribution.pdf
  • legal\VERIFICATION.txt Show
    Verification is intended to assist the Chocolatey moderators and community
    in verifying that this package's contents are trustworthy.
    Package can be verified like this:
    1. Go to to download the zip file:
    2. You can use one of the following methods to obtain the SHA256 checksum:
       - Use powershell function 'Get-FileHash'
       - Use Chocolatey utility 'checksum.exe'
       checksum32: C85E02AE99E30AC722D034A0801A190D3C59F2A002F31128A2F7BE8E838312EB
       checksum64: 8D9E3CB545CAC663E3C74F928515C2DD10E80D6B0ED09D5C987F94AB596F0C04
    File 'redistribution.pdf' presents written approval from Nir Softer that allows software
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $toolsPath = Split-Path $MyInvocation.MyCommand.Definition
    $packageArgs = @{
      PackageName    = 'nircmd'
      FileFullPath   = Get-Item $toolsPath\*
      FileFullPath64 = Get-Item $toolsPath\*
      Destination    = $toolsPath
    Get-ChildItem $toolsPath\* | Where-Object { $_.PSISContainer } | Remove-Item -Recurse -Force #remove older package dirs
    Get-ChocolateyUnzip @packageArgs
    Remove-Item $toolsPath\*.zip -ea 0
  • tools\ Show
    md5: 351B675CD8E814F424D3A8377B433B17 | sha1: CF79EFCE8199D443D77FDA4D41DB02819A0A77FD | sha256: 8D9E3CB545CAC663E3C74F928515C2DD10E80D6B0ED09D5C987F94AB596F0C04 | sha512: 54A115F4180CCAB31F543C9565257FFDEB22B2B903FC2AE3DCEEF0343FCAEFA862D0CC119630CE53B2682E086F4D45186FACF9460DE59145BBD5AED264108017
  • tools\ Show
    md5: 40D4740A183A14B882D27E268D50DF39 | sha1: 5C5FC552C4139EC240D8C7312B85038AF20A42B8 | sha256: C85E02AE99E30AC722D034A0801A190D3C59F2A002F31128A2F7BE8E838312EB | sha512: 61328965109E26C54580103E799E09EE31A4B9D034528CE24EA6CC2D78AAAA739ACDCEE39CE3A92010846482E66376F45127FE4A0D843544A1AD63C2DAC33085

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Nir Sofer


Nir Sofer


Version History

Version Downloads Last updated Status
NirCmd 2.83 1844 Friday, April 19, 2019 approved
NirCmd 2.82 1097 Monday, April 1, 2019 approved
NirCmd 6738 Wednesday, November 8, 2017 approved
NirCmd 251 Monday, November 6, 2017 approved
NirCmd 5435 Monday, November 7, 2016 approved
NirCmd 2.81 1107 Monday, May 23, 2016 approved
NirCmd 2.75 2036 Monday, August 12, 2013  
NirCmd 323 Tuesday, July 9, 2013  
Show More

Discussion for the NirCmd Package

Ground rules:

  • This discussion is only about NirCmd and the NirCmd package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or NirCmd, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.