Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

6,265,947

Downloads of v 2023.3.30.20230331:

2,218

Last Update:

31 Mar 2023

Package Maintainer(s):

Software Author(s):

  • Mark Russinovich
  • Bryce Cogswell

Tags:

sysinternals troubleshooting pstools psexec file disk utilities freeware cli tools portable

Sysinternals

  • 1
  • 2
  • 3

2023.3.30.20230331 | Updated: 31 Mar 2023

Downloads:

6,265,947

Downloads of v 2023.3.30.20230331:

2,218

Maintainer(s):

Software Author(s):

  • Mark Russinovich
  • Bryce Cogswell

Sysinternals 2023.3.30.20230331

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

To uninstall Sysinternals, 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 https://community.chocolatey.org/api/v2/)


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 https://community.chocolatey.org/api/v2/. 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 sysinternals -y --source="'INTERNAL REPO URL'" [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 sysinternals -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install sysinternals
  win_chocolatey:
    name: sysinternals
    version: '2023.3.30.20230331'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'sysinternals' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2023.3.30.20230331'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller sysinternals
{
    Name     = "sysinternals"
    Version  = "2023.3.30.20230331"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'sysinternals':
  ensure   => '2023.3.30.20230331',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 31 Mar 2023.

Description

The Sysinternals Troubleshooting Utilities have been rolled up into a single suite of tools.
This file contains the individual troubleshooting tools and help files.
It does not contain non-troubleshooting tools like the BSOD Screen Saver or NotMyFault.

Package parameters

  • /InstallDir - Installation directory, by default Chocolatey tools directory.
  • /InstallationPath - the same as InstallDir

Example: choco install sysinternals --params "/InstallDir:C:\your\install\path"

Notes

  • This package supports only latest version.
  • This package by default installs to tools directory which will create shims for all applications. When you install to different directory, shims are not created but directory is added to the PATH.
  • This package downloads the nano edition of sysinternals suite when installing it on a nano server.
  • To have GUI for the tools, install nirlauncher package and use /Sysinternals package parameter.
  • If the package is out of date please check Version History for the latest submitted version. If you have a question, please ask it in Chocolatey Community Package Discussions or raise an issue on the Chocolatey Community Packages Repository if you have problems with the package. Disqus comments will generally not be responded to.

tools\chocolateyBeforeModify.ps1
$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
Write-Host "Closing processes from sysinternals  package installation directory"
Remove-Process -PathFilter ([regex]::escape('C:\ProgramData\chocolatey\lib\sysinternals\tools') + ".*") | Out-Null
tools\chocolateyInstall.ps1
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1

$pp = Get-PackageParameters
$installDir = $toolsPath
if ($pp.InstallDir -or $pp.InstallationPath ) { $InstallDir = $pp.InstallDir + $pp.InstallationPath }
Write-Host "Sysinternals Suite is going to be installed in '$installDir'"

$packageArgs = @{
  packageName    = 'sysinternals'
  url            = 'https://download.sysinternals.com/files/SysinternalsSuite.zip'
  checksum       = '3852a080b773e198b18cc25f6e3935eb935dc17d471aafcc9b09efa276d9992b'
  checksumType   = 'sha256'
  unzipLocation  = $installDir
}
Install-ChocolateyZipPackage @packageArgs
Accept-Eula
if ($installDir -ne $toolsPath) { Install-ChocolateyPath $installDir }
if (Is-NanoServer) {
  $packageArgs.url = 'https://download.sysinternals.com/files/SysinternalsSuite-Nano.zip'
  $packageArgs.checksum = '2a04f169c027a736896b94cd694971faf3726fd82dfcb810019c6ec493f0a9a4'
 }

$old_path = 'c:\sysinternals'
if ((Test-Path $old_path) -and ($installDir -ne $old_path)) {
    Write-Warning "Clean up older versions of this install at c:\sysinternals"
}
tools\helpers.ps1
function Accept-Eula() {

$tools = `
"AccessChk",        "Active Directory Explorer", "ADInsight",  "Autologon",       "AutoRuns",
"BGInfo",           "CacheSet",                  "ClockRes",   "Coreinfo",        "Ctrl2cap",
"DbgView",          "Desktops",                  "Disk2Vhd",   "Diskmon",         "DiskView",
"Du",               "EFSDump",                   "FindLinks",  "Handle",          "Hex2Dec",
"Junction",         "LdmDump",                   "ListDLLs",   "LoadOrder",       "Movefile",
"PageDefrag",       "PendMove",                  "PipeList",   "Portmon",         "ProcDump",
"Process Explorer", "Process Monitor",           "PsExec",     "psfile",          "PsGetSid",
"PsInfo",           "PsKill",                    "PsList",     "PsLoggedon",      "PsLoglist",
"PsPasswd",         "PsService",                 "PsShutdown", "PsSuspend",       "RamMap",
"RegDelNull",       "Regjump",                   "Regsize",    "RootkitRevealer", "Share Enum",
"ShellRunas - Sysinternals: www.sysinternals.com",
"EulaAccepted",       "SigCheck",                "Streams",    "Strings",         "Sync",
"System Monitor",   "TCPView",                   "VMMap",      "VolumeID",        "Whois",
"Winobj",           "ZoomIt"

    $root_path = "HKCU:\SOFTWARE\Sysinternals"
    mkdir "$root_path" -ea 0 | Out-Null
    foreach($tool in $tools) {
        mkdir "$root_path\$tool" -ea 0 | Out-Null
        New-ItemProperty -Path "$root_path\$tool" -Name EulaAccepted -Value 1 -Force | Out-Null
    }

    $vt = "$root_path\SigCheck\VirusTotal"
    mkdir $vt -ea 0 | Out-Null
    New-ItemProperty -Path $vt -Name VirusTotalTermsAccepted -Value 1 -Force | Out-Null
}

function Is-NanoServer() {
  # This would be true for both nano servers, and IoT devices.
  if ($PSVersionTable.PSEdition -ne 'Core') { return $false }

  # 143 = Datacenter nano server
  # 144 = Standard nano server
  $sku = (Get-CimInstance -ClassName Win32_OperatingSystem).OperatingSystemSKU
  return ($sku -eq 143) -or ($sku -eq 144);
}

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
Sysinternals 2023.3.30 83723 Thursday, March 30, 2023 Approved
Sysinternals 2023.3.9 65260 Friday, March 10, 2023 Approved
Sysinternals 2023.1.25 78068 Thursday, January 26, 2023 Approved
Sysinternals 2022.11.28 94580 Monday, November 28, 2022 Approved
Sysinternals 2022.11.11 48434 Friday, November 11, 2022 Approved
Sysinternals 2022.11.3 41740 Thursday, November 3, 2022 Approved
Sysinternals 2022.10.26 43474 Thursday, October 27, 2022 Approved
Sysinternals 2022.10.14 47186 Friday, October 14, 2022 Approved
Sysinternals 2022.10.12 263388 Thursday, October 13, 2022 Approved
Sysinternals 2022.9.29 73478 Friday, September 30, 2022 Approved
Sysinternals 2022.8.16 80697 Tuesday, August 16, 2022 Approved
Sysinternals 2022.7.30 44204 Saturday, July 30, 2022 Approved
Sysinternals 2022.7.29 14311 Friday, July 29, 2022 Approved
Sysinternals 2022.7.19 35231 Tuesday, July 19, 2022 Approved
Sysinternals 2022.5.11 91841 Wednesday, May 11, 2022 Approved
Sysinternals 2022.2.16 109027 Thursday, February 17, 2022 Approved
Sysinternals 2022.1.27 47167 Friday, January 28, 2022 Approved
Sysinternals 2021.12.16 68028 Friday, December 17, 2021 Approved
Sysinternals 2021.10.26 83430 Wednesday, October 27, 2021 Approved
Sysinternals 2021.10.14 37792 Thursday, October 14, 2021 Approved
Sysinternals 2021.10.12 16891 Wednesday, October 13, 2021 Approved
Sysinternals 2021.9.30 38423 Thursday, September 30, 2021 Approved
Sysinternals 2021.9.22 31825 Thursday, September 23, 2021 Approved
Sysinternals 2021.9.1 49385 Wednesday, September 1, 2021 Approved
Sysinternals 2021.8.18 35641 Wednesday, August 18, 2021 Approved
Sysinternals 2021.7.27 86927 Tuesday, July 27, 2021 Approved
Sysinternals 2021.6.24 98785 Thursday, June 24, 2021 Approved
Sysinternals 2021.6.23 14855 Wednesday, June 23, 2021 Approved
Sysinternals 2021.6.22 20145 Tuesday, June 22, 2021 Approved
Sysinternals 2021.6.1 48510 Tuesday, June 1, 2021 Approved
Sysinternals 2021.5.26 25441 Wednesday, May 26, 2021 Approved
Sysinternals 2021.5.25 14563 Tuesday, May 25, 2021 Approved
Sysinternals 2021.4.23 92857 Friday, April 23, 2021 Approved
Sysinternals 2021.4.21 22249 Wednesday, April 21, 2021 Approved
Sysinternals 2021.3.23 123636 Wednesday, March 24, 2021 Approved
Sysinternals 2021.3.1 66368 Tuesday, March 2, 2021 Approved
Sysinternals 2021.2.22 21763 Thursday, February 25, 2021 Approved
Sysinternals 2021.1.19 67318 Wednesday, January 20, 2021 Approved
Sysinternals 2021.1.15 21943 Friday, January 15, 2021 Approved
Sysinternals 2021.1.12 15971 Wednesday, January 13, 2021 Approved
Sysinternals 2021.1.11 17136 Monday, January 11, 2021 Approved
Sysinternals 2020.11.25 69982 Wednesday, November 25, 2020 Approved
Sysinternals 2020.11.4 51250 Thursday, November 5, 2020 Approved
Sysinternals 2020.10.15 49887 Friday, October 16, 2020 Approved
Sysinternals 2020.9.18 91284 Friday, September 18, 2020 Approved
Sysinternals 2020.9.17 8962 Thursday, September 17, 2020 Approved
Sysinternals 2020.7.15 87149 Wednesday, July 15, 2020 Approved
Sysinternals 2020.6.24 37694 Wednesday, June 24, 2020 Approved
Sysinternals 2020.4.28 93202 Wednesday, April 29, 2020 Approved
Sysinternals 2019.12.19 278461 Thursday, December 19, 2019 Approved
Sysinternals 2019.12.11 42196 Thursday, December 12, 2019 Approved
Sysinternals 2019.9.23 466011 Monday, September 23, 2019 Approved
Sysinternals 2019.9.16 21841 Monday, September 16, 2019 Approved
Sysinternals 2019.9.5 38155 Friday, September 6, 2019 Approved
Sysinternals 2019.6.29.20190904 13722 Wednesday, September 4, 2019 Approved
Sysinternals 2019.6.29 183999 Saturday, June 29, 2019 Approved
Sysinternals 2019.6.14 26304 Friday, June 14, 2019 Approved
Sysinternals 2019.6.12 10181 Thursday, June 13, 2019 Approved
Sysinternals 2019.6.11 10293 Wednesday, June 12, 2019 Approved
Sysinternals 2019.6.5 24699 Wednesday, June 5, 2019 Approved
Sysinternals 2019.4.23 74602 Tuesday, April 23, 2019 Approved
Sysinternals 2019.4.4 56998 Thursday, April 4, 2019 Approved
Sysinternals 2019.3.26 28055 Tuesday, March 26, 2019 Approved
Sysinternals 2019.3.18 25138 Monday, March 18, 2019 Approved
Sysinternals 2019.3.5 31347 Tuesday, March 5, 2019 Approved
Sysinternals 2019.2.19 30048 Tuesday, February 19, 2019 Approved
Sysinternals 2018.12.27 152940 Friday, December 28, 2018 Approved
Sysinternals 2018.12.18 12563 Wednesday, December 19, 2018 Approved
Sysinternals 2018.12.14 10100 Saturday, December 15, 2018 Approved
Sysinternals 2018.12.13 6555 Friday, December 14, 2018 Approved
Sysinternals 2018.10.16 56208 Wednesday, October 17, 2018 Approved
Sysinternals 2018.8.8 58719 Wednesday, August 8, 2018 Approved
Sysinternals 2018.7.19 23172 Friday, July 20, 2018 Approved
Sysinternals 2018.7.5 19025 Friday, July 6, 2018 Approved
Sysinternals 2018.5.31 36991 Friday, June 1, 2018 Approved
Sysinternals 2018.5.14 25282 Monday, May 14, 2018 Approved
Sysinternals 2018.4.30 23976 Monday, April 30, 2018 Approved
Sysinternals 2018.2.13 89437 Wednesday, February 14, 2018 Approved
Sysinternals 2018.2.11 7952 Monday, February 12, 2018 Approved
Sysinternals 2018.1.18 28262 Friday, January 19, 2018 Approved
Sysinternals 2018.1.5 18875 Saturday, January 6, 2018 Approved
Sysinternals 2018.1.2 9927 Wednesday, January 3, 2018 Approved
Sysinternals 2017.12.31 6760 Sunday, December 31, 2017 Approved
Sysinternals 2017.12.21 13780 Thursday, December 21, 2017 Approved
Sysinternals 2017.12.13 14492 Wednesday, December 13, 2017 Approved
Sysinternals 2017.12.12 398210 Wednesday, December 13, 2017 Approved
Sysinternals 2017.11.21 409718 Tuesday, November 21, 2017 Approved
Sysinternals 2017.9.12 61541 Tuesday, September 12, 2017 Approved
Sysinternals 2017.9.11 4881 Tuesday, September 12, 2017 Approved
Sysinternals 2017.6.30 57464 Friday, June 30, 2017 Approved
Sysinternals 2017.6.14 18273 Wednesday, June 14, 2017 Approved
Sysinternals 2017.5.22.20170609 10445 Friday, June 9, 2017 Approved
Sysinternals 2017.05.22 19016 Monday, May 22, 2017 Approved
Sysinternals 2017.5.16.20170518 8384 Thursday, May 18, 2017 Approved
Sysinternals 2017.05.16 8316 Tuesday, May 16, 2017 Approved
Sysinternals 2017.2.17.20170317 44323 Friday, March 17, 2017 Approved
Sysinternals 2017.02.17 29287 Friday, February 17, 2017 Approved
Sysinternals 2016.11.18 56614 Wednesday, November 23, 2016 Approved
Sysinternals 2016.08.29 62218 Wednesday, August 31, 2016 Approved
Sysinternals 2016.07.29 25361 Wednesday, August 3, 2016 Approved
Sysinternals 2016.07.04 9372 Sunday, July 17, 2016 Approved
Sysinternals 2016.04.28 474 Sunday, May 8, 2016 Approved
Sysinternals 2016.02.02 22367 Friday, February 5, 2016 Approved
Sysinternals 2016.01.04.20160120 8104 Wednesday, January 20, 2016 Approved
Sysinternals 2016.01.04 4592 Wednesday, January 13, 2016 Approved
Sysinternals 2015.10.26 16258 Wednesday, October 28, 2015 Approved
Sysinternals 2015.07.20 20046 Tuesday, July 21, 2015 Approved
Sysinternals 2015.05.31 9410 Sunday, May 31, 2015 Approved
Sysinternals 2015.05.26 1925 Wednesday, May 27, 2015 Approved
Sysinternals 2015.04.20 7701 Tuesday, April 21, 2015 Approved
Sysinternals 2015.03.10 7280 Friday, March 13, 2015 Approved
Sysinternals 2015.01.29 7210 Friday, January 30, 2015 Approved
Sysinternals 2015.01.19 469 Tuesday, January 20, 2015 Approved
Sysinternals 2014.09.11 14495 Saturday, September 13, 2014 Approved
Sysinternals 2014.08.18 3340 Wednesday, August 20, 2014 Approved
Sysinternals 2014.08.05 2016 Saturday, August 9, 2014 Approved
Sysinternals 2014.05.13 38421 Wednesday, May 14, 2014 Approved
Sysinternals 2014.03.07 5524 Saturday, March 8, 2014 Approved
Sysinternals 2014.02.04 2372 Wednesday, February 5, 2014 Approved
Sysinternals 2014.01.29 953 Thursday, January 30, 2014 Approved
Sysinternals 2014.01.21 1015 Wednesday, January 22, 2014 Approved
Sysinternals 2013.12.19.20140121 626 Tuesday, January 21, 2014 Approved
Sysinternals 2013.12.19 1631 Wednesday, January 1, 2014 Approved
Sysinternals 2013.11.01 2376 Saturday, November 2, 2013 Approved
Sysinternals 2013.08.01.20130912 1890 Thursday, September 12, 2013 Approved
Sysinternals 2013.08.01 648 Tuesday, September 10, 2013 Approved
Sysinternals 1.2012.05.14 6870 Tuesday, May 15, 2012 Approved
Sysinternals 1.2012.03.23 698 Monday, April 9, 2012 Approved
Sysinternals 1.2012.2.3 768 Friday, February 3, 2012 Approved
Sysinternals 1.2011.12.15 607 Saturday, December 17, 2011 Approved
Sysinternals 1.0.0.2 717 Tuesday, August 23, 2011 Approved
Sysinternals 1.0.0.1 569 Tuesday, August 23, 2011 Approved
Sysinternals 1.0 767 Tuesday, August 23, 2011 Approved
Discussion for the Sysinternals Package

Ground Rules:

  • This discussion is only about Sysinternals and the Sysinternals 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 Sysinternals, 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