Fix error in windows reboot command execution.