Ge van Geldorp wrote: > I want to implement proper logoff/shutdown/restart, [snip] Have you also considered Get/SetProcessShutdownParameters? /Mike