Enabling the Hyper-V role during a task sequence while avoiding the reboots

When enabling the hyper-v role during a task sequence,  using ServerManagerCMD.exe the role requires a reboot… well actually 2 reboots. This causes problems with the task sequence. The task sequence will handle the first reboot fine but when the machine comes back up it will reboot the machine outside of the task sequence’s control. There…

1