files-community / files-community/Files

Bug: Mounting VHD files with Bitlocker may cause an issue that can't access it

Open
#17,753 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 1m
Merged PRs (30d)
60

Description

### Description

When using Files to mount a VHDX file containing BitLocker, a UAC dialog pops up, but nothing happens. The file is actually mounted but remains unlocked. If you attempt to mount it again, you won’t be able to access its files, and Disk Manager will display an "unknown" partition with BitLocker.

### Steps To Reproduce

1. A VHDX file contains 1 or more partitions encrypted by Bitlocker;
2. Mount it;
3. Hold on a second;
4. If not require to input password, double-click VHDX file again;
5. Reproduced.
6. (Optional) Open Windows explorer and click the partition in VHDX -> "Parameter error";
7. (Optional) Open Disk Manager -> Unknown partition (Bitlocker enabled)

### Files Version

4.0.11.0

### Windows Version

10.0.19045.6093

### User ID

f1384ff5-af56-4c1f-9960-4378061d5b83

### Log File

[debug.log](https://github.com/user-attachments/files/22852358/debug.log)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.