bdehdcfg: restart
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.
Syntax
bdehdcfg -target {default|unallocated|<drive_letter> shrink|<drive_letter> merge} -restart
Parameters
This command has no additional parameters.
Examples
To use the restart command:
bdehdcfg -target default -restart