Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

Process Explorer

16.21.0.20170716

Package test results are passing.

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

This package was approved as a trusted package on 6/30/2018.

Ever wondered which program has a particular file or directory open? Now you can find out. Process Explorer shows you information about which handles and DLLs processes have opened or loaded.

The Process Explorer display consists of two sub-windows. The top window always shows a list of the currently active processes, including the names of their owning accounts, whereas the information displayed in the bottom window depends on the mode that Process Explorer is in: if it is in handle mode you'll see the handles that the process selected in the top window has opened; if Process Explorer is in DLL mode you'll see the DLLs and memory-mapped files that the process has loaded. Process Explorer also has a powerful search capability that will quickly show you which processes have particular handles opened or DLLs loaded.

The unique capabilities of Process Explorer make it useful for tracking down DLL-version problems or handle leaks, and provide insight into the way Windows and applications work.

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

C:\> choco install procexp

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

C:\> choco upgrade procexp

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
    
    # *** Automatically filled ***
    $packageArgs = @{
      packageName    = 'procexp'
      url            = 'https://download.sysinternals.com/files/ProcessExplorer.zip'
      unzipLocation  = $toolsDir
      checksum       = '9f32608a5f9ce2d2eb0fe9cdfe65ebc06f7c3c2b52d2b6b1bf3737af9a2d2bad'
      checksumType   = 'sha256'
      validExitCodes = @(0)
    }
    # *** Automatically filled ***
    
    Install-ChocolateyZipPackage @packageArgs
    
    @('procexp', 'procexp64') | % {
      New-Item (Join-Path $toolsDir "$_.exe.gui") -Type file -Force | Out-Null
    }
    
    New-Item 'HKCU:\SOFTWARE\Sysinternals\Process Explorer' -Force | New-ItemProperty -Name 'EulaAccepted' -Value 1 -Force | Out-Null
    
    $shortcutPath = Join-Path $([Environment]::GetFolderPath([System.Environment+SpecialFolder]::CommonPrograms)) 'Process Explorer.lnk'
    If (-not (Test-Path $shortcutPath)) {
      $targetPath = Join-Path $toolsDir $(If ([Environment]::Is64BitOperatingSystem) { 'procexp64.exe' } else { 'procexp.exe' })
      Install-ChocolateyShortcut -ShortcutFilePath $shortcutPath -TargetPath $targetPath
    }
    
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $sysinternalsPath = 'HKCU:\SOFTWARE\Sysinternals'
    $applicationName = 'Process Explorer'
    If (Test-Path $sysinternalsPath) {
      If (@(Get-ItemProperty $sysinternalsPath).Count -eq 0 -and @(Get-ChildItem $sysinternalsPath -Exclude $applicationName).Count -eq 0) {
        Remove-Item $sysinternalsPath -Recurse -Force
      } ElseIf (Test-Path "$sysinternalsPath\$applicationName") {
        Remove-Item "$sysinternalsPath\$applicationName" -Recurse -Force
      }
    }
    
    $shortcutPath = Join-Path $([Environment]::GetFolderPath([System.Environment+SpecialFolder]::CommonPrograms)) 'Process Explorer.lnk'
    If (Test-Path $shortcutPath) {
      Remove-Item $shortcutPath
    }
    

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.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Mark Russinovich

Copyright

Copyright © Mark Russinovich

Tags

Release Notes

Blog

Version History

Version Downloads Last updated Status
Process Explorer 16.21 25265 Wednesday, May 17, 2017 approved
Process Explorer 16.20.0.20170219 37293 Sunday, February 19, 2017 approved
Process Explorer 16.20 4562 Wednesday, February 1, 2017 approved
Process Explorer 16.12 198282 Tuesday, February 9, 2016 approved
Process Explorer 16.05 40967 Wednesday, March 11, 2015 approved
Process Explorer 16.04 257 Friday, February 27, 2015 approved
Process Explorer 15.13 28644 Monday, May 21, 2012 approved

Discussion for the Process Explorer Package

Ground rules:

  • This discussion is only about Process Explorer and the Process Explorer 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 Process Explorer, 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
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok