Downloads of v 2.6.186:


Last Update:


Package Maintainer(s):

Software Author(s):

  • Box


box sync cloud storage drive admin

Box Drive (Install)

This is not the latest version of Box Drive (Install) available.

2.6.186 | Updated: 5/15/2019



Downloads of v 2.6.186:



Software Author(s):

  • Box

Box Drive (Install) 2.6.186

This is not the latest version of Box Drive (Install) available.

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test

Validation Testing Passed

Verification Testing Exempt:

The installer doesn't work on anything less than Windows 10 / Windows 2016. Added that to chocolateyInstall.ps1 so will error and therefore needs an exemption.

To install Box Drive (Install), run the following command from the command line or from PowerShell:


To upgrade Box Drive (Install), run the following command from the command line or from PowerShell:


To uninstall Box Drive (Install), run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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 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. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade box-drive -y --source="'STEP 3 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 box-drive -y --source="'STEP 3 URL'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure box-drive installed
    name: box-drive
    state: present
    version: 2.6.186
    source: STEP 3 URL

See docs at

Coming early 2020! Central Managment Reporting available now! More information...

chocolatey_package 'box-drive' do
  action    :install
  version  '2.6.186'
  source   'STEP 3 URL'

See docs at

    Name: box-drive,
    Version: 2.6.186,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller box-drive
   Name     = 'box-drive'
   Ensure   = 'Present'
   Version  = '2.6.186'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'box-drive':
  provider => 'chocolatey',
  ensure   => '2.6.186',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install box-drive version="2.6.186" source="STEP 3 URL"

See docs at

5. 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 by moderator gep13 on 5/20/2019.


NOTE: Box Drive only supports Windows 10+ / Windows 2016+. If you need support for earlier operating systems try the Box Sync package

  • Keep files in sync with all your devices with automatic updates
  • Automatic version control
  • Back up files to Box directly from your desktop

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.

$ErrorActionPreference = 'Stop'

$msiLogPath = ("{0}\{1}.{2}.MsiInstall.log" -f $env:TEMP, $env:chocolateyPackageName, $env:chocolateyPackageVersion)

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  fileType      = 'MSI'
  url           = ''
  checksum      = '716b6efeb6f110c9220abe9bea0f8374b83d1671ce18775e24a6417c91552260'
  checksumType  = 'SHA256'

  url64         = ''
  checksum64    = 'A4258E507CE6EE34B5CA3040D9F9144E41A8B22E40FD1BEF9521BFB419139612'
  checksumType64= 'SHA256'

  softwareName  = 'box*'

  silentArgs    = "/quiet /norestart /l*v `"$msiLogPath`""
  validExitCodes= @(0)

# Check OS
$osName = (Get-WmiObject -Class Win32_OperatingSystem).Caption
if (-not ($osName -like "*Windows 10*" -or $osName -like "*Windows Server 2016*")) {
  Write-Error "Box Drive ONLY supports Windows 10 (or later) or Windows Server 2016 (or later). Please use the Box Sync package ( if you need support for earlier operating systems."

Install-ChocolateyPackage @packageArgs
Write-Verbose "Box Drive install log file is available at '$msiLogPath'"
# Unfortunately the Choco auto-uninstaller does not uninstall this automatically
# so this file is needed.
$ErrorActionPreference = 'Stop'

$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    softwareName   = 'box*'
    fileType       = 'MSI'
    silentArgs     = "/qn /norestart"
    validExitCodes = @(0, 3010, 1605, 1614, 1641) #

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']

if ($key.Count -eq 1) {
    $key | ForEach-Object {
        $packageArgs['file'] = "$($_.UninstallString)"
        if ($packageArgs['fileType'] -eq 'MSI') {
            $packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
            $packageArgs['file'] = ''

        Uninstall-ChocolateyPackage @packageArgs
elseif ($key.Count -eq 0) {
    Write-Warning "$packageName 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)" }

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.

Version Downloads Last Updated Status
Box Drive (Install) 2.8.207 200 Tuesday, August 20, 2019 Approved
Box Drive (Install) 2.7.242 160 Friday, June 28, 2019 Approved
Box Drive (Install) 2.7.241 59 Friday, June 21, 2019 Approved
Box Drive (Install) 2.6.186 116 Wednesday, May 15, 2019 Approved
Box Drive (Install) 2.5.127 62 Sunday, April 14, 2019 Approved

This package has no dependencies.

Discussion for the Box Drive (Install) Package

Ground Rules:

  • This discussion is only about Box Drive (Install) and the Box Drive (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 Box Drive (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