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:

852,451

Downloads of v 9.0.0-RC3:

46

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:

852,451

Downloads of v 9.0.0-RC3:

46

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.1.0 18882 Monday, July 10, 2023 Approved
CrystalDiskInfo (Portable) 9.0.1 20419 Wednesday, May 31, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0 1714 Tuesday, May 30, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0-RC3 46 Sunday, May 21, 2023 Approved
CrystalDiskInfo (Portable) 9.0.0-RC2 39 Monday, May 1, 2023 Approved
CrystalDiskInfo (Portable) 8.17.14 49106 Saturday, January 21, 2023 Approved
CrystalDiskInfo (Portable) 8.17.13 19605 Saturday, December 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.12 7601 Sunday, November 27, 2022 Approved
CrystalDiskInfo (Portable) 8.17.11 13982 Thursday, November 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.10 56 Thursday, November 3, 2022 Approved
CrystalDiskInfo (Portable) 8.17.9 11079 Saturday, October 29, 2022 Approved
CrystalDiskInfo (Portable) 8.17.8 41091 Saturday, October 8, 2022 Approved
CrystalDiskInfo (Portable) 8.17.7 43173 Monday, September 12, 2022 Approved
CrystalDiskInfo (Portable) 8.17.6 31012 Sunday, August 28, 2022 Approved
CrystalDiskInfo (Portable) 8.17.5 47496 Friday, July 29, 2022 Approved
CrystalDiskInfo (Portable) 8.17.4 19777 Sunday, July 17, 2022 Approved
CrystalDiskInfo (Portable) 8.17.3 8610 Sunday, June 26, 2022 Approved
CrystalDiskInfo (Portable) 8.17.2 11418 Saturday, June 18, 2022 Approved
CrystalDiskInfo (Portable) 8.17.1 3522 Friday, June 17, 2022 Approved
CrystalDiskInfo (Portable) 8.17.0 3193 Wednesday, June 15, 2022 Approved
CrystalDiskInfo (Portable) 8.16.4 25007 Friday, April 8, 2022 Approved
CrystalDiskInfo (Portable) 8.16.3 7083 Friday, April 1, 2022 Approved
CrystalDiskInfo (Portable) 8.16.2 1274 Friday, April 1, 2022 Approved
CrystalDiskInfo (Portable) 8.16.1 6702 Tuesday, March 29, 2022 Approved
CrystalDiskInfo (Portable) 8.16.0 4589 Sunday, March 27, 2022 Approved
CrystalDiskInfo (Portable) 8.15.2 15757 Sunday, February 13, 2022 Approved
CrystalDiskInfo (Portable) 8.15.1 2761 Friday, February 11, 2022 Approved
CrystalDiskInfo (Portable) 8.15.0 7795 Friday, February 4, 2022 Approved
CrystalDiskInfo (Portable) 8.14.2 11242 Saturday, January 15, 2022 Approved
CrystalDiskInfo (Portable) 8.14.0 622 Saturday, January 15, 2022 Approved
CrystalDiskInfo (Portable) 8.13.3 11057 Wednesday, December 22, 2021 Approved
CrystalDiskInfo (Portable) 8.13.2 2971 Sunday, December 19, 2021 Approved
CrystalDiskInfo (Portable) 8.13.1 4727 Saturday, December 18, 2021 Approved
CrystalDiskInfo (Portable) 8.13.0 10186 Friday, November 26, 2021 Approved
CrystalDiskInfo (Portable) 8.12.13 6240 Saturday, November 20, 2021 Approved
CrystalDiskInfo (Portable) 8.12.12 11328 Saturday, October 23, 2021 Approved
CrystalDiskInfo (Portable) 8.12.11 2375 Friday, October 22, 2021 Approved
CrystalDiskInfo (Portable) 8.12.10 8128 Saturday, October 9, 2021 Approved
CrystalDiskInfo (Portable) 8.12.9 7159 Wednesday, September 29, 2021 Approved
CrystalDiskInfo (Portable) 8.12.8 5120 Friday, September 24, 2021 Approved
CrystalDiskInfo (Portable) 8.12.7 10646 Saturday, August 28, 2021 Approved
CrystalDiskInfo (Portable) 8.12.6 7345 Monday, August 16, 2021 Approved
CrystalDiskInfo (Portable) 8.12.5 7072 Thursday, August 5, 2021 Approved
CrystalDiskInfo (Portable) 8.12.4 10285 Sunday, July 11, 2021 Approved
CrystalDiskInfo (Portable) 8.12.3 6361 Saturday, July 3, 2021 Approved
CrystalDiskInfo (Portable) 8.12.2 9644 Saturday, June 12, 2021 Approved
CrystalDiskInfo (Portable) 8.12.1 8532 Monday, May 31, 2021 Approved
CrystalDiskInfo (Portable) 8.12.0 21955 Sunday, March 21, 2021 Approved
CrystalDiskInfo (Portable) 8.11.2 13304 Tuesday, February 23, 2021 Approved
CrystalDiskInfo (Portable) 8.11.1 7104 Sunday, February 14, 2021 Approved
CrystalDiskInfo (Portable) 8.11.0 4064 Thursday, February 11, 2021 Approved
CrystalDiskInfo (Portable) 8.10.0 10851 Friday, January 22, 2021 Approved
CrystalDiskInfo (Portable) 8.9.0 16039 Tuesday, December 15, 2020 Approved
CrystalDiskInfo (Portable) 8.8.9 16479 Monday, September 28, 2020 Approved
CrystalDiskInfo (Portable) 8.8.8 3219 Wednesday, September 23, 2020 Approved
CrystalDiskInfo (Portable) 8.8.7 3973 Thursday, September 17, 2020 Approved
CrystalDiskInfo (Portable) 8.8.6 4093 Saturday, September 12, 2020 Approved
CrystalDiskInfo (Portable) 8.8.5 3845 Monday, September 7, 2020 Approved
CrystalDiskInfo (Portable) 8.8.4 2041 Saturday, September 5, 2020 Approved
CrystalDiskInfo (Portable) 8.8.2 2446 Tuesday, September 1, 2020 Approved
CrystalDiskInfo (Portable) 8.8.1 3156 Saturday, August 29, 2020 Approved
CrystalDiskInfo (Portable) 8.8.0 272 Saturday, August 29, 2020 Approved
CrystalDiskInfo (Portable) 8.7.0 9753 Friday, July 10, 2020 Approved
CrystalDiskInfo (Portable) 8.6.2 4649 Sunday, June 28, 2020 Approved
CrystalDiskInfo (Portable) 8.6.1 3470 Sunday, June 21, 2020 Approved
CrystalDiskInfo (Portable) 8.6.0 2645 Tuesday, June 16, 2020 Approved
CrystalDiskInfo (Portable) 8.3.1 20336 Saturday, October 12, 2019 Approved
CrystalDiskInfo (Portable) 8.3.0 5467 Monday, September 2, 2019 Approved
CrystalDiskInfo (Portable) 8.2.3 4298 Sunday, August 11, 2019 Approved
CrystalDiskInfo (Portable) 8.2.1 2492 Monday, August 5, 2019 Approved
CrystalDiskInfo (Portable) 8.2.0 5237 Saturday, June 29, 2019 Approved
CrystalDiskInfo (Portable) 8.1.0 6450 Friday, May 3, 2019 Approved
CrystalDiskInfo (Portable) 8.0.0.20190225 5951 Sunday, February 24, 2019 Approved
CrystalDiskInfo (Portable) 8.0.0 12165 Monday, November 19, 2018 Approved
CrystalDiskInfo (Portable) 7.8.3 4198 Wednesday, October 24, 2018 Approved
CrystalDiskInfo (Portable) 7.8.2 1228 Monday, October 22, 2018 Approved
CrystalDiskInfo (Portable) 7.8.0 5065 Wednesday, September 26, 2018 Approved
CrystalDiskInfo (Portable) 7.7.0 5347 Saturday, August 18, 2018 Approved
CrystalDiskInfo (Portable) 7.6.1 7212 Wednesday, June 13, 2018 Approved
CrystalDiskInfo (Portable) 7.6.0 7263 Monday, April 9, 2018 Approved
CrystalDiskInfo (Portable) 7.5.1 9969 Monday, January 1, 2018 Approved
CrystalDiskInfo (Portable) 7.5.0 6985 Sunday, October 29, 2017 Approved
CrystalDiskInfo (Portable) 7.2.0 968 Saturday, October 28, 2017 Approved
CrystalDiskInfo (Portable) 7.1.1 8225 Friday, August 4, 2017 Approved
CrystalDiskInfo (Portable) 7.1.0 775 Thursday, August 3, 2017 Approved
CrystalDiskInfo (Portable) 7.0.5 9396 Sunday, January 1, 2017 Approved
CrystalDiskInfo (Portable) 7.0.4 431 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