I am looking for a way to control a windows screen saver via code. Basically if certain specified users log in the screen saver will be disabled while it will be left on for others. But this must be set back to the default when they logoff. Is there any way to trigger a program at logoff?
Also is there an easier way to change the screen saver than editing one of the ini files in the windows dir?