Hello,
Normally this should terminate and logoff the user as far as I am
aware. Perhaps the application is not completely terminating when you
quit?
Have you tried using a simple application like notepad to see when you
close this if the user is logged off? If this works then perhaps there
is an issue with the application.
Also something you may want to try is setting the user to run a vbs
file using the Inital Program of wscript {path to a vbs file} the
VBScript file then launches the application and waits for it to
finish, then runs the log off command. Lemme know if this helps.
wscript c:\launch.vbs
************* launch.vbs *************
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "c:\windows\notepad.exe", 1, True
WshShell.Run "c:\windows\system32\logoff.exe", 1, True
Set WshShell = Nothing
Thanks,
CENTREL Solutions, Automation and Management
http://www.centrel-solutions.com