By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,236 Members | 2,006 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,236 IT Pros & Developers. It's quick & easy.

Modifying settings in MS Windows Display Properties (Screensaver tab)

P: n/a
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.
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.
--------------------

Nov 15 '05 #2

P: n/a
That's exactly what I needed.

Thank you,
VM
"Gary Chang" <v-******@online.microsoft.com> wrote in message
news:fx**************@cpmsftngxa06.phx.gbl...
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. --------------------

Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.