Modifying settings in MS Windows Display Properties (Screensaver tab)

  • Thread starter Thread starter VM
  • Start date Start date
V

VM

Can I manually modify the Display Properties->ScreenSaver tab values from
within aWindows C# application? During setup of my screensaver, I'd like to
be able
to configure this tab (specifically, Screen Saver to use and minutes) so the
user doesn't have to go there and do it manually.

Also, is it the same process with any Windows OS or would I need to check
what version it's running? Finally, would this work with any user regardless
of what group they're in? Is protection an issue for this config (eg. my
program may not have permission to access these settings when user Guest is
logged on)?

Thanks.
 
Hi,

Thanks for posting in the community.

From your description, I understand that you want to change the
screensaver's setting such as saver program, waiting time and password
protected via a C# program.
Please correct me if there is any misunderstand.

With my experience, you can change the registry to modify these settings,
the target registry entry is "HKCU\Control Panel\Desktop", the related
subkeys are:
ScreenSaverActive
ScreenSaverIsSecure
ScreenSaverTimeOut
SCRNSAVE.EXE

To applied these edited setting, it needs reboot your system unless the
user doesn't have change these settings during the current session before.

BTW, if you have any problems to change the registry with C#, please feel
free to reply this message.

Thanks!

Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 
Back
Top