Just in case anyone else has run into a similar problem:
Server 2003 environment with thin clients as workstations. I have a particular thin client setup to run specific programs upon logon (active directory, environment tab). As such, they need to logoff once a day so the program can shut down gracefully and then log back on to start the programs back up again. I created a batch file that accomplishes all of this at once. Run the batch file as soon as the user logs on.
@echo off
sleep 20
cd "C:\Program Files\Test\"
start /max test.exe
sleep 86100
tskill test
sleep 5
shutdown -l
The thin client uses RDP to connect and the connection is set to auto logon.