Hi Again

-> Gargoyle the reason for not using logon hours are, that 1-3 is just an example. I work at a bording school whrere i dont want pupils to logon from 17:00:00 to 18:15:00 and you cant do that with logon hours.

Mart i cant get your script to work.

Will $rc = LogOff(1) work on thin clients ( Terminal server?)

Regards Glenn