bdehdcfg restart
Informs the bdehdcfg command-line tool that the computer should be restarted after the drive preparation has concluded. Windows commands reference
On Windows
Windows
Informs the bdehdcfg command-line tool that the computer should be restarted after the drive preparation has concluded. If other users are logged on to the computer and the quiet command is not specified, a prompt appears to confirm that the computer should be restarted.
bdehdcfg -target {default|unallocated|<drive_letter> shrink|<drive_letter> merge} -restart
To use the restart command
bdehdcfg -target default -restartIdentify