Skip to content

Commit

Permalink
Update BitLocker-Enable.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
HotCakeX committed Oct 4, 2024
1 parent 4721d84 commit 5439d51
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ internal static void Enable(string DriveLetter, bool FreePlusUsedSpace)


// If the Auto-unlock (aka ExternalKey) key protector is not present, add it
// This only runs if all the ExternalKey key protectors were deleted in the previous step
// Indicating that none of them were bound to the OS Drive and were leftovers of previous OS Installations
if (!KeyProtectors.Contains(BitLocker.KeyProtectorType.ExternalKey))
{
Logger.LogMessage($"Adding a new {BitLocker.KeyProtectorType.ExternalKey} key protector for Auto-unlock to the drive {DriveLetter}.", LogTypeIntel.Information);
Expand Down

0 comments on commit 5439d51

Please sign in to comment.