Forum posts for scrnsave.scr

Start a screensaver when explorer is not the shell

I'm running my own kiosk application as the shell (replacing HKLM/Software/Microsoft/Windows NT/winlogon/shell).

The application needs to be able to turn off the monitor and I was using Process.Start('scrnsave.scr') to do this. It works on my dev machine but not when the shell is replaced.

It's clearly because the UseShellExecute is set to true, but when I set it to false I can't get the screensaver to run. Using explorer.exe as the command and scrnsave.scr as the argument just causes an explorer window to open.

Is there a switch I can pass to explorer to get it to run the screensaver or is there another way to achieve the same thing?

Thanks.

View complete forum thread with replies

Other posts related to scrnsave.scr

See Related Forum Messages: Follow the Links Below to View Complete Thread

Start a screensaver when explorer is not the shell
How do I run a screensaver on startup with the startscreen still displayed?
Windows batch script to switch desktop background

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.