Anyone know of an easy way to re-boot windows after an installation process. I want to do the usual......Settings have changed and you will need to re-start your computer for them to take effect. Do you wish to reboot now??

YES NO

when they hit yes....re-start windows automatically.

I thought there was an API but maybe something better???

Thanks for any suggestions.