📎 AI Summary:
The original poster in the WindowsForum thread inquires about WMI APIs to check the status of a drive encrypted with BitLocker, specifically whether it is write-protected, after unlocking. A respondent suggests using PowerShell commands: `Get-BitLockerVolume` for BitLocker-specific details and `Get-Disk | ? { $_.IsReadOnly -eq $True }` to determine if a disk is read-only. The overall discussion provides practical command-line methods to check drive status rather than specific WMI API usage.

Zera

New Member
Joined
Jun 14, 2022
Messages
1
Thread Author #1
We've encrypted a drive using bit locker drive encryption. After unlocking the drive, Is there any WMI API's available to get the status of drive? Like, whether it is write protected or not.
 

Solution
For bitlocker specific details, from an elevated Powershell prompt type Get-BitLockerVolume or optionally add | fl * at the end for more details.

To see if a disk is read-only, in Powershel, run the following command
Get-Disk | ? { $_.IsReadOnly -eq $True } or just do Get-Disk | fl * and look for isReadOnly

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
For bitlocker specific details, from an elevated Powershell prompt type Get-BitLockerVolume or optionally add | fl * at the end for more details.

To see if a disk is read-only, in Powershel, run the following command
Get-Disk | ? { $_.IsReadOnly -eq $True } or just do Get-Disk | fl * and look for isReadOnly
 

Solution