• File Path: C:\windows\system32\BdeHdCfg.exe
  • Description: BitLocker Drive Encryption: Drive Preparation Tool


Type Hash
MD5 A0B0BD83DF86073C86D4111FDF4B82AB
SHA1 CD4A011F2D39D2C9944F944D0A2664833512EFAA
SHA256 AF5EFBFB05EAF46626EFB8DBFD8BD1A878A224E2C12438D26B6B88AAD764939E
SHA384 9AF969C5A892175D03A28F65688BFCDC236A36629B082AF83F8EE1658628F05B08A2CA3DF124D7D47970D42C7E06145C
SHA512 F9F96A3D67C56790F4A6E953DD29FBF8E0A07BDD2C3715524B36D73FC0505F1F05A22E675CFF072333C28B6DD9050582545BFBC52B882A8082889A8B33514789
SSDEEP 3072:m3F7+BQd9UKEVMownVS570M9kdatGCO+xmBc+hMPhPsx:m3F7uKEVMpVs7nyatGt+SYF


  • Status: The file C:\windows\system32\BdeHdCfg.exe is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at
  • Serial: ``
  • Thumbprint: ``
  • Issuer:
  • Subject:

File Metadata

  • Original Filename: BdeHdCfg.exe.mui
  • Product Name: Microsoft Windows Operating System
  • Company Name: Microsoft Corporation
  • File Version: 6.3.9600.16384 (winblue_rtm.130821-1623)
  • Product Version: 6.3.9600.16384
  • Language: English (United States)
  • Legal Copyright: Microsoft Corporation. All rights reserved.

File Similarity (ssdeep match)

File Score
C:\Windows\system32\baaupdate.exe 75
C:\WINDOWS\system32\baaupdate.exe 74
C:\windows\system32\baaupdate.exe 74
C:\Windows\system32\baaupdate.exe 79
C:\Windows\system32\BdeHdCfg.exe 71
C:\WINDOWS\system32\BdeHdCfg.exe 72
C:\Windows\system32\BdeHdCfg.exe 74
C:\Windows\system32\bdeunlock.exe 41
C:\Windows\system32\bdeunlock.exe 46
C:\WINDOWS\system32\bdeunlock.exe 49
C:\windows\system32\bdeunlock.exe 54
C:\Windows\system32\BitLockerWizard.exe 79
C:\windows\system32\BitLockerWizard.exe 79
C:\WINDOWS\system32\BitLockerWizard.exe 77
C:\Windows\system32\BitLockerWizard.exe 79
C:\Windows\system32\BitLockerWizardElev.exe 79
C:\Windows\system32\BitLockerWizardElev.exe 77
C:\WINDOWS\system32\BitLockerWizardElev.exe 79
C:\windows\system32\BitLockerWizardElev.exe 80
C:\Windows\system32\fvecpl.dll 41
C:\Windows\system32\fvenotify.exe 65
C:\windows\system32\fvenotify.exe 69
C:\WINDOWS\system32\fvenotify.exe 65
C:\Windows\system32\fvenotify.exe 65
C:\WINDOWS\system32\fveprompt.exe 69
C:\Windows\system32\fveprompt.exe 66
C:\Windows\system32\fveprompt.exe 63
C:\windows\system32\fveprompt.exe 68
C:\Windows\system32\fveui.dll 49
C:\WINDOWS\system32\manage-bde.exe 49
C:\Windows\system32\manage-bde.exe 47
C:\Windows\system32\manage-bde.exe 54
C:\windows\system32\manage-bde.exe 55
C:\Windows\system32\repair-bde.exe 69
C:\WINDOWS\system32\repair-bde.exe 72
C:\windows\system32\repair-bde.exe 69
C:\Windows\system32\repair-bde.exe 68

Additional Info*

*The information below is copied from MicrosoftDocs, which is maintained by Microsoft. Available under CC BY 4.0 license.


Prepares a hard drive with the partitions necessary for BitLocker Drive Encryption. Most installations of Windows 7 will not need to use this tool because BitLocker setup includes the ability to prepare and repartition drives as required.

[!WARNING] There is a known conflict with the Deny write access to fixed drives not protected by BitLocker Group Policy setting located in Computer Configuration\Administrative Templates\Windows Components\BitLocker Drive Encryption\Fixed Data Drives.

If bdehdcfg is run on a computer when this policy setting is enabled, you may encounter the following issues:

  • If you attempted to shrink the drive and create the system drive, the drive size will be successfully reduced and a raw partition will be created. However, the raw partition will not be formatted. The following error message is displayed: The new active Drive cannot be formatted. You may need to manually prepare your drive for BitLocker.

  • If you attempted to use unallocated space to create the system drive, a raw partition will be created. However, the raw partition will not be formatted. The following error message is displayed: The new active Drive cannot be formatted. You may need to manually prepare your drive for BitLocker.

  • If you attempted to merge an existing drive into the system drive, the tool will fail to copy the required boot file onto the target drive to create the system drive. The following error message is displayed: BitLocker setup failed to copy boot files. You may need to manually prepare your drive for BitLocker.

  • If this policy setting is being enforced, a hard drive cannot be repartitioned because the drive is protected. If you are upgrading computers in your organization from a previous version of Windows and those computers were configured with a single partition, you should create the required BitLocker system partition before applying the policy setting to the computers.


bdehdcfg [–driveinfo <drive_letter>] [-target {default|unallocated|<drive_letter> shrink|<drive_letter> merge}] [–newdriveletter] [–size <size_in_mb>] [-quiet]
Parameter Description
bdehdcfg: driveinfo Displays the drive letter, the total size, the maximum free space, and the partition characteristics of the partitions on the drive specified. Only valid partitions are listed. Unallocated space is not listed if four primary or extended partitions already exist.
bdehdcfg: target Defines which portion of a drive to use as the system drive and makes the portion active.
bdehdcfg: newdriveletter Assigns a new drive letter to the portion of a drive used as the system drive.
bdehdcfg: size Determines the size of the system partition when a new system drive is being created.
bdehdcfg: quiet Prevents the display of all actions and errors in the command-line interface and directs bdehdcfg to use the Yes answer to any Yes/No prompts that may occur during subsequent drive preparation.
bdehdcfg: restart Directs the computer to restart after the drive preparation has finished.
/? Displays Help at the command prompt.

Additional References

MIT License. Copyright (c) 2020-2021 Strontic.