I am trying to set the for the logon screen saver to automatically turn on. Currently I am using:

Writevalue("HKEY_CURRENT_USER\control panel\desktop","ScreenSaveTimeout","3600","reg_sz")

This does not seem to work. Does anyone have any ideas why.

I also using write values to set the password protect on and set the screen saver to logon. These all seem to work. I just CAN'T get the logon screen saver to work.