A screensaver is a computer program that blanks the screen or fills it with moving images or patterns when the computer is not in use.
Questions tagged [windows-screensaver]
60 questions
10
votes
3 answers
How can I write a screen saver for Windows in C++?
I want to write a screen saver for Windows using the Windows API. How can I start to write it?

kalani
- 111
- 1
- 1
- 3
10
votes
4 answers
Silently set the screensaver on Windows from the command line?
I know that if you run:
rundll32.exe desk.cpl,InstallScreenSaver toasters.scr
you can set the screensaver to toasters.scr but it also opens up the screensaver configuration dialog. Is there a way to set the screensaver on Windows without opening…

Pablo Fernandez
- 279,434
- 135
- 377
- 622
8
votes
2 answers
How do I change the screensaver programmatically?
I'd like to change the current Screensaver for a custom one (which I previously loaded as a resource in Visual Studio) using C#. How could that be done? I've looked for it on Google and SO, but it all talks about "How to create a Screensaver", not…

Sergi Juanola
- 6,531
- 8
- 56
- 93
8
votes
0 answers
creating a Windows screensaver with Python?
Screensavers in Windows are just regular executables being ran if idle for certain amount of time.
They are the same ".exe" files, only with extension (renamed) ".scr".
To use a ".scr" file as your screensaver, you right-click on it and choose…
user975135
7
votes
2 answers
How to debug logon screensaver in Win7?
I have a .Net 2.0 WinForms app that I'm trying to use as a logon screensaver (64-bit Win7Pro). It runs just fine from the command line when I'm logged in and as my screensaver. However, it exits immediately when run as a logon screensaver.
I know…

Gabe
- 84,912
- 12
- 139
- 238
4
votes
1 answer
Unable to find an entry point in DLL 'opengl32.dll' in screensaver
I have very odd problem with my C# OpenTK screensaver application. When I compile the program and run it before changing the extension, as EXE file, it works properly. But when I change the extension to SCR and run it, it crashes with a…

mi_k
- 53
- 1
- 5
3
votes
2 answers
Delphi code to turn on screen saver doesn't work in Windows 7
I have a Delphi app that places the computer into screensave using
hWnd := GetDesktopWindow ;
SendMessage (hWnd, WM_SYSCOMMAND, SC_SCREENSAVE, 0) ;
This works fine under XP but I find it doesn't work under (embedded) Windows 7.
Any ideas?

rossmcm
- 5,493
- 10
- 55
- 118
2
votes
0 answers
How to add Screensaver Settings via Registry file
I'm working in a large organization and we have to go around to about 150 computers and manually change the screensaver settings. The way our AD is setup, I cannot distribute this through Group Policy. I'm trying to make a reg file to make this…

anthonys
- 21
- 1
- 3
2
votes
2 answers
disabling screen saver to user
I want to disable a screen saver to another user. How it can be done?
I have administrative privileges. I have an application that can't be interrupted by the screen saver.

olia
- 21
- 1
- 3
2
votes
1 answer
Java screensaver loading the wrong main class, any ideas?
I'm building a Windows screensaver using Java, JavaFX, the JavaFX Packager, the Gradle JavaFX Packager plugin, etc. I generate various executable files with this configuration:
jfx {
mainClass = "tech.project.project.ConfiguratorApp"
vendor…

Pablo Fernandez
- 279,434
- 135
- 377
- 622
2
votes
2 answers
Make screensaver fire whenever computer locks?
Is it possible to force the screensaver to appear whenever a computer becomes locked? Specifically on XP, 7 if possible.

Shawn
- 2,356
- 6
- 48
- 82
2
votes
2 answers
How can I check Windows Lock settings?
I have a windows form that needs to be able to check the windows screen saver settings (Is it active, is it under 15 minutes, is "on resume, display logon" active) Essentially if all of those are true the user gets a nice big PASS if not the user…

Joe Pearson
- 105
- 10
2
votes
1 answer
How can I add the Assembly* values back to my executable?
As part of the solution to How do I control the screensaver name shown in the drop down list?,
I asked I have added a resource file to my project. I was able to set the icon for the application in the resource file but I'm not sure how the other…

Cory Charlton
- 8,868
- 4
- 48
- 68
2
votes
2 answers
How to refresh logon screensaver parameter changes?
I have a Windows service that may change the timeout on the logon screensaver in Windows (as described here.) To do that I change the following registry key to the timeout in seconds:
HKEY_USERS\.DEFAULT\Control Panel\Desktop\ScreenSaveTimeOut
The…

c00000fd
- 20,994
- 29
- 177
- 400
1
vote
0 answers
How can I take a screenshot in a screensaver application in Delphi?
My code shows a black image when Windows runs the screensaver after a wait. But it works when I click preview.
function CaptureScreenToStream: TMemoryStream;
var
DesktopDC: HDC;
CaptureBitmap: TBitmap;
Width, Height: Integer;
begin
DesktopDC…

MG1
- 11
- 1