BdeHdCfg.exe
- File Path:
C:\WINDOWS\system32\BdeHdCfg.exe
- Description: BitLocker Drive Encryption: Drive Preparation Tool
Hashes
Type | Hash |
---|---|
MD5 | 49993078062CFCCFE5EE1ACCF47B1EAF |
SHA1 | 34597C2BF5FA0BD247C74195B4D5A06FFD8BC461 |
SHA256 | B513A5CFF54702917DE47ADC85E717BAD75ADA41967253A55FB928365DF2E020 |
SHA384 | 06CA05C82F119FC12922D0B20F9F02F2D9CD1218472D1C8790427F8EAC5AD0A940EB79440289D4BC595BF740E31B73D2 |
SHA512 | AA832DF6A6EC05C915EF5798B7577F5FF0968C4A2449D9019ABFF2FA64B61E502CFEBAAFE05D523CF5882E2C780BAB21DC331083BB15852ABD3D0D440157CC5E |
SSDEEP | 3072:qVSiRmzT/b1a+PKHVZzwnVS570M9kdatGCO+xmBc+hMPhPsx:q8x3KHVZ8Vs7nyatGt+SYF |
Runtime Data
Usage (stdout):
BitLocker Drive Preparation Tool version 10.0.18362
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 550 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 550 -quiet -restart
BdeHdCfg -target d: merge -quiet -restart
BdeHdCfg -target unallocated -newdriveletter s:
BdeHdCfg -target default
Signature
- Status: Signature verified.
- Serial:
330000023241FB59996DCC4DFF000000000232
- Thumbprint:
FF82BC38E1DA5E596DF374C53E3617F7EDA36B06
- 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.18362.1 (WinBuild.160101.0800)
- Product Version: 10.0.18362.1
- Language: English (United States)
- Legal Copyright: Microsoft Corporation. All rights reserved.
File Similarity (ssdeep match)
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.