Once a Setup utility has executed, I want to be able to control whether the user reboots the system or not. Is there an AutoReboot command in C++ that automatically restarts the system?
I don't know if you can force a reboot but the Setup API has a function called SetupPromptReboot() that displays a dialog prompting the user to reboot. Depending on flags you give it and the users response it will initiate a reboot.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.