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



Package test results have failed.

This package was approved by moderator ferventcoder on 12/28/2015.

LSASecretsView is a small utility that displays the list of all LSA secrets stored in the Registry on your computer.

The LSA secrets key is located under HKEYLOCALMACHINE\Security\Policy\Secrets and may contain your RAS/VPN passwords, Autologon password, and other system passwords/keys.

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

C:\> choco install lsasecretsview

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

C:\> choco upgrade lsasecretsview


  • tools\chocolateyInstall.ps1 Show
    $packageName = 'lsasecretsview'
    $url = ''
    $checksum = '62aa19e9aa4bbf6b1a0104d71ea2b4d450162287'
    $checksumType = 'sha1'
    $url64 = ''
    $checksum64 = 'cde2e9a0c8fdd9ede970fdf07bc8570426fe6107'
    $checksumType64 = 'sha1'
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $installFile = Join-Path $toolsDir "$($packageName).exe"
    $chocTempDir = Join-Path $Env:Temp "chocolatey"
    $tempDir = Join-Path $chocTempDir "$packageName"
    if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir) | Out-Null}
    $zipFile = Join-Path $tempDir "$($packageName).zip"
    $url32bit = $url
    $checksum32 = $checksum
    $checksumType32 = $checksumType
    $bitWidth = 32
    if (Get-ProcessorBits 64) {
      $bitWidth = 64
    Write-Debug "CPU is $bitWidth bit"
    $bitPackage = 32
    if ($bitWidth -eq 64 -and $url64 -ne $null -and $url64 -ne '') {
      Write-Debug "Setting url to '$url64' and bitPackage to $bitWidth"
      $bitPackage = $bitWidth
      $url = $url64
      # only set if urls are different
      if ($url32bit -ne $url64) {
        $checksum = $checksum64
      $checksumType = $checksumType64
    $fileDirectory = $([System.IO.Path]::GetDirectoryName($zipFile))
    if (!(Test-Path($fileDirectory))) {
      [System.IO.Directory]::CreateDirectory($fileDirectory) | Out-Null  
    $forceX86 = $env:chocolateyForceX86
    if ($forceX86) {
      Write-Debug "User specified -x86 so forcing 32 bit"
      $bitPackage = 32
      $url = $url32bit
      $checksum =  $checksum32
      $checksumType = $checksumType32
    $referer = ""
    $wc = New-Object System.Net.WebClient
    $wc.Headers.Add("Referer", $referer)
    $wc.DownloadFile($url, $zipFile)
    Get-ChecksumValid -File "$zipFile" `
                      -Checksum "$checksum" `
                      -ChecksumType "$checksumType"
    Get-ChocolateyUnzip -FileFullPath "$zipFile" `
                        -Destination "$toolsDir" `
                        -PackageName "$packageName"
    Set-Content -Path ("$installFile.gui") `
                -Value $null

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


© 2006 NirSoft


Release Notes

What's New?

Version History

Version Downloads Last updated Status

Discussion for the LSASecretsView Package

Ground rules:

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