How to Check Drive Health and SMART Status in Windows 10 Hardware & Drivers

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 68,657
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #10

    phrab said:
    I just did a repair on Powershell 7.3.1 from Github, but no change. I wonder if I should try the .zip file instead of the .msi file.
    I don't think it would make any difference, but can't hurt to see.
      My Computers


  2. Posts : 943
    windows 10 professional 64-bit, 22H2
       #11

    Brink said:
    I don't think it would make any difference, but can't hurt to see.
    No difference. |And I checked the SHA-256 & it was correct. Anyhow, great tutorial & it gives several options for checking hard drives.
      My Computers


  3. Posts : 525
    Windows 10
       #12

    I tried Option One from a boot UFD. It worked if the UFD was built with a WinRE, but not if built with a WinPE (based on W10 2004). In the latter case, the wmic command was not recognized as valid.
      My Computer


  4. Posts : 68,657
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #13

    Anibor said:
    I tried Option One from a boot UFD. It worked if the UFD was built with a WinRE, but not if built with a WinPE (based on W10 2004). In the latter case, the wmic command was not recognized as valid.
    Hello mate,

    It should work in a command prompt at boot from a Windows 10 installation USB like below.

    How to Check Drive Health and SMART Status in Windows 10-command_prompt_at_boot.png
      My Computers


  5. Posts : 21,421
    19044.1586 - 21H2 Pro x64
       #14

    FYI - Get-CimInstance -namespace root\wmi -class MSStorageDriver_FailurePredictStatus works for me on Powershell 7.1.3 from github and inbuilt powershell version 5.1.x on 2004 too.
      My Computer


  6. Posts : 68,657
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #15

    steve108 said:
    FYI - Get-CimInstance -namespace root\wmi -class MSStorageDriver_FailurePredictStatus works for me on Powershell 7.1.3 from github and inbuilt powershell version 5.1.x on 2004 too.
    Thank you Steve. I added this command to option 3 to help others with the same issue.
      My Computers


  7. Posts : 21,421
    19044.1586 - 21H2 Pro x64
       #16

    Brink said:
    Thank you Steve. I added this command to option 3 to help others with the same issue.
    Oh, I see - I missed that.
    Get-WmiObject -namespace root\wmi -class MSStorageDriver_FailurePredictStatus
    doesn't work for me on PS 7.1.3 either, but works with 5.1.x

    As I previously reported, the work around
    Get-CimInstance -namespace root\wmi -class MSStorageDriver_FailurePredictStatus
    works on both.
      My Computer


  8. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #17

    Hello @Brink ,

    As per your excellent Tutorial, I wrote this some time ago [ Updated for this post ] to extract the information as stated in Options 1, 2, & 3, on a Running OS . . .

    Code:
    
    @echo off
    if not "%1"=="max" start /max cmd /c %0 max & Exit/b
    :: #################################################################################################################
    :: # Title     : Check Drive Health and SMART Status                                                               #
    :: # Created By: Paul Black                                                                                        #
    :: # Created On: 24-Sep-2021                                                                                       #
    :: # Tutorial  : https://www.tenforums.com/tutorials/163843-how-check-drive-health-smart-status-windows-10-a.html  #
    :: #################################################################################################################
    set "Title=Check Drive[s] Health and S.M.A.R.T. [ Self-Monitoring, Analysis and Reporting Technology ] Status" & set "Author=Paul Black"
    title %Title% - Written by %Author%.
    
    setlocal EnableDelayedExpansion
    set "params=%*"
    cd /d "%~dp0" && ( if exist "%Temp%\getadmin.vbs" del "%Temp%\getadmin.vbs") && fsutil dirty query %systemdrive% 1>nul 2>nul || ( echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && %~s0 %params%", "", "runas", 1 >> "%Temp%\getadmin.vbs" && "%Temp%\getadmin.vbs" && Exit /b)
    %windir%\system32\reg.exe query "HKU\S-1-5-19" 1>nul 2>nul || ( echo. & echo  ERROR: This Batch file MUST be run in an ELEVATED cmd prompt [ Administrator ] & echo. & echo         Right-click the Batch file and click ^<Run as Administrator^>. & echo. & echo ^>Press ANY key to EXIT . . . & pause >nul & Exit )
    
    echo. & echo    ###################################################################################################################################################################
            echo    #                                                                                                                                                                 #
            echo    #  %Title%                                                             #
            echo    #                                                                                                                                                                 #
            echo    ###################################################################################################################################################################
    echo. & echo    Processing . . .
    echo. & echo    ===================================================================================================================================================================
            echo    Checking SMART Status of Drive[s] . . .
            echo    ===================================================================================================================================================================
    echo. &         wmic diskdrive get model, name, serialnumber, status
            echo    ===================================================================================================================================================================
            echo    Checking SMART Failure Predict Status of Drive[s] . . .
            echo    ===================================================================================================================================================================
    echo. &         wmic /namespace:\\root\wmi path MSStorageDriver_FailurePredictStatus
                    PowerShell Get-CimInstance -namespace root\wmi -class MSStorageDriver_FailurePredictStatus
                    PowerShell Get-WmiObject -namespace root\wmi -class MSStorageDriver_FailurePredictStatus
            echo    ===================================================================================================================================================================
    echo. & echo    Processing Complete.
    echo. & echo ^>^> Press ANY key to EXIT . . . & pause >nul & Exit

      My Computer


  9. Posts : 107
    Windows 7/8.1/10
       #18

    steve108 said:
    @Brink,
    Hello Shawn, I'm using latest 2004 Home and don't see "Manage Disks and Volumes" as shown above in this screen
    https://www.tenforums.com/attachment...vehealth-1.jpg

    I just checked on a PC that does have a NVME drive. Can you confirm if you see this or not please? Thanks
    Brink said:
    Hello Steve,
    Unfortunately, it's only available for build 20226 and higher.
    I have the latest build of Windows 10. I also don't see it either. I have a Lenovo laptop running Windows 10 Pro 10.0.19043 Build 19043
    Last edited by Brink; 26 Sep 2021 at 08:50. Reason: fixed quote box
      My Computers


  10. Posts : 68,657
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #19

    Sammy888 said:
    I have the latest build of Windows 10. I also don't see it either. I have a Lenovo laptop running Windows 10 Pro 10.0.19043 Build 19043
    Hello mate,

    It wouldn't be available for build 19043.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:15.
Find Us




Windows 10 Forums