locked
Get-BitlockerVolume : Invalid Property RRS feed

  • Question

  • Machine is fully encrypted with bitlocker. When i run the Powershell command Get-BitlockerVolume it says Invalid Property. 

    Sameway when i check using Manage-bde command everything working fine. 

    Get-CimInstance : Invalid property

    At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\BitLocker\BitLocker.psm1:357 char:24

    + ... ftVolume =  Get-CimInstance MSFT_Volume -NameSpace 'Root\Microsoft\Wi ...

    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : MetadataError: (:) [Get-CimInstance], CimException

        + FullyQualifiedErrorId : HRESULT 0x80041031,Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanceCommand

     

    Get-BitLockerVolumeInternal : Device Id: \\?\Volume{e01c7a-3f68-4a4d-a43c-73f13ea}\ does not have a

    corresponding volume.

    At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\BitLocker\BitLocker.psm1:697 char:89

    + ... iveLetter) {Get-BitLockerVolumeInternal -MountPoint $_.DriveLetter} e ...

    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [Write-Error], COMException

        + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Get-BitLockerVolumeInternal

    Any Advice, much appreciated!!!


    Regards, Hari Prasad.D


    Tuesday, July 14, 2020 9:32 AM

All replies

  • Advice? Okay. Don't post screenshots of errors. The coloring and text size makes it very difficult to read. Just copy the text from the screen and paste it into NotePad (to turn it into plain, uncolored text), and then copy/paste that into your question.

    Posting the code that caused the error is important, too, along with any parameter values that may have been used.

    Your error came from line 357 in a script named "BitLocker.psm1", but nobody can know what that line contains except, perhaps, you.


    --- Rich Matheisen MCSE&I, Exchange Ex-MVP (16 years)

    Tuesday, July 14, 2020 3:06 PM

  • Get-CimInstance : Invalid property

    At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\BitLocker\BitLocker.psm1:357 char:24

    + ... ftVolume =  Get-CimInstance MSFT_Volume -NameSpace 'Root\Microsoft\Wi ...

    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : MetadataError: (:) [Get-CimInstance], CimException

        + FullyQualifiedErrorId : HRESULT 0x80041031,Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanceCommand

     

    Get-BitLockerVolumeInternal : Device Id: \\?\Volume{e01c7a-3f68-4a4d-a43c-73f13ea}\ does not have a

    corresponding volume.

    At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\BitLocker\BitLocker.psm1:697 char:89

    + ... iveLetter) {Get-BitLockerVolumeInternal -MountPoint $_.DriveLetter} e ...

    +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [Write-Error], COMException

        + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Get-BitLockerVolumeInternal

     



    Regards, Hari Prasad.D

    Thursday, July 16, 2020 8:33 AM
  • Same command is working on my machine. Build Version, PowerShell Version all are similar no changes on both the machine. Bitlocker is fully encrypted on both machine. 

    Regards, Hari Prasad.D

    Thursday, July 16, 2020 8:34 AM
  • If i works on other machines then it may be that you have a damaged WMI repository.

    It's almost 12 years old, but try this:

    https://social.technet.microsoft.com/Forums/office/en-US/8ed26d46-9994-4052-a307-5b071805aea8/wmi-corrupt-how-to-reinstallrepair


    --- Rich Matheisen MCSE&I, Exchange Ex-MVP (16 years)

    Thursday, July 16, 2020 2:57 PM
  • Just to understand. issue with powershell. Will it come under WMI repository ?

    Regards, Hari Prasad.D

    Friday, July 17, 2020 4:24 AM
  • The ultimate way to check is to run this command in an elevated Command Prompt.

    winmgmt /verifyrepository


    \_(ツ)_/

    Friday, July 17, 2020 4:29 AM
  • That's easy enough to check. Try running WMIC (WMI command-line utility) on that machine and see if you're able to get the data from the MSFT_Volume class.

    --- Rich Matheisen MCSE&I, Exchange Ex-MVP (16 years)

    Friday, July 17, 2020 8:07 PM
  • WMI repository is consistent

    i'm getting above output in both the machines. 


    Regards, Hari Prasad.D

    Tuesday, July 21, 2020 9:30 AM