Windows NT has an esoteric RPC call that allows you to shutdown a machine. Which is not a big deal within its self, but you can remotely shutdown a machine if the UUID of the person making the call is 'trusted'. However, of the win32 type admin modules I'v looked at, they only allow you to do a local shutdown; which is not the desired effect.
My question is, has anyone beenable to do this without doing a system() call to shutdown.exe ? (Which dosen't work very well)