Hi
I think I am not the only one with children spending to much time at the computer. I want to write a script that shows a dialog screen when they logon the Windows XP that says "Do your homework !" and then logoff them. I will trigger on time. All this is not a problem. The problem I got is how to do a logoff fron Windows XP. I found a few things, for example Code:
rundll32.exe shell32.dll, SHExitWindowsEx 0  

but it doesnt work on Xp.
Does anyone have a good suggestion on the logoff stuff ?
If this works out fine you can all get the code and all our kids can be out in the fresh air playing football instead sitting at the computer all day, as we do !

/Mima