Downloads:

2,123

Downloads of v 5.50:

197

Last Update:

10 Aug 2019

Package Maintainer(s):

Software Author(s):

  • H.D.S. Hungary.

Tags:

hdd-monitor disk-analyzer disk-temperature monitor analyzer analyze prevent

Hard Disk Sentinel

5.50 | Updated: 10 Aug 2019

Downloads:

2,123

Downloads of v 5.50:

197

Maintainer(s):

Software Author(s):

  • H.D.S. Hungary.

Hard Disk Sentinel 5.50

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Hard Disk Sentinel, run the following command from the command line or from PowerShell:

>

To upgrade Hard Disk Sentinel, run the following command from the command line or from PowerShell:

>

To uninstall Hard Disk Sentinel, 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 https://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. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade hdsentinel -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 hdsentinel -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure hdsentinel installed
  win_chocolatey:
    name: hdsentinel
    state: present
    version: 5.50
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'hdsentinel' do
  action    :install
  version  '5.50'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: hdsentinel,
    Version: 5.50,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller hdsentinel
{
   Name     = 'hdsentinel'
   Ensure   = 'Present'
   Version  = '5.50'
   Source   = 'STEP 3 URL'
}

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


package { 'hdsentinel':
  provider => 'chocolatey',
  ensure   => '5.50',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install hdsentinel version="5.50" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator flcdrg on 17 Aug 2019.

Description

Hard Disk Sentinel (HDSentinel) is a multi-OS SSD and HDD monitoring and analysis software. Its goal is to find, test, diagnose and repair hard disk drive problems, report and display SSD and HDD health, performance degradations and failures. Hard Disk Sentinel gives complete textual description, tips and displays/reports the most comprehensive information about the hard disks and solid state disks inside the computer and in external enclosures (USB hard disks / e-SATA hard disks). Many different alerts and report options are available to ensure maximum safety of your valuable data.

This is a commercial product, with a 30 day trial. This package is for a Standard version. For details about different versions and pricing go to http://www.hdsentinel.com/hard_disk_sentinel.php

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\chocolateyInstall.ps1
. (Join-Path (Split-Path -parent $MyInvocation.MyCommand.Definition) 'helpers\KillAsap.ps1')

$ErrorActionPreference = 'Stop'; # stop on all errors

$packageName    = "hdsentinel"
$packageTitle   = "HDSentinel"
$installerType  = "EXE"
$packageVersion = "5.50"
$url            = "https://www.harddisksentinel.com/hdsentinel_setup.zip"
$silentArgs     = "/sp- /verysilent /norestart"
$checksum       = "a10ad687c9349161e8693f969d8891d6b819f47b35bed76b60e65c53b4449315"
$checksumType   = "sha256"
$validExitCodes = @(0)



#extract filename from source URL
$filename       = $url.Substring($url.LastIndexOf("/") + 1)

#establish temp folder path
$tmpDir         = $env:temp,$packageName -join "\"

#establish full path to local copy of downloaded zip file
$pathToZip      = ($tmpDir,$filename -join "\")




# download zip package
Get-ChocolateyWebFile  `
    -PackageName $packageName `
    -FileFullPath $pathToZip `
    -Url $url `
    -Checksum $checksum `
    -ChecksumType $checksumType



# extract it
Get-ChocolateyUnzip `
  -FileFullPath $pathToZip `
  -Destination $tmpDir



# establish path to extracted installer (exe)
$pathToExe =  Join-Path $tmpDir (get-childitem $tmpDir | where {$_.extension -eq ".exe"}).Name



# install package
Install-ChocolateyInstallPackage `
  -PackageName $packageName `
  -FileType $installerType `
  -SilentArgs $silentArgs `
  -ValidExitCodes $validExitCodes `
  -File $pathToExe



# the app spins up a window straight after installation ends. Kill it.
KillAsap $packageTitle
tools\helpers\killAsap.ps1
# ====================================================
# KillAsap
# ====================================================
# Iniates Kill Listener
#
# @param   {string}    Process Name
# @return  {void}
# ====================================================
Function KillAsap([string]$appName){
    $timerStart = (Get-Date)
    $timeout    = 15 #seconds

    KillAttempt $appName $timeout
}




# ====================================================
# KillAttempt
# ====================================================
# Check for given process and try to kill it.
# If it doesn't exists, retry after specific delay.
# If retries exceed max allowed duration, give up.
#
# @param   {string}    Process Name
# @param   {int}       Timeout [s]
# @return  {void}
# ====================================================
Function KillAttempt([string]$appName, [int]$timeout){
    $countdown = $timeout - ((Get-Date) - $timerStart).Seconds


    # Exit after $timeout seconds if unseccessful
    if($countdown -le 0){
        Write-Host "`nNo '$appName' windows found. Proceeding."
        return;
    }



    # Kill the process if present, otherwise retry
    if($appName -ne $null){
        $process = (Get-Process $($appName) 2> $null)

        if(!$process){
            Write-Host -NoNewLine "`rWaiting for '$appName' to spawn its windows: $countdown "
            Start-Sleep -m 250
            KillAttempt $appName $timeout

        }else{
            $process | Stop-Process -force
            Write-Host "'$appName' windows found and closed. Proceeding."

        }

    }
}

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
Hard Disk Sentinel 5.40 292 Monday, March 25, 2019 Approved
Hard Disk Sentinel 5.30 533 Monday, July 23, 2018 Approved
Hard Disk Sentinel 5.20 204 Wednesday, May 16, 2018 Approved
Hard Disk Sentinel 4.60 781 Monday, August 3, 2015 Approved

This package has no dependencies.

Discussion for the Hard Disk Sentinel Package

Ground Rules:

  • This discussion is only about Hard Disk Sentinel and the Hard Disk Sentinel 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 Hard Disk Sentinel, 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