Hi @Anonymous ,
Ensure that your application has sufficient privileges to query WMI.
Use tools like WMI Explorer or PowerShell to test if the Availability
property is populated for your system disks.
If Availability
is not populated, you might want to use other properties of the Win32_DiskDrive
class like Status
which indicates the current status of the disk (e.g., "OK").
Best Regards.
Jiachen Li
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.