Downloads of v 2.82:


Last Update:

01 Apr 2019

Package Maintainer(s):

Software Author(s):

  • Nir Sofer


nircmd utility freeware cli automation nirsoft


This is not the latest version of NirCmd available.

  • 1
  • 2
  • 3

2.82 | Updated: 01 Apr 2019



Downloads of v 2.82:


Software Author(s):

  • Nir Sofer

  • 1
  • 2
  • 3
NirCmd 2.82

This is not the latest version of NirCmd available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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


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


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


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade nircmd -y --source="'INTERNAL REPO URL'" --version="'2.82'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade nircmd -y --source="'INTERNAL REPO URL'" --version="'2.82'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install nircmd
    name: nircmd
    version: '2.82'
    state: present

See docs at

chocolatey_package 'nircmd' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.82'

See docs at

cChocoPackageInstaller nircmd
    Name     = "nircmd"
    Version  = "2.82"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'nircmd':
  ensure   => '2.82',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 01 Apr 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 ...

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.

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: 8B83F1D957F98F515F7274BDD6EDB1287A5557C1E89B96EDD17D308B36ED21E3
   checksum64: 7F28BF4DC418ECC1368F28FF83C3A7C6AC816468501AF9EFD585FC5ABEC991AA

File 'redistribution.pdf' presents written approval from Nir Softer that allows software
$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

md5: 81D263962EED8424ABAE3AE7C1687128 | sha1: FC5E2575F29A7DE5125D8E97E21F7AE93C18BEF5 | sha256: 7F28BF4DC418ECC1368F28FF83C3A7C6AC816468501AF9EFD585FC5ABEC991AA | sha512: B741B094A42D99616F655A3534DE04A5A895315C6803AD32D3596918DD07546039655838131E4E8F4147EC0ADF6F9D23CE3A71F7BAE1F1B33DAAC428E1819EC8
md5: 7AD7CF1131697BC072150FFD42DB25CD | sha1: 03B38CBEC454936A76119068ED695C0924A9DF62 | sha256: 8B83F1D957F98F515F7274BDD6EDB1287A5557C1E89B96EDD17D308B36ED21E3 | sha512: F466D07F354AAF8D657D4D421A4380864FB20B4BC342B4B830977D08B5A1593A275F0127DF85E81C5E74F9A957BA95E0F914A0F703A5EEC094E1DC1C5DC06E52

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
NirCmd 2.85 1796 Sunday, June 23, 2019 Approved
NirCmd 2.83 1992 Friday, April 19, 2019 Approved
NirCmd 2.82 1242 Monday, April 1, 2019 Approved
NirCmd 7048 Wednesday, November 8, 2017 Approved
NirCmd 403 Monday, November 6, 2017 Approved
NirCmd 5568 Monday, November 7, 2016 Approved
NirCmd 2.81 1241 Monday, May 23, 2016 Approved
NirCmd 2.75 2201 Monday, August 12, 2013 Unknown
NirCmd 476 Tuesday, July 9, 2013 Unknown
NirCmd 2.71 492 Tuesday, July 9, 2013 Unknown

This package has no dependencies.

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