BdeHdCfgLib.dll

Associated Error Codes

Below lists error codes and symbolic names found for this module.

CodeFound inDescription
0x3000000a1011Initialization
0x3000000b1011Shrink
0x3000000c1011Create
0x3000000d1011Prepare
0x40a000331011BitLocker Drive Preparation Tool version %1!s! Copyright (C) 2013 Microsoft Corporation. All rights reserved.
0x40a000341011Initializing, please wait...
0x40a000351011You must restart your computer to apply these changes. Before restarting, save any open files and close all programs.
0x40a000361011Usage: 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 %1!d! 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 %1!d! -quiet -restart BdeHdCfg -target d: merge -quiet -restart BdeHdCfg -target unallocated -newdriveletter s: BdeHdCfg -target default
0x40a000381011The target drive has a cluster size larger than 4 KB.
0x40a000391011The target drive is not large enough for the requested operation.
0x40a0003a1011The target drive does not have sufficient free space for the requested operation.
0x40a0003b1011The target drive cannot shrink by the requested size.
0x40a0003c1011The target drive is compressed and cannot be used for the merge operation.
0x40a0003d1011The target drive is not on the same physical disk as the system drive.
0x40a0003e1011The target drive is on a logical (extended) partition.
0x40a0003f1011The system drive cannot be used for the merge operation.
0x40a000401011The target drive is encrypted and cannot be used for the merge operation.
0x40a000411011The target drive is not a type 0x07 or 0x27 partition.
0x40a000421011The target drive is not formatted with the NTFS file system.
0x40a000431011The system is currently running on battery power.
0x40a000441011An error occurred when attempting to query the system's power status.
0x40a000451011The new disk drive's DACL could not be modified.
0x500000021011Error
0x500000031011Warning
0x500000041011Information
0x500000051011Verbose
0x80a000171011BitLocker Setup failed to query the system's power status. It could not be verified that the machine is on AC power.
0x80a000371011BitLocker Setup could not lock the target drive. The drive will be forcibly dismounted.
0x900000011011Microsoft-Windows-BitLocker-DrivePreparationTool
0x900000021011Microsoft-Windows-BitLocker-DrivePreparationTool/Admin
0x900000031011Microsoft-Windows-BitLocker-DrivePreparationTool/Operational
0xb00100011011A problem occurred while running the BitLocker Drive Preparation Tool. Error Code: %1 Error Text: %2
0xb00101001011Warning Code: %1 Warning Text: %2
0xb00102001011The BitLocker Drive Configuration Tool successfully completed. The target hard disk is ready for BitLocker.
0xb00110001011Found a candidate volume for shrink or merge. Shrinkable: %1 Candidate Volume Name: %3
0xb00110011011Found an unallocated extent large enough for the requested size. Offset: %3 Size: %4
0xb00110021011Disk extent located on the hard disk containing the System Drive. Offset: %3 Size: %4
0xb00110031011Command-line parameters for the BitLocker Drive Preparation Tool: %1
0xb00110041011Drive will shrink and new active drive %6 will be created. Volume Name: %1 Shrink Size: %5 Bytes
0xb00110051011New drive %3 will be created from unallocated space Unallocated extent offset: %1 New partition size: %2 Bytes
0xb00110061011Drive will be set as the new system drive Volume Name: %1
0xb00110071011Detected Windows Recovery Environment volume Volume Path: %1
0xb00110081011A volume failed to meet the requirements for a target volume. Volume Name: %3 Reason: %2
0xc0a000011011The current process is not elevated, and does not have the necessary privileges to run. Open an Administrator command prompt and run BitLocker Setup again.
0xc0a000021011This computer's hard drive is properly configured for BitLocker. It is not necessary to run BitLocker Setup.
0xc0a000031011BitLocker Setup requires a fixed hard drive. Run this setup from the hard drive intended for BitLocker.
0xc0a000041011BitLocker Setup was expecting MBR (Master Boot Record) partitioning style, but a different partitioning style was found. You may need to manually prepare your drive for BitLocker.
0xc0a000051011BitLocker Setup requires the disk cluster size to be no more than than 4 KB. You may need to manually prepare your drive for BitLocker.
0xc0a000061011Changes made to your computer require that you restart before running BitLocker Setup.
0xc0a000071011BitLocker Setup could not find a target system drive. You may need to manually prepare your drive for BitLocker.
0xc0a000081011BitLocker Setup requires the drive file system to be NTFS. Convert the file system and run BitLocker Setup again.
0xc0a000091011BitLocker Setup requires a basic disk. Convert your dynamic disk to a basic disk and run BitLocker Setup again.
0xc0a0000a1011BitLocker Setup could not change the active partition. You may need to manually prepare your drive for BitLocker.
0xc0a0000b1011BitLocker Setup failed to copy boot files. You may need to manually prepare your drive for BitLocker.
0xc0a0000c1011BitLocker Setup failed to export the BCD (Boot Configuration Data) store. You may need to manually prepare your drive for BitLocker.
0xc0a0000d1011Do not restart this computer until original drive is set to active! BitLocker Setup failed to import the BCD (Boot Configuration Data) store and could not set active partition back. Use DISKMGMT.MSC to set the system partition active.
0xc0a0000e1011BitLocker Setup failed to import the BCD (Boot Configuration Data) store. You may need to manually prepare your drive for BitLocker.
0xc0a0000f1011BitLocker Setup failed to modify the exported BCD (Boot Configuration Data) store. You may need to manually prepare your drive for BitLocker.
0xc0a000101011The new active drive cannot be formatted. You may need to manually prepare your drive for BitLocker.
0xc0a000111011BitLocker Setup was cancelled. The hard disk configuration may have changed. Run the setup again to prepare your system for BitLocker.
0xc0a000121011BitLocker Setup cannot shrink the target drive sufficiently to create the active drive required by BitLocker. You may need to manually prepare your drive for BitLocker.
0xc0a000131011BitLocker Setup failed to get the requested element from the BCD (Boot Configuration Data) store. You may need to manually prepare your drive for BitLocker.
0xc0a000141011BitLocker Setup failed to open an object in the BCD (Boot Configuration Data) store. You may need to manually prepare your drive for BitLocker.
0xc0a000151011BitLocker Setup failed to open the temporary BCD (Boot Configuration Data) store. You may need to manually prepare your drive for BitLocker.
0xc0a000161011BitLocker Setup library was not properly initialized. You may need to manually prepare your drive for BitLocker.
0xc0a000181011BitLocker Setup requires the system to be connected to an AC power source before any changes can be made. Please plug your computer into a power source and run BitLocker Setup again.
0xc0a000191011BitLocker Setup could not apply security settings to the newly created drive. Please check the drive's security settings. You may need to manually prepare your drive for BitLocker.
0xc0a0001a1011BitLocker setup could not move the Windows Recovery Environment image to the new system drive. You will need to move Windows Recovery Environment from your Windows drive before encryption or Windows Recovery Environment will not function.
0xc0a0001b1011An unexpected error occurred while running BitLocker Setup. You may need to manually prepare your drive for BitLocker.
0xc0a0001c1011The '-target' command requires additional arguments. Examples: -target default -target unallocated -target C: shrink -target D: merge
0xc0a0001d1011Invalid target drive letter. Use the '-driveinfo' command for a list of valid target drives. Examples: -target C: shrink -target D: merge
0xc0a0001e1011The specified target drive could not be found. Specify an existing drive letter. Examples: -target C: shrink -target D: merge
0xc0a0001f1011The specified target drive is not valid for shrink. Use the '-driveinfo' command for a list of valid target drives.
0xc0a000201011The specified target drive is not valid for merge. Use the '-driveinfo' command for a list of valid target drives.
0xc0a000211011You must specify a drive letter with the '-newdriveletter' parameter. Example: -newdriveletter S:
0xc0a000221011Invalid drive letter. Use a drive letter in the form 'C:'. Example: -newdriveletter S:
0xc0a000231011The specified drive letter is in use. Use a different drive letter. Example: -newdriveletter S:
0xc0a000241011The '-size' parameter requires a value of at least %1!d!. Example: -size %1!d!
0xc0a000251011The minimum size for the new partition is %1!d! megabytes. Please specify a size of at least %1!d!. Example: -size %1!d!
0xc0a000261011The 'merge' parameter and the '-size' parameter cannot be specified together.
0xc0a000271011You must specify a target drive using the '-target' parameter.
0xc0a000281011The 'merge' parameter and the '-newdriveletter' parameter cannot be specified together.
0xc0a000291011The '-driveinfo' parameter cannot be specified with any other parameters.
0xc0a0002a1011Invalid command line syntax. Use the 'BdeHdCfg -?' command for a list of valid operations.
0xc0a0002b1011No new drives can be created. Specify a target for the merge. Use the '-driveinfo' command for a list of valid target drives.
0xc0a0002c1011Insufficient unallocated space on disk to create new system drive. Use the '-driveinfo' command for a list of valid target drives.
0xc0a0002d1011The target drive must be on the same disk as the system drive. Use the '-driveinfo' command for a list of valid target drives.
0xc0a0002e1011A problem occurred while preparing your drive for BitLocker. Error code: %1!#.8x!
0xc0a0002f1011Disk already has the maximum number of primary and extended partitions. Use the '-driveinfo' command for a list of valid target drives.
0xc0a000301011There is not enough free space on the target drive. Running DISK CLEANUP may create additional free space.
0xc0a000311011There is not enough free space on the target Windows Recovery Environment drive. 100 MB of free space is required for a Windows Recovery Environment drive to be made the new system drive.
0xc0a000321011The target drive does not meet the size requirements for BitLocker. The new system drive must be at least %1!d! MB in size.
92 entries