Quote:

Check the return values of WriteValue() and the value of @ERROR and @SERROR after each call.

You may well not have permission to write / create these keys.




Have done that. It only returns a bunch 0's. Which I believe means it is working correctly. =)



Quote:

how you check that they don't work?
if you just look in the GUI after the change, it shouldn't appear there before re-launching shell (as is done in logon).





Not completly sure what you mean, but I go to the GUI of screensaverthingy, yes... Also re-launched that one.
I also have the registery up. It shows the timeout has been changed, but not the screensaver.scr