Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

885,555

Downloads of v 9.1.1:

50,261

Last Update:

03 Aug 2023

Package Maintainer(s):

Software Author(s):

  • hiyohiyo

Tags:

disk diagnostic hdd ssd

CrystalDiskInfo (Portable)

  • 1
  • 2
  • 3

9.1.1 | Updated: 03 Aug 2023

Downloads:

885,555

Downloads of v 9.1.1:

50,261

Maintainer(s):

Software Author(s):

  • hiyohiyo

CrystalDiskInfo (Portable) 9.1.1

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install CrystalDiskInfo (Portable), run the following command from the command line or from PowerShell:

>

To upgrade CrystalDiskInfo (Portable), run the following command from the command line or from PowerShell:

>

To uninstall CrystalDiskInfo (Portable), 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 crystaldiskinfo.portable -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 crystaldiskinfo.portable -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 crystaldiskinfo.portable
  win_chocolatey:
    name: crystaldiskinfo.portable
    version: '9.1.1'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'crystaldiskinfo.portable' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '9.1.1'
end

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


cChocoPackageInstaller crystaldiskinfo.portable
{
    Name     = "crystaldiskinfo.portable"
    Version  = "9.1.1"
    Source   = "INTERNAL REPO URL"
}

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


package { 'crystaldiskinfo.portable':
  ensure   => '9.1.1',
  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.

NOTE

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

Package Approved

This package was approved as a trusted package on 04 Aug 2023.

Description

CrystalDiskInfo is a HDD/SSD utility software which shows the health status much more clearly than similar tools.
The "Function / Graph" is especially interesting for the "Reallocated Sectors Count".
If it increases over time or is very high already, the hard drive may need to be replaced.

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


tools\chocolateyBeforeModify.ps1
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
. $toolsDir\helpers.ps1

Stop-CrystalDiskInfo
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';

$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
. $toolsDir\helpers.ps1

Stop-CrystalDiskInfo

$fileName32 = "DiskInfo32.exe"
$fileName64 = "DiskInfo64.exe"
$linkName = "CrystalDiskInfo.lnk"

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  destination    = $toolsDir
  file          = "$toolsDir\CrystalDiskInfo9_1_1.zip"
}

Get-ChocolateyUnzip  @packageArgs

Remove-Item -ea 0 -Path $toolsDir\*.zip

#install start menu shortcut
$fileName = $fileName32
$is64bit = Get-OSArchitectureWidth 64
if ($is64bit) {
  $fileName = $fileName64
}

$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs)
$shortcutFilePath = Join-Path $programs $linkName 
$targetPath = Join-Path $toolsDir $fileName
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath

Get-ChildItem $toolsDir\CdiResource\AlertMail*.exe | ForEach-Object {
  #Ensure any shims that may have accidentally been generated with previous versions are removed
  Uninstall-BinFile -Name $_.BaseName
  Set-Content -Path "$_.ignore" -Value $null
}
tools\chocolateyUninstall.ps1
$linkName = "CrystalDiskInfo.lnk"
$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs)
$shortcutFilePath = Join-Path $programs $linkName

if(Test-Path $shortcutFilePath) {
    Remove-Item $shortcutFilePath
}
tools\CrystalDiskInfo9_1_1.zip
md5: 6E6428790727A3B3506133DEF4A22078 | sha1: A434F1AC36AAFE7DAF63CB46F8BB7DA5E32859B2 | sha256: B5EE4C97CDB7CAE31BA1D6636646D02471457852B6855ECC81587D0A05460D62 | sha512: 2C0D447E67D9EE9C7121B55BA42B942194BBEC065E1458717F291750A062A7131883EA97DC4F4BEABFF80A8BE7B3DBCE7FF03C8D6F6C2A86D064F53A95E81394
tools\DiskInfo.exe.gui
 
tools\helpers.ps1
function Stop-CrystalDiskInfo() {
    $processNameFilters = @("opusdec", "AlertMail*", "DiskInfo*")

    foreach ($processName in $processNameFilters)
    {
        Get-Process -Name $processName -ErrorAction SilentlyContinue | Stop-Process -Force
    }
}
tools\CdiResource\opus\opusdec.exe.ignore
 
legal\LICENSE.txt

From: https://github.com/hiyohiyo/CrystalDiskInfo/blob/master/LICENSE.txt

The MIT License

Copyright (c) 2008-2020 hiyohiyo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The installer have been downloaded from their official download link listed on <https://crystalmark.info/redirect.php?product=CrystalDiskInfoInstaller>
and can be verified like this:

1. Download the following installers:
  32-Bit: <https://osdn.dl.osdn.net/crystaldiskinfo/78992/CrystalDiskInfo9_1_1.zip>
2. You can use one of the following methods to obtain the checksum
  - Use powershell function 'Get-Filehash'
  - Use chocolatey utility 'checksum.exe'

  checksum type: sha256
  checksum32: B5EE4C97CDB7CAE31BA1D6636646D02471457852B6855ECC81587D0A05460D62

File 'LICENSE.txt' is obtained from <https://github.com/hiyohiyo/CrystalDiskInfo/blob/master/LICENSE.txt>

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
CrystalDiskInfo (Portable) 9.1.0 20843 Monday, July 10, 2023 Approved
CrystalDiskInfo (Portable) 9.0.1 20864 Wednesday, May 31, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0 1736 Tuesday, May 30, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0-RC3 63 Sunday, May 21, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0-RC2 56 Monday, May 1, 2023 Approved
CrystalDiskInfo (Portable) 8.17.14 53776 Saturday, January 21, 2023 Approved
CrystalDiskInfo (Portable) 8.17.13 19632 Saturday, December 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.12 7621 Sunday, November 27, 2022 Approved
CrystalDiskInfo (Portable) 8.17.11 13997 Thursday, November 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.10 81 Thursday, November 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.9 11102 Saturday, October 29, 2022 Approved
CrystalDiskInfo (Portable) 8.17.8 41120 Saturday, October 8, 2022 Approved
CrystalDiskInfo (Portable) 8.17.7 43195 Monday, September 12, 2022 Approved
CrystalDiskInfo (Portable) 8.17.6 31036 Sunday, August 28, 2022 Approved
CrystalDiskInfo (Portable) 8.17.5 47514 Friday, July 29, 2022 Approved
CrystalDiskInfo (Portable) 8.17.4 19800 Sunday, July 17, 2022 Approved
CrystalDiskInfo (Portable) 8.17.3 8631 Sunday, June 26, 2022 Approved
CrystalDiskInfo (Portable) 8.17.2 11436 Saturday, June 18, 2022 Approved
CrystalDiskInfo (Portable) 8.17.1 3543 Friday, June 17, 2022 Approved
CrystalDiskInfo (Portable) 8.17.0 3212 Wednesday, June 15, 2022 Approved
CrystalDiskInfo (Portable) 8.16.4 25031 Friday, April 8, 2022 Approved
CrystalDiskInfo (Portable) 8.16.3 7099 Friday, April 1, 2022 Approved
CrystalDiskInfo (Portable) 8.16.2 1299 Friday, April 1, 2022 Approved
CrystalDiskInfo (Portable) 8.16.1 6721 Tuesday, March 29, 2022 Approved
CrystalDiskInfo (Portable) 8.16.0 4613 Sunday, March 27, 2022 Approved
CrystalDiskInfo (Portable) 8.15.2 15781 Sunday, February 13, 2022 Approved
CrystalDiskInfo (Portable) 8.15.1 2789 Friday, February 11, 2022 Approved
CrystalDiskInfo (Portable) 8.15.0 7815 Friday, February 4, 2022 Approved
CrystalDiskInfo (Portable) 8.14.2 11260 Saturday, January 15, 2022 Approved
CrystalDiskInfo (Portable) 8.14.0 643 Saturday, January 15, 2022 Approved
CrystalDiskInfo (Portable) 8.13.3 11079 Wednesday, December 22, 2021 Approved
CrystalDiskInfo (Portable) 8.13.2 2990 Sunday, December 19, 2021 Approved
CrystalDiskInfo (Portable) 8.13.1 4748 Saturday, December 18, 2021 Approved
CrystalDiskInfo (Portable) 8.13.0 10208 Friday, November 26, 2021 Approved
CrystalDiskInfo (Portable) 8.12.13 6260 Saturday, November 20, 2021 Approved
CrystalDiskInfo (Portable) 8.12.12 11347 Saturday, October 23, 2021 Approved
CrystalDiskInfo (Portable) 8.12.11 2391 Friday, October 22, 2021 Approved
CrystalDiskInfo (Portable) 8.12.10 8149 Saturday, October 9, 2021 Approved
CrystalDiskInfo (Portable) 8.12.9 7178 Wednesday, September 29, 2021 Approved
CrystalDiskInfo (Portable) 8.12.8 5139 Friday, September 24, 2021 Approved
CrystalDiskInfo (Portable) 8.12.7 10668 Saturday, August 28, 2021 Approved
CrystalDiskInfo (Portable) 8.12.6 7362 Monday, August 16, 2021 Approved
CrystalDiskInfo (Portable) 8.12.5 7092 Thursday, August 5, 2021 Approved
CrystalDiskInfo (Portable) 8.12.4 10307 Sunday, July 11, 2021 Approved
CrystalDiskInfo (Portable) 8.12.3 6367 Saturday, July 3, 2021 Approved
CrystalDiskInfo (Portable) 8.12.2 9664 Saturday, June 12, 2021 Approved
CrystalDiskInfo (Portable) 8.12.1 8550 Monday, May 31, 2021 Approved
CrystalDiskInfo (Portable) 8.12.0 21977 Sunday, March 21, 2021 Approved
CrystalDiskInfo (Portable) 8.11.2 13327 Tuesday, February 23, 2021 Approved
CrystalDiskInfo (Portable) 8.11.1 7125 Sunday, February 14, 2021 Approved
CrystalDiskInfo (Portable) 8.11.0 4085 Thursday, February 11, 2021 Approved
CrystalDiskInfo (Portable) 8.10.0 10870 Friday, January 22, 2021 Approved
CrystalDiskInfo (Portable) 8.9.0 16057 Tuesday, December 15, 2020 Approved
CrystalDiskInfo (Portable) 8.8.9 16502 Monday, September 28, 2020 Approved
CrystalDiskInfo (Portable) 8.8.8 3231 Wednesday, September 23, 2020 Approved
CrystalDiskInfo (Portable) 8.8.7 3991 Thursday, September 17, 2020 Approved
CrystalDiskInfo (Portable) 8.8.6 4112 Saturday, September 12, 2020 Approved
CrystalDiskInfo (Portable) 8.8.5 3864 Monday, September 7, 2020 Approved
CrystalDiskInfo (Portable) 8.8.4 2057 Saturday, September 5, 2020 Approved
CrystalDiskInfo (Portable) 8.8.2 2466 Tuesday, September 1, 2020 Approved
CrystalDiskInfo (Portable) 8.8.1 3176 Saturday, August 29, 2020 Approved
CrystalDiskInfo (Portable) 8.8.0 292 Saturday, August 29, 2020 Approved
CrystalDiskInfo (Portable) 8.7.0 9775 Friday, July 10, 2020 Approved
CrystalDiskInfo (Portable) 8.6.2 4671 Sunday, June 28, 2020 Approved
CrystalDiskInfo (Portable) 8.6.1 3489 Sunday, June 21, 2020 Approved
CrystalDiskInfo (Portable) 8.6.0 2673 Tuesday, June 16, 2020 Approved
CrystalDiskInfo (Portable) 8.3.1 20342 Saturday, October 12, 2019 Approved
CrystalDiskInfo (Portable) 8.3.0 5473 Monday, September 2, 2019 Approved
CrystalDiskInfo (Portable) 8.2.3 4307 Sunday, August 11, 2019 Approved
CrystalDiskInfo (Portable) 8.2.1 2500 Monday, August 5, 2019 Approved
CrystalDiskInfo (Portable) 8.2.0 5245 Saturday, June 29, 2019 Approved
CrystalDiskInfo (Portable) 8.1.0 6458 Friday, May 3, 2019 Approved
CrystalDiskInfo (Portable) 8.0.0.20190225 5957 Sunday, February 24, 2019 Approved
CrystalDiskInfo (Portable) 8.0.0 12172 Monday, November 19, 2018 Approved
CrystalDiskInfo (Portable) 7.8.3 4203 Wednesday, October 24, 2018 Approved
CrystalDiskInfo (Portable) 7.8.2 1235 Monday, October 22, 2018 Approved
CrystalDiskInfo (Portable) 7.8.0 5071 Wednesday, September 26, 2018 Approved
CrystalDiskInfo (Portable) 7.7.0 5356 Saturday, August 18, 2018 Approved
CrystalDiskInfo (Portable) 7.6.1 7219 Wednesday, June 13, 2018 Approved
CrystalDiskInfo (Portable) 7.6.0 7273 Monday, April 9, 2018 Approved
CrystalDiskInfo (Portable) 7.5.1 9981 Monday, January 1, 2018 Approved
CrystalDiskInfo (Portable) 7.5.0 6992 Sunday, October 29, 2017 Approved
CrystalDiskInfo (Portable) 7.2.0 975 Saturday, October 28, 2017 Approved
CrystalDiskInfo (Portable) 7.1.1 8230 Friday, August 4, 2017 Approved
CrystalDiskInfo (Portable) 7.1.0 781 Thursday, August 3, 2017 Approved
CrystalDiskInfo (Portable) 7.0.5 9402 Sunday, January 1, 2017 Approved
CrystalDiskInfo (Portable) 7.0.4 435 Sunday, October 30, 2016 Approved

This package has no dependencies.

Discussion for the CrystalDiskInfo (Portable) Package

Ground Rules:

  • This discussion is only about CrystalDiskInfo (Portable) and the CrystalDiskInfo (Portable) 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 CrystalDiskInfo (Portable), 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