>Just last week Ken Weber posted a routine for having your app "take over" a computer like that. You should be able to find it searching on his name for last weeks messages.
>
>>I need to lock a PC so that it runs my app on startup and reboots when my app exits...
>>
I've got a little group of functions that do some WinAPI calls on my site you can use for the same thing.
www.fgi.net/~brown/source.html