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

Yubico Authenticator (Install)


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 7/21/2019.

The Yubico Authenticator is a graphical desktop tool and command line tool for generating Open AuTHentication (OATH) event-based HOTP and time-based TOTP one-time password codes, with the help of a YubiKey that protects the shared secrets. Similar to Google Authenticator but for your desktop. There is an equivalent Android version so you can take your codes with you between desktop and mobile.

Requires a capable Yubikey device.

NOTE: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly.

To install Yubico Authenticator (Install), run the following command from the command line or from PowerShell:

C:\> choco install yubico-authenticator

To upgrade Yubico Authenticator (Install), run the following command from the command line or from PowerShell:

C:\> choco upgrade yubico-authenticator


  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $packageArgs = @{
        packageName    = $env:ChocolateyPackageName
        fileType       = 'exe'
        silentArgs     = "/S"
        validExitCodes = @(0)
        url            = ''
        checksum       = '27e0127718879a7251db381613ff1d780585c61c6ac4c2d5267e82f2a6330357'
        checksumType   = 'sha256'
        url64          = ''
        checksum64     = '8a5c33b8f27865ec0b4fae68197b0b2bd81f589ee786739fdb945bcd32c758dc'
        checksumType64 = 'sha256'
    Install-ChocolateyPackage @packageArgs 
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
    $packageArgs = @{
    	packageName   = $env:ChocolateyPackageName
    	softwareName  = 'Yubico Authenticator*'
    	fileType      = 'exe'
    	silentArgs    = "/S" # NSIS
    	validExitCodes= @(0)
    # Run Autohotkey
    $ahkExe = 'AutoHotKey'
    $ahkFile = Join-Path -Path $env:Temp -ChildPath "$(Get-Random).ahk"
    $ahkSourceFile = Join-Path -Path $toolsDir -ChildPath "$($env:ChocolateyPackageName)_uninstall.ahk"
    Write-Verbose "Autohotkey file $ahkPath will be started as $ahkFile"
    Copy-Item -Path $ahkSourceFile -Destination $ahkFile -Force | Out-Null
    [array]$key = Get-UninstallRegistryKey @packageArgs
    if ($key.Count -eq 1) {
        $key | ForEach-Object { 
            # some uninstall strings include parameters - remove them as we will use our own
            $packageArgs.file = "$($_.UninstallString)" -replace '/.*$', ''
            if ($packageArgs.fileType -eq 'MSI') {
                $packageArgs.silentArgs = "$($_.PSChildName) $($packageArgs.silentArgs)"
                $packageArgs.file = ''
            Write-Verbose "Running AutoHotkey install script '$ahkFile'"
            $ahkProc = Start-Process -FilePath $ahkExe -ArgumentList $ahkFile -PassThru
            $ahkId = $ahkProc.Id
            Write-Debug "$ahkExe start time:`t$($ahkProc.StartTime.ToShortTimeString())"
            Write-Debug "Process ID:`t$ahkId"
            Uninstall-ChocolateyPackage @packageArgs
    elseif ($key.Count -eq 0) {
        Write-Warning "$env:ChocolateyPackageName has already been uninstalled by other means."
    elseif ($key.Count -gt 1) {
        Write-Warning "$key.Count matches found!"
        Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
        Write-Warning "Please alert package maintainer the following keys were matched:"
        $key | ForEach-Object {
            Write-Warning "- $_.DisplayName"
    Remove-Item $ahkFile -Force -ErrorAction SilentlyContinue
  • tools\yubico-authenticator_uninstall.ahk Show
    #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
    ; #Warn  ; Enable warnings to assist with detecting common errors.
    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
    SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
    SetTitleMatchMode, 1
    SetControlDelay -1
    winTitle = Yubico Authenticator Uninstall
    WinWait, %winTitle%,, 60
    if !(Errorlevel) {
    	ControlClick, &Uninstall, %winTitle%
    	WinWait, %winTitle%, Completed, 60
    	if !(ErrorLevel) 
    		ControlClick, &Close, %winTitle%

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.


Package Maintainer(s)

Software Author(s)

  • Yubico


2017 Yubico


Release Notes

Version History

Version Downloads Last updated Status
Yubico Authenticator (Install) 4.3.4 669 Friday, May 18, 2018 approved
Yubico Authenticator (Install) 4.3.3 266 Thursday, February 15, 2018 approved
Yubico Authenticator (Install) 4.3.2 238 Tuesday, December 19, 2017 approved
Yubico Authenticator (Install) 4.3.0 190 Saturday, December 16, 2017 approved
Yubico Authenticator (Install) 4.2.0 291 Thursday, September 14, 2017 approved
Yubico Authenticator (Install) 4.1.4 259 Thursday, August 17, 2017 approved
Yubico Authenticator (Install) 4.1.3 205 Thursday, August 3, 2017 approved
Yubico Authenticator (Install) 4.1.2 241 Monday, May 22, 2017 approved
Yubico Authenticator (Install) 4.0.1 255 Sunday, April 9, 2017 approved
Show More

Discussion for the Yubico Authenticator (Install) Package

Ground rules:

  • This discussion is only about Yubico Authenticator (Install) and the Yubico Authenticator (Install) 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 Yubico Authenticator (Install), 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.