^^ are you using XP Home version?
Well there will always be an security risk in running anything on the netz these days. We just can ensure that our machines are as boarded up as we can possibly board 'em up.running terminal services on computer with access t0 public network is a security risk that one should avoid. Just sayin'
You could write a script that monitors your app with ProcessWaitClose in a loop?... and simply restart windows itself with Shutdown function ( i.e., presuming you have your app link in startup ).I am also running an AutoIT script (in form of exe) on the laptop
running terminal services on computer with access t0 public network is a security risk that one should avoid. Just sayin'
on the other hand setup the home router to pass through 3389 port to the computer and then just use microsoft remote desktop on the router's public ip.