Massif wrote:
Can't you just set the PCs so that your WPF app is the shell instead of explorer? Then there's nowhere for them to go if they manage to get out of your program.
I know it can be done in XP, and although I imagine the settings are the same for vista I can't remember them anyway.
Yeah, that would probably be the way to go. You'll also want to restrict the Windows Security dialog (the one that pops up when you press control-alt-delete) using group policy so that Shut Down and Task Manager are disabled-- otherwise, anyone can turn off the computer or run arbitrary programs regardless of shell.
To change the shell for the current user (make sure you have another user set up on the machine, otherwise, with task manager disabled, you'll have to format and reinstall to get back to normal), go to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon, add a new string value called shell, and set its value to the path of the new shell.
Just make sure you have a way back out of this...