bdehdcfg

BitLocker Drive Encryption: Drive Preparation Tool

BitLocker Drive Encryption: Drive Preparation Tool


bdehdcfg

  • C:\Windows\system32\BdeHdCfg.exe /?

Output:

BitLocker Drive Preparation Tool version 10.0.19041
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

Return Code: 0


C:\Windows\system32\BdeHdCfg.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
FileInfo
File Size134144bytes
Creation Time2019/12/07 18:10:13
LastWrite Time2019/12/07 18:50:53
ProductVersion10.0.19041.1
FileVersion10.0.19041.1 (WinBuild.160101.0800)
HashValue
MD589d0572c9b53f34230c8514f6b11bd56
SHA1c8111fa4bb979386bd9c7923eb5e8ba3cb2947fb
SHA224626b6d922ed5ceaa49dcbca56113f3f494a9db29f5da5f45765454de
SHA256a6797c873af8f7fefe1352876113cd912e329759e838cf2f49ecd7bdf4bf4f26
SHA384eae382250deaee0f6a1aba0d4b1aac80d50048e043b51742d06dd19984a47bf456c928c6d751317163370e5751c4e344
SHA512ec6199df2daca0de2bc279e891d5996ba4afc6ee1892aa878fb17c438f7c2ebc4e7678a582151acc56d7fb74e8787e3ec8d5aa0c370df0b5d0dea0dedfc30ea0
Built with Hugo
Theme Stack designed by Jimmy