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:

927,432

Downloads of v 9.1.1:

84,750

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:

927,432

Downloads of v 9.1.1:

84,750

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 22421 Monday, July 10, 2023 Approved
CrystalDiskInfo (Portable) 9.0.1 21185 Wednesday, May 31, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0 1741 Tuesday, May 30, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0-RC3 67 Sunday, May 21, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0-RC2 61 Monday, May 1, 2023 Approved
CrystalDiskInfo (Portable) 8.17.14 58664 Saturday, January 21, 2023 Approved
CrystalDiskInfo (Portable) 8.17.13 19641 Saturday, December 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.12 7628 Sunday, November 27, 2022 Approved
CrystalDiskInfo (Portable) 8.17.11 14004 Thursday, November 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.10 85 Thursday, November 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.9 11107 Saturday, October 29, 2022 Approved
CrystalDiskInfo (Portable) 8.17.8 41126 Saturday, October 8, 2022 Approved
CrystalDiskInfo (Portable) 8.17.7 43200 Monday, September 12, 2022 Approved
CrystalDiskInfo (Portable) 8.17.6 31045 Sunday, August 28, 2022 Approved
CrystalDiskInfo (Portable) 8.17.5 47519 Friday, July 29, 2022 Approved
CrystalDiskInfo (Portable) 8.17.4 19806 Sunday, July 17, 2022 Approved
CrystalDiskInfo (Portable) 8.17.3 8635 Sunday, June 26, 2022 Approved
CrystalDiskInfo (Portable) 8.17.2 11478 Saturday, June 18, 2022 Approved
CrystalDiskInfo (Portable) 8.17.1 3547 Friday, June 17, 2022 Approved
CrystalDiskInfo (Portable) 8.17.0 3216 Wednesday, June 15, 2022 Approved
CrystalDiskInfo (Portable) 8.16.4 25036 Friday, April 8, 2022 Approved
CrystalDiskInfo (Portable) 8.16.3 7107 Friday, April 1, 2022 Approved
CrystalDiskInfo (Portable) 8.16.2 1304 Friday, April 1, 2022 Approved
CrystalDiskInfo (Portable) 8.16.1 6729 Tuesday, March 29, 2022 Approved
CrystalDiskInfo (Portable) 8.16.0 4619 Sunday, March 27, 2022 Approved
CrystalDiskInfo (Portable) 8.15.2 15788 Sunday, February 13, 2022 Approved
CrystalDiskInfo (Portable) 8.15.1 2798 Friday, February 11, 2022 Approved
CrystalDiskInfo (Portable) 8.15.0 7822 Friday, February 4, 2022 Approved
CrystalDiskInfo (Portable) 8.14.2 11271 Saturday, January 15, 2022 Approved
CrystalDiskInfo (Portable) 8.14.0 651 Saturday, January 15, 2022 Approved
CrystalDiskInfo (Portable) 8.13.3 11085 Wednesday, December 22, 2021 Approved
CrystalDiskInfo (Portable) 8.13.2 2996 Sunday, December 19, 2021 Approved
CrystalDiskInfo (Portable) 8.13.1 4756 Saturday, December 18, 2021 Approved
CrystalDiskInfo (Portable) 8.13.0 10216 Friday, November 26, 2021 Approved
CrystalDiskInfo (Portable) 8.12.13 6270 Saturday, November 20, 2021 Approved
CrystalDiskInfo (Portable) 8.12.12 11352 Saturday, October 23, 2021 Approved
CrystalDiskInfo (Portable) 8.12.11 2398 Friday, October 22, 2021 Approved
CrystalDiskInfo (Portable) 8.12.10 8153 Saturday, October 9, 2021 Approved
CrystalDiskInfo (Portable) 8.12.9 7183 Wednesday, September 29, 2021 Approved
CrystalDiskInfo (Portable) 8.12.8 5144 Friday, September 24, 2021 Approved
CrystalDiskInfo (Portable) 8.12.7 10673 Saturday, August 28, 2021 Approved
CrystalDiskInfo (Portable) 8.12.6 7367 Monday, August 16, 2021 Approved
CrystalDiskInfo (Portable) 8.12.5 7098 Thursday, August 5, 2021 Approved
CrystalDiskInfo (Portable) 8.12.4 10314 Sunday, July 11, 2021 Approved
CrystalDiskInfo (Portable) 8.12.3 6372 Saturday, July 3, 2021 Approved
CrystalDiskInfo (Portable) 8.12.2 9671 Saturday, June 12, 2021 Approved
CrystalDiskInfo (Portable) 8.12.1 8555 Monday, May 31, 2021 Approved
CrystalDiskInfo (Portable) 8.12.0 21982 Sunday, March 21, 2021 Approved
CrystalDiskInfo (Portable) 8.11.2 13333 Tuesday, February 23, 2021 Approved
CrystalDiskInfo (Portable) 8.11.1 7129 Sunday, February 14, 2021 Approved
CrystalDiskInfo (Portable) 8.11.0 4090 Thursday, February 11, 2021 Approved
CrystalDiskInfo (Portable) 8.10.0 10876 Friday, January 22, 2021 Approved
CrystalDiskInfo (Portable) 8.9.0 16064 Tuesday, December 15, 2020 Approved
CrystalDiskInfo (Portable) 8.8.9 16510 Monday, September 28, 2020 Approved
CrystalDiskInfo (Portable) 8.8.8 3238 Wednesday, September 23, 2020 Approved
CrystalDiskInfo (Portable) 8.8.7 3995 Thursday, September 17, 2020 Approved
CrystalDiskInfo (Portable) 8.8.6 4118 Saturday, September 12, 2020 Approved
CrystalDiskInfo (Portable) 8.8.5 3869 Monday, September 7, 2020 Approved
CrystalDiskInfo (Portable) 8.8.4 2064 Saturday, September 5, 2020 Approved
CrystalDiskInfo (Portable) 8.8.2 2472 Tuesday, September 1, 2020 Approved
CrystalDiskInfo (Portable) 8.8.1 3185 Saturday, August 29, 2020 Approved
CrystalDiskInfo (Portable) 8.8.0 300 Saturday, August 29, 2020 Approved
CrystalDiskInfo (Portable) 8.7.0 9782 Friday, July 10, 2020 Approved
CrystalDiskInfo (Portable) 8.6.2 4676 Sunday, June 28, 2020 Approved
CrystalDiskInfo (Portable) 8.6.1 3498 Sunday, June 21, 2020 Approved
CrystalDiskInfo (Portable) 8.6.0 2684 Tuesday, June 16, 2020 Approved
CrystalDiskInfo (Portable) 8.3.1 20349 Saturday, October 12, 2019 Approved
CrystalDiskInfo (Portable) 8.3.0 5480 Monday, September 2, 2019 Approved
CrystalDiskInfo (Portable) 8.2.3 4315 Sunday, August 11, 2019 Approved
CrystalDiskInfo (Portable) 8.2.1 2507 Monday, August 5, 2019 Approved
CrystalDiskInfo (Portable) 8.2.0 5252 Saturday, June 29, 2019 Approved
CrystalDiskInfo (Portable) 8.1.0 6467 Friday, May 3, 2019 Approved
CrystalDiskInfo (Portable) 8.0.0.20190225 5965 Sunday, February 24, 2019 Approved
CrystalDiskInfo (Portable) 8.0.0 12179 Monday, November 19, 2018 Approved
CrystalDiskInfo (Portable) 7.8.3 4210 Wednesday, October 24, 2018 Approved
CrystalDiskInfo (Portable) 7.8.2 1242 Monday, October 22, 2018 Approved
CrystalDiskInfo (Portable) 7.8.0 5078 Wednesday, September 26, 2018 Approved
CrystalDiskInfo (Portable) 7.7.0 5366 Saturday, August 18, 2018 Approved
CrystalDiskInfo (Portable) 7.6.1 7229 Wednesday, June 13, 2018 Approved
CrystalDiskInfo (Portable) 7.6.0 7278 Monday, April 9, 2018 Approved
CrystalDiskInfo (Portable) 7.5.1 9988 Monday, January 1, 2018 Approved
CrystalDiskInfo (Portable) 7.5.0 6999 Sunday, October 29, 2017 Approved
CrystalDiskInfo (Portable) 7.2.0 982 Saturday, October 28, 2017 Approved
CrystalDiskInfo (Portable) 7.1.1 8242 Friday, August 4, 2017 Approved
CrystalDiskInfo (Portable) 7.1.0 794 Thursday, August 3, 2017 Approved
CrystalDiskInfo (Portable) 7.0.5 9407 Sunday, January 1, 2017 Approved
CrystalDiskInfo (Portable) 7.0.4 440 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