Mark Hammond wrote: > For Windows NT/2000, do a google search - I have posted code that does > this a number of times. > > For Win9x, MSDN documents that you can execute: Oops - and as Chris pointed out, first check if win32api.ExitWindows(Ex) will do what you need :) Mark.