Downloads:

2,702,981

Downloads of v 14.06:

8,993

Last Update:

27 Oct 2021

Package Maintainer(s):

Software Author(s):

  • Mark Russinovich
  • Bryce Cogswell

Tags:

startup sysinternals

Autoruns

  • 1
  • 2
  • 3

14.06 | Updated: 27 Oct 2021

Downloads:

2,702,981

Downloads of v 14.06:

8,993

Maintainer(s):

Software Author(s):

  • Mark Russinovich
  • Bryce Cogswell

  • 1
  • 2
  • 3
Autoruns 14.06

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

To uninstall Autoruns, 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 autoruns -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 autoruns -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 autoruns
  win_chocolatey:
    name: autoruns
    version: '14.06'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'autoruns' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '14.06'
end

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


cChocoPackageInstaller autoruns
{
    Name     = "autoruns"
    Version  = "14.06"
    Source   = "INTERNAL REPO URL"
}

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


package { 'autoruns':
  ensure   => '14.06',
  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 27 Oct 2021.

Description

Autoruns

See what programs are configured to startup automatically when your system boots and you login.
Autoruns also shows you the full list of Registry and file locations where applications can
configure auto-start settings. This utility, which has the most comprehensive knowledge of
auto-starting locations of any startup monitor, shows you what programs are configured to run
during system bootup or login, and when you start various built-in Windows applications like
Internet Explorer, Explorer and media players. These programs and drivers include ones in your
startup folder, Run, RunOnce, and other Registry keys. Autoruns reports Explorer shell
extensions, toolbars, browser helper objects, Winlogon notifications, auto-start services, and
much more. Autoruns goes way beyond other autostart utilities.

Package-specific issue

If this package isn't up-to-date for some days, Create an issue

Support the package maintainer and Patreon


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'
$packageName = $env:ChocolateyPackageName
$url = 'https://download.sysinternals.com/files/Autoruns.zip'
$checksum = 'd95c6023e2d4581cd5d63963e8ac67a6ac08dde17ec7f21bb0951224d51074a4'
$checksumType = 'sha256'
$url64 = "$url"
$checksum64 = "$checksum"
$checksumType64 = "checksumType"
$fileName = "Autoruns.exe"
$linkName = "Autoruns.lnk"
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
Install-ChocolateyZipPackage -PackageName "$packageName" `
                             -Url "$url" `
                             -UnzipLocation "$toolsDir" `
                             -Url64bit "$url64" `
                             -Checksum "$checksum" `
                             -ChecksumType "$checksumType" `
                             -Checksum64 "$checksum64" `
                             -ChecksumType64 "$checksumType64"
$programs = "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\"
$shortcutFilePath = Join-Path $programs $linkName
$targetPath = Join-Path $toolsDir $fileName
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath
Write-Verbose "Accepting license..."
$regRoot = 'HKCU:\Software\Sysinternals'
$regPkg = 'AutoRuns'
$regPath = Join-Path $regRoot $regPkg
if (!(Test-Path $regRoot)) {New-Item -Path "$regRoot"}
if (!(Test-Path $regPath)) {New-Item -Path "$regRoot" -Name "$regPkg"}
Set-ItemProperty -Path "$regPath" -Name EulaAccepted -Value 1
if ((Get-ItemProperty -Path "$regPath").EulaAccepted -ne 1) {
  throw "Failed setting registry value."
}
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'
$linkName = "Autoruns.lnk"
$programs = "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\"
$shortcutFilePath = Join-Path $programs $linkName

if(Test-Path $shortcutFilePath) {
    Remove-Item $shortcutFilePath
}

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
Autoruns 14.05 6632 Thursday, October 14, 2021 Approved
Autoruns 14.04 3580 Wednesday, October 13, 2021 Approved
Autoruns 14.03 6481 Friday, October 1, 2021 Approved
Autoruns 14.02 5821 Thursday, September 23, 2021 Approved
Autoruns 14.01 7264 Thursday, September 2, 2021 Approved
Autoruns 14.0 6095 Thursday, August 19, 2021 Approved
Autoruns 13.100 13021 Saturday, April 24, 2021 Approved
Autoruns 13.99 2475 Thursday, April 22, 2021 Approved
Autoruns 13.98.20200930 829887 Wednesday, September 30, 2020 Approved

Package


This package has no dependencies.

Discussion for the Autoruns Package

Ground Rules:

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