Environment: VC6
This is a simple, dialog-based application that allows a user to shut down a remote or local machine, using any domain or local account that has remote shut-down privileges. The downloadable code demonstrates how to create a thread that uses different account rights as the parent process.