Downloads:

5,230,469

Downloads of v 2021.12.16:

67,925

Last Update:

17 Dec 2021

Package Maintainer(s):

Software Author(s):

  • Mark Russinovich
  • Bryce Cogswell

Tags:

sysinternals troubleshooting pstools psexec file disk utilities freeware cli tools portable

Sysinternals

This is not the latest version of Sysinternals available.

  • 1
  • 2
  • 3

2021.12.16 | Updated: 17 Dec 2021

Downloads:

5,230,469

Downloads of v 2021.12.16:

67,925

Software Author(s):

  • Mark Russinovich
  • Bryce Cogswell

  • 1
  • 2
  • 3
Sysinternals 2021.12.16

This is not the latest version of Sysinternals available.

  • 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'" --version="'2021.12.16'" [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'" --version="'2021.12.16'" 
$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: '2021.12.16'
    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  '2021.12.16'
end

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


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

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


package { 'sysinternals':
  ensure   => '2021.12.16',
  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.

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

This package was approved as a trusted package on 17 Dec 2021.

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.

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       = '0228f32824749cb3740d1fa001847e50273c7f38d4ef70cb0ff020c803b81ab3'
  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 = '212b4328e207bcae1be888875e94bbbceb1fa07621831b46923d2b65ed541e37'
 }

$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",       "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 2022.2.16 108719 Thursday, February 17, 2022 Approved
Sysinternals 2022.1.27 47149 Friday, January 28, 2022 Approved
Sysinternals 2021.12.16 67925 Friday, December 17, 2021 Approved
Sysinternals 2021.10.26 83338 Wednesday, October 27, 2021 Approved
Sysinternals 2021.10.14 37769 Thursday, October 14, 2021 Approved
Sysinternals 2021.10.12 16875 Wednesday, October 13, 2021 Approved
Sysinternals 2021.9.30 38399 Thursday, September 30, 2021 Approved
Sysinternals 2021.9.22 31810 Thursday, September 23, 2021 Approved
Sysinternals 2021.9.1 49362 Wednesday, September 1, 2021 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