[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 654
  • Last Modified:

Setting screen saver

Iam trying to install a screen saver. So i need to access the registry for changing the default screen saver to my installed screen saver. This iam doing by setting screensaveactive to 1, scrnsave.exe = my.scr, in the HKY_Currentuser\control panel\desktop.

This is working fine(my screen saver comes up), if before installing already a screen saver is set as default. But if no screen saver is selected, even though registry is updated, the properties\screen save window is still showing none and my screen saver is not coming.
Please help me in this.
0
USHASHI
Asked:
USHASHI
  • 2
  • 2
  • 2
  • +5
1 Solution
 
DjamonCommented:
Can't you just do this in the display properties?
0
 
USHASHIAuthor Commented:
No! this is supposed to be an application which the unknown clients are going to downlaod through an installation wizard. This wizard will have to access the registry for doing the above. manually is very easy, i know. Thanks for ur comments.
0
 
jkrCommented:
Do you also set 'ScreenSaveTimeout' and 'ScreenSaverIsSecure'?
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
whannonCommented:
why don't you setup a policy that will run the installation of the screensaver off the server.
0
 
whannonCommented:
why don't you setup a policy that will run the installation of the screensaver off the server.
0
 
carmineCommented:
The problem you've encountered is that the shell (explorer) does not re-read the registry unless you send a Win32 API message (something like System Metrics Changed).

To do this you'll either have to find a 3rd party utility, or write your own to send the appropriate message after your intsall.

You should find that a logoff/on will bring your screen saver to life (restarting the shell).

Mark
0
 
TooKoolKrisCommented:
"No! this is supposed to be an application which the unknown clients are going to downlaod through an installation wizard."

There is a reason why you can't install programs that have to write to the registry. What need do you have to install something without the clients knowing about it?
0
 
ianBCommented:
Hi,

Experts Exchange maintains a professional site.  As such, we have a customer agreement to which you agreed before you registered. It states that we do not want any questions here that may be illegal or refer to "hacking".

Please take the time to re-read the Customer Agreement, located at:
http://www.experts-exchange.com/info/usrcntr.htm

If I find this question falls into this category I will suspend the account and take further action where appropriate.

Ian
Community Support @ Experts Exchage
0
 
USHASHIAuthor Commented:
Hi!

Iam not happy to read the comment that add my question to hacking category. For business reasons, i cannot reveal our business related policies, but i assure u that every thing will happen with  the awareness of the registered users of our application. If you find this as hacking, then what about installing products like IE, which prompts u to make it the default broswer. Im my case it is setting mine as default screen saver, which needs accessing the registry.

regds

0
 
TooKoolKrisCommented:
Ushashi,
     Nobody is actually saying that you are a hacker. I think the flag got thrown up because of the way in which you worded your comments specifically using the term "unknown clients". You have to keep in mind that some people seek our expertise and knowledge for other things besides fixing problems. As administrators and network professionals we have to be careful about the advice we give. We don't want to accidentally compromise the integrity of other people's networks.
0
 
mikeblasCommented:
USHASHI> Iam not happy to read the comment that add my
 USHASHI> question to hacking category.

I wouldn't be, either. I can't fathom why someone would make that implication.

In the meantime, I think you need to broadcast WM_SETTINGCHANGE after you change the registry entry.

..B ekiM
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
  • 2
  • 2
  • +5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now