Hello
To temporarily stop the get-SMART-log command to your NVMe SSD in Windows OS with the storNVME driver, you can follow these steps:
Identify the Controller Data Structure: Issue an Identify command with CNS=0x01 to retrieve the Controller data structure. This command should complete with a good status. You can read the Identify Controller to determine the supported log page attributes and the number of namespaces.
Issue a Get Log Page Command: Issue a Get Log Page command with LID=0x02. If the Identify Controller indicates that LPA=1 (supports the SMART/Health information log page on a per namespace) and the namespace is valid, the command should complete with a good status. If LPA=0 (does not support the SMART/Health information log page on a per namespace) and the namespace is non-global, the command should complete with status Invalid Field in Command.
Use PowerShell Scripts: You can use PowerShell scripts to issue NVMe commands to the NVMe drive using Windows' inbox NVMe device driver. For example, you can use the get-smart-log.ps1 script to get S.M.A.R.T. log data. You can find these scripts in the nvmetool-win-powershell repository on GitHub.
Modify the StorNVMe Driver: The StorNVMe driver supports various commands, and you can modify its behavior by using the appropriate IOCTL commands. For more information, you can refer to the StorNVMe Command Set Support documentation on Microsoft Learn.
StorNVMe Command Set Support - Windows drivers | Microsoft Learn