Just thought of something;

What I could do, is put the reboot/logoff command in the RunOnce. (RUNDLL32.EXE user.exe,ExitWindows)

But, in order to do this, I need to know for sure if the policy files (config.pol) are read before or after the logon script runs, because of the synchronised execution of the logon script.. In other words, explorer should not start until after the logon script.. Anyone?

_________________________
Regards, Jeroen. There are two ways to write error-free programs. Only the third one works.