WMI API to know whether the drive is READ/WRITE Protected.


New Member
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.


Principal Cybersecurity Architect
Staff member
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