Downloads of v 2.17.176:


Last Update:

04 Sep 2020

Package Maintainer(s):

Software Author(s):

  • Box


box sync cloud storage drive admin

Box Drive (Install)

2.17.176 | Updated: 04 Sep 2020



Downloads of v 2.17.176:



Software Author(s):

  • Box

Box Drive (Install) 2.17.176

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.17.176
    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.17.176'
  source   'STEP 3 URL'

See docs at

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

Requires Otter Chocolatey Extension. See docs at

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

Requires cChoco DSC Resource. See docs at

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

Requires Puppet Chocolatey Provider module. See docs at

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

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 04 Sep 2020.


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      = 'd54321abf11cff3a59eb3e8e4e331b18d5c295ac1648f185a26847aeed8787bd'
  checksumType  = 'SHA256'

  url64         = ''
  checksum64    = 'C2A5F7E736FC83BE3AAAC5398E150F5E09F651589733A18D6BE83B61A084AB0E'
  checksumType64= 'SHA256'

  softwareName  = 'box'

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

# Check OS
if ([version](Get-WmiObject -Class Win32_OperatingSystem).version -lt [version]"10.0") {
  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."

# Box Drive is not compatible with Box Sync so check if that is installed first
if (Get-UninstallRegistryKey -SoftwareName 'box sync') {
  Write-Warning "Box Drive cannot be installed while Box Sync is installed. Please remove it before installing Box Drive."
  Write-Warning "See 'Windows Prerequisites' on the 'Installing and Updating Box Drive' page ("
  throw "Box Drive cannot be installed while Box Sync is installed."

# check if Box Drive is already installed
if (Get-UninstallRegistryKey -SoftwareName 'box') {
  Write-Warning "Box Drive automatically updates itself. As it is already installed we will not try to install it again as this will result in an error due to the way the installer works."
  Write-Warning "If you are trying to force install this package please uninstall and install it again."
else {
  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)" }

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.

Version Downloads Last Updated Status
Box Drive (Install) 2.16.298 1262 Friday, July 24, 2020 Approved
Box Drive (Install) 2.15.121 795 Tuesday, June 23, 2020 Approved
Box Drive (Install) 2.14.378 928 Wednesday, May 20, 2020 Approved
Box Drive (Install) 2.14.377 435 Friday, May 8, 2020 Approved
Box Drive (Install) 2.13.518 530 Wednesday, April 15, 2020 Approved
Box Drive (Install) 2.12.604 20221 Tuesday, March 31, 2020 Approved
Box Drive (Install) 2.11.46 1039 Thursday, January 23, 2020 Approved
Box Drive (Install) 2.10.219 655 Wednesday, October 30, 2019 Approved
Box Drive (Install) 2.9.369 258 Wednesday, September 25, 2019 Approved

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