>Hi There,
>
>I was wondering if there was a way in Windows NT 4.0 to automatically log a user off. Example, I log on as admin. and run some job and lock the screen. I want to walk away and know that as soon as the job is over, the screen will unlock and log me out. We have lot's of users and limited computer resources, so any ideas?
Absolutely. If you can access the Win32 API, your application can use ExitWindowsEx() to force a fresh logon dialog. VB. VFP, Office Components like Word and Excel (via VBA) and many others can use Win32 API calls.