NTDOC,

Thanks anyway, it IS a nice program... i am just an ass i guess always looking for that little bit extra you shouldn't be looking for... (story of my life..)

Lonkero, before you start losing your hairs over this one, read the website of the german guy from the University of Mainz, i think he is trying to say that the logoff API can only be called by an interactive user. This would mean that whatever stunt you pull it better be good (and it should at least be better then just issuing/scheduling some sort of logoff tool from a remote machine, especially if it is ran as a service under the system account)

Anyways, i think we have done enough polluting, the forum is about scripts, not about non-existent MS tools.

Thanx everybody for the help...
over and out

Ciao,
MvdW
(i'm just gonna have me a nice battle with backup exec and maybe after about 6 or 8 hrs of overtime i may finally call it a day...grrrrr)

_________________________
rgrds, Maarten