Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

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

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
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

Downloads:

1,004,970

Downloads of v 9.0.0-RC3:

73

Last Update:

21 May 2023

Package Maintainer(s):

Software Author(s):

  • hiyohiyo

Tags:

disk diagnostic hdd ssd

CrystalDiskInfo (Portable)

This is a prerelease version of CrystalDiskInfo (Portable).

  • 1
  • 2
  • 3

9.0.0-RC3 | Updated: 21 May 2023

Downloads:

1,004,970

Downloads of v 9.0.0-RC3:

73

Maintainer(s):

Software Author(s):

  • hiyohiyo

CrystalDiskInfo (Portable) 9.0.0-RC3

This is a prerelease version of CrystalDiskInfo (Portable).

  • 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'" --version="'9.0.0-RC3'" --prerelease [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'" --version="'9.0.0-RC3'" --prerelease
$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.0.0-RC3'
    source: INTERNAL REPO URL
    state: present
    allow_prerelease: yes

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.0.0-RC3'
  options  '--prerelease'
end

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


cChocoPackageInstaller crystaldiskinfo.portable
{
    Name        = "crystaldiskinfo.portable"
    Version     = "9.0.0-RC3"
    Source      = "INTERNAL REPO URL"
    chocoParams = "--prerelease"
}

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


package { 'crystaldiskinfo.portable':
  ensure          => '9.0.0-RC3',
  install_options => ['--prerelease'],
  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 21 May 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_0_0RC3.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_0_0RC3.zip
md5: 6F132F0473EBF0DF9B5FB64B6D302BD5 | sha1: E2A4043A45D5149F1488578D8833FD93AF463053 | sha256: 798E480AACFBE0549F98745514AD82C38D41CB6894F72B435500E0BF0006F891 | sha512: F77A2CAFE641C8C4A62889F7915FA50260CF4136BF1B98D546F44B56DF1D3139743023BE13DD3D20DFA35B2D863F9C3DDA909E7656D98736B5048920CA1DD665
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/78781/CrystalDiskInfo9_0_0RC3.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: 798E480AACFBE0549F98745514AD82C38D41CB6894F72B435500E0BF0006F891

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.2.3 60617 Sunday, March 31, 2024 Approved
CrystalDiskInfo (Portable) 9.1.1 96731 Thursday, August 3, 2023 Approved
CrystalDiskInfo (Portable) 9.1.0 22966 Monday, July 10, 2023 Approved
CrystalDiskInfo (Portable) 9.0.1 21289 Wednesday, May 31, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0 1745 Tuesday, May 30, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0-RC3 73 Sunday, May 21, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0-RC2 68 Monday, May 1, 2023 Approved
CrystalDiskInfo (Portable) 8.17.14 60665 Saturday, January 21, 2023 Approved
CrystalDiskInfo (Portable) 8.17.13 19650 Saturday, December 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.12 7633 Sunday, November 27, 2022 Approved
CrystalDiskInfo (Portable) 8.17.11 14009 Thursday, November 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.10 126 Thursday, November 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.9 11114 Saturday, October 29, 2022 Approved
CrystalDiskInfo (Portable) 8.17.8 41130 Saturday, October 8, 2022 Approved
CrystalDiskInfo (Portable) 8.17.7 43205 Monday, September 12, 2022 Approved
CrystalDiskInfo (Portable) 8.17.6 31049 Sunday, August 28, 2022 Approved
CrystalDiskInfo (Portable) 8.17.5 47522 Friday, July 29, 2022 Approved
CrystalDiskInfo (Portable) 8.17.4 19811 Sunday, July 17, 2022 Approved
CrystalDiskInfo (Portable) 8.17.3 8644 Sunday, June 26, 2022 Approved
CrystalDiskInfo (Portable) 8.17.2 11482 Saturday, June 18, 2022 Approved
CrystalDiskInfo (Portable) 8.17.1 3550 Friday, June 17, 2022 Approved
CrystalDiskInfo (Portable) 8.17.0 3224 Wednesday, June 15, 2022 Approved
CrystalDiskInfo (Portable) 8.16.4 25039 Friday, April 8, 2022 Approved
CrystalDiskInfo (Portable) 8.16.3 7111 Friday, April 1, 2022 Approved
CrystalDiskInfo (Portable) 8.16.2 1308 Friday, April 1, 2022 Approved
CrystalDiskInfo (Portable) 8.16.1 6733 Tuesday, March 29, 2022 Approved
CrystalDiskInfo (Portable) 8.16.0 4627 Sunday, March 27, 2022 Approved
CrystalDiskInfo (Portable) 8.15.2 15794 Sunday, February 13, 2022 Approved
CrystalDiskInfo (Portable) 8.15.1 2804 Friday, February 11, 2022 Approved
CrystalDiskInfo (Portable) 8.15.0 7837 Friday, February 4, 2022 Approved
CrystalDiskInfo (Portable) 8.14.2 11273 Saturday, January 15, 2022 Approved
CrystalDiskInfo (Portable) 8.14.0 657 Saturday, January 15, 2022 Approved
CrystalDiskInfo (Portable) 8.13.3 11092 Wednesday, December 22, 2021 Approved
CrystalDiskInfo (Portable) 8.13.2 3003 Sunday, December 19, 2021 Approved
CrystalDiskInfo (Portable) 8.13.1 4767 Saturday, December 18, 2021 Approved
CrystalDiskInfo (Portable) 8.13.0 10220 Friday, November 26, 2021 Approved
CrystalDiskInfo (Portable) 8.12.13 6278 Saturday, November 20, 2021 Approved
CrystalDiskInfo (Portable) 8.12.12 11358 Saturday, October 23, 2021 Approved
CrystalDiskInfo (Portable) 8.12.11 2405 Friday, October 22, 2021 Approved
CrystalDiskInfo (Portable) 8.12.10 8161 Saturday, October 9, 2021 Approved
CrystalDiskInfo (Portable) 8.12.9 7193 Wednesday, September 29, 2021 Approved
CrystalDiskInfo (Portable) 8.12.8 5153 Friday, September 24, 2021 Approved
CrystalDiskInfo (Portable) 8.12.7 10681 Saturday, August 28, 2021 Approved
CrystalDiskInfo (Portable) 8.12.6 7373 Monday, August 16, 2021 Approved
CrystalDiskInfo (Portable) 8.12.5 7107 Thursday, August 5, 2021 Approved
CrystalDiskInfo (Portable) 8.12.4 10317 Sunday, July 11, 2021 Approved
CrystalDiskInfo (Portable) 8.12.3 6391 Saturday, July 3, 2021 Approved
CrystalDiskInfo (Portable) 8.12.2 9676 Saturday, June 12, 2021 Approved
CrystalDiskInfo (Portable) 8.12.1 8560 Monday, May 31, 2021 Approved
CrystalDiskInfo (Portable) 8.12.0 21989 Sunday, March 21, 2021 Approved
CrystalDiskInfo (Portable) 8.11.2 13338 Tuesday, February 23, 2021 Approved
CrystalDiskInfo (Portable) 8.11.1 7133 Sunday, February 14, 2021 Approved
CrystalDiskInfo (Portable) 8.11.0 4099 Thursday, February 11, 2021 Approved
CrystalDiskInfo (Portable) 8.10.0 10883 Friday, January 22, 2021 Approved
CrystalDiskInfo (Portable) 8.9.0 16072 Tuesday, December 15, 2020 Approved
CrystalDiskInfo (Portable) 8.8.9 16521 Monday, September 28, 2020 Approved
CrystalDiskInfo (Portable) 8.8.8 3252 Wednesday, September 23, 2020 Approved
CrystalDiskInfo (Portable) 8.8.7 4005 Thursday, September 17, 2020 Approved
CrystalDiskInfo (Portable) 8.8.6 4127 Saturday, September 12, 2020 Approved
CrystalDiskInfo (Portable) 8.8.5 3880 Monday, September 7, 2020 Approved
CrystalDiskInfo (Portable) 8.8.4 2072 Saturday, September 5, 2020 Approved
CrystalDiskInfo (Portable) 8.8.2 2479 Tuesday, September 1, 2020 Approved
CrystalDiskInfo (Portable) 8.8.1 3195 Saturday, August 29, 2020 Approved
CrystalDiskInfo (Portable) 8.8.0 305 Saturday, August 29, 2020 Approved
CrystalDiskInfo (Portable) 8.7.0 9787 Friday, July 10, 2020 Approved
CrystalDiskInfo (Portable) 8.6.2 4686 Sunday, June 28, 2020 Approved
CrystalDiskInfo (Portable) 8.6.1 3508 Sunday, June 21, 2020 Approved
CrystalDiskInfo (Portable) 8.6.0 2696 Tuesday, June 16, 2020 Approved
CrystalDiskInfo (Portable) 8.3.1 20358 Saturday, October 12, 2019 Approved
CrystalDiskInfo (Portable) 8.3.0 5488 Monday, September 2, 2019 Approved
CrystalDiskInfo (Portable) 8.2.3 4321 Sunday, August 11, 2019 Approved
CrystalDiskInfo (Portable) 8.2.1 2520 Monday, August 5, 2019 Approved
CrystalDiskInfo (Portable) 8.2.0 5264 Saturday, June 29, 2019 Approved
CrystalDiskInfo (Portable) 8.1.0 6476 Friday, May 3, 2019 Approved
CrystalDiskInfo (Portable) 8.0.0.20190225 5979 Sunday, February 24, 2019 Approved
CrystalDiskInfo (Portable) 8.0.0 12190 Monday, November 19, 2018 Approved
CrystalDiskInfo (Portable) 7.8.3 4218 Wednesday, October 24, 2018 Approved
CrystalDiskInfo (Portable) 7.8.2 1249 Monday, October 22, 2018 Approved
CrystalDiskInfo (Portable) 7.8.0 5084 Wednesday, September 26, 2018 Approved
CrystalDiskInfo (Portable) 7.7.0 5376 Saturday, August 18, 2018 Approved
CrystalDiskInfo (Portable) 7.6.1 7237 Wednesday, June 13, 2018 Approved
CrystalDiskInfo (Portable) 7.6.0 7288 Monday, April 9, 2018 Approved
CrystalDiskInfo (Portable) 7.5.1 9997 Monday, January 1, 2018 Approved
CrystalDiskInfo (Portable) 7.5.0 7007 Sunday, October 29, 2017 Approved
CrystalDiskInfo (Portable) 7.2.0 992 Saturday, October 28, 2017 Approved
CrystalDiskInfo (Portable) 7.1.1 8258 Friday, August 4, 2017 Approved
CrystalDiskInfo (Portable) 7.1.0 803 Thursday, August 3, 2017 Approved
CrystalDiskInfo (Portable) 7.0.5 9417 Sunday, January 1, 2017 Approved
CrystalDiskInfo (Portable) 7.0.4 453 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