0

我正在将外部驱动器移动到新计算机上。

该驱动器受 Bitlocker 保护,但我可以解锁它并查看内容。

但是,当我尝试配置自动解锁时,我看到:

C:\>manage-bde -autounlock -enable d:
BitLocker Drive Encryption: Configuration Tool version 10.0.17763
Copyright (C) 2013 Microsoft Corporation. All rights reserved.

ERROR: An error occurred (code 0x80310010):
The BitLocker metadata for the encrypted drive is not valid. You can attempt to repair the drive to restore access.

有没有办法重建元数据?

显然元数据足够有效以解锁卷,所以我想知道错误消息是否正确。

4

1 回答 1

0

进一步调查显示错误消息不正确。

问题的原因是磁盘被标记为只读。

使用diskpart清除只读标志,然后锁定和解锁卷后,manage-bde -autounlock -enable d:工作正常。

C:\>diskpart

Microsoft DiskPart version 10.0.17763.1554

Copyright (C) Microsoft Corporation.
On computer: HYPER-V

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     C                NTFS   Partition    465 GB  Healthy    Boot
  Volume 1         Recovery     NTFS   Partition    499 MB  Healthy    Hidden
  Volume 2                      FAT32  Partition    100 MB  Healthy    System
  Volume 3     D   DATA         ReFS   Partition   7449 GB  Healthy

DISKPART> select volume 3

Volume 3 is the selected volume.

DISKPART> attributes disk
Current Read-only State : Yes
Read-only  : Yes
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

DISKPART> attributes disk clear readonly

Disk attributes cleared successfully.

DISKPART> exit

C:\>manage-bde -lock d:
BitLocker Drive Encryption: Configuration Tool version 10.0.17763
Copyright (C) 2013 Microsoft Corporation. All rights reserved.

Volume D: is now locked

C:\>manage-bde -unlock d: -pw
BitLocker Drive Encryption: Configuration Tool version 10.0.17763
Copyright (C) 2013 Microsoft Corporation. All rights reserved.

Enter the password to unlock this volume:
The password successfully unlocked volume D:.

C:\>manage-bde -autounlock -enable d:
BitLocker Drive Encryption: Configuration Tool version 10.0.17763
Copyright (C) 2013 Microsoft Corporation. All rights reserved.

Key Protectors Added:
    External Key:
      ID: {3CEFC24B-BBBF-4818-A128-9FA0E87E872D}
      External Key File Name:
        3CEFC24B-BBBF-4818-A128-9FA0E87E872D.BEK
      Automatic unlock enabled.
于 2021-03-28T02:12:41.297 回答