If you write to HKCU\Desktop\... to update the sreensaver, it will ALSO be written to HKU\sid_of_user because they are ONE AND THE SAME! If you do not refresh the environment after the registry write, the currently set screensaver will be written back to HKCU and OVERWRITE your changes.

The POLICIES registry key is a DIFFERENT methodology to enforce a screensaver, namely via GPO/LPO. One can write to the various POLICIES subkeys in order to OVERRIDE the corresponding regular registry keys.

Why don't you use the 'set screensaver' UDF that is in the UDF Forum?
_________________________
There are two types of vessels, submarines and targets.