BdeHdCfg.exe

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

Hashes

Type Hash
MD5 29B6905327F9571F99697BA8951F60D5
SHA1 B4672D964AE2B08CDCC0F3319A1D318356A92765
SHA256 24D5AE729DBA94C00615C3C13A5FC0707912F991353F9DB826AB03EE066766A6
SHA384 B5C8D049AC0112492FB95321CB77B0D79692A22D057C2C8B727660464A20E9A63D6327150E97EA26AAECF20B24FD8642
SHA512 B64D2A0E51B3507FEF236B60DA9486E9FDEA5FFFAB8FD9892C237B44F6E4DE442CA81AAA02DB9E7B7D35066289B9373DB66BC81A59F23965A5525F78FAF82670
SSDEEP 3072:DlvGhPQT/X1aClKHVZzwnVS570M9kdatGCO+xmBc+hMPhPsx:DlGMBKHVZ8Vs7nyatGt+SYF

Runtime Data

Usage (stdout):

BitLocker Drive Preparation Tool version 10.0.17763
Copyright (C) 2013 Microsoft Corporation. All rights reserved.

Usage:

BdeHdCfg[.exe] 
               [-driveinfo]
               [-target {default | unallocated | 
                         TargetDriveLetter {shrink | merge} }]
               [-newdriveletter DriveLetter]
               [-size SizeInMegabytes]
               [-quiet] [-restart] [{-? | /?}]

Description:
  This command prepares your hard drive for BitLocker Drive Encryption.

  Command line parameters are not case-sensitive.

Parameters:
  -driveinfo
        Displays information about valid target drives.

  -target
        Specifies the target and operation.

        Specify 'shrink' to create a new active partition.
        Specify 'merge' to make an existing partition active.
        Specify 'unallocated' to use unformatted space on disk.
        Specify 'default' for the target to be chosen automatically.

        Examples: -target D: merge
                  -target C: shrink
                  -target unallocated
                  -target default

  -newdriveletter
        Specifies the desired drive letter for the new drive. This option is
        only valid when a new drive is created.

        Example: -newdriveletter S:

  -size
        Specifies the desired size of the new drive. This option is only valid
        when a new drive is created.

        If not specified, the Drive Preparation Tool assumes the required
        minimum size of 910 megabytes.

        Example: -size 700
        
  -quiet
        Specifies operation in quiet mode. No output from the drive preparation
        tool is displayed.

  -restart
        Enables an automatic restart after drive preparation.

        You must restart your computer before enabling BitLocker.

  -? or /?
        Displays help for this command.

Examples:
    BdeHdCfg -target c: shrink -newdriveletter x: -size 910 -quiet -restart
    BdeHdCfg -target d: merge -quiet -restart
    BdeHdCfg -target unallocated -newdriveletter s:
    BdeHdCfg -target default


Loaded Modules:

Path
C:\Windows\system32\BdeHdCfg.exe
C:\Windows\System32\KERNEL32.DLL
C:\Windows\System32\KERNELBASE.dll
C:\Windows\SYSTEM32\ntdll.dll

Signature

  • Status: Signature verified.
  • Serial: 33000001C422B2F79B793DACB20000000001C4
  • Thumbprint: AE9C1AE54763822EEC42474983D8B635116C8452
  • Issuer: CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
  • Subject: CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US

File Metadata

  • Original Filename: BdeHdCfg.exe.mui
  • Product Name: Microsoft Windows Operating System
  • Company Name: Microsoft Corporation
  • File Version: 10.0.17763.1 (WinBuild.160101.0800)
  • Product Version: 10.0.17763.1
  • 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 72
C:\Windows\system32\baaupdate.exe 72
C:\WINDOWS\system32\BdeHdCfg.exe 82
C:\Windows\system32\BdeHdCfg.exe 82
C:\windows\system32\BdeHdCfg.exe 71
C:\Windows\system32\bdeunlock.exe 44
C:\Windows\system32\bdeunlock.exe 46
C:\WINDOWS\system32\bdeunlock.exe 43
C:\windows\system32\bdeunlock.exe 49
C:\Windows\system32\BitLockerWizard.exe 77
C:\windows\system32\BitLockerWizard.exe 75
C:\WINDOWS\system32\BitLockerWizard.exe 75
C:\Windows\system32\BitLockerWizard.exe 74
C:\Windows\system32\BitLockerWizardElev.exe 74
C:\Windows\system32\BitLockerWizardElev.exe 74
C:\WINDOWS\system32\BitLockerWizardElev.exe 72
C:\windows\system32\BitLockerWizardElev.exe 79
C:\Windows\system32\fvecpl.dll 44
C:\Windows\system32\fvenotify.exe 66
C:\windows\system32\fvenotify.exe 66
C:\WINDOWS\system32\fvenotify.exe 65
C:\Windows\system32\fvenotify.exe 61
C:\WINDOWS\system32\fveprompt.exe 68
C:\Windows\system32\fveprompt.exe 65
C:\Windows\system32\fveprompt.exe 63
C:\windows\system32\fveprompt.exe 65
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 49
C:\windows\system32\manage-bde.exe 58
C:\Windows\system32\repair-bde.exe 71
C:\WINDOWS\system32\repair-bde.exe 72
C:\windows\system32\repair-bde.exe 71
C:\Windows\system32\repair-bde.exe 69

Additional Info*

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


bdehdcfg

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.

Syntax

bdehdcfg [–driveinfo <drive_letter>] [-target {default|unallocated|<drive_letter> shrink|<drive_letter> merge}] [–newdriveletter] [–size <size_in_mb>] [-quiet]
Parameters
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.