大网数据广告活动
Windows 系统接口

SCRNSAVE.EXE

· 52CE 我爱测

Specifies the name of the screen saver executable file.

HKCU\Control Panel\Desktop

Data type Range Default value
REG_SZ File name (None)

Description

Specifies the name of the screen saver executable file.

Change Method

To change the value of this entry, in Control Panel double-click Display, click the Screen Saver tab, and then select a screen saver from the Screen saver list.

You can also change this entry with the application programming interface (API) function InstallScreenSaver, which is exported by Desk.cpl. You can access this function with the command line rundll32.exe desk.cpl,InstallScreenSaver file, where file is the name of a screen saver executable file.

Activation Method

Changes made to this entry become effective the next time the system starts a screen saver. Changes made to this entry while a screen saver is running have no effect on the running screen saver.

Notes

  • Windows operating systems add this entry to the registry when you use Display in Control Panel to select a screen saver. If you disable all screen savers by choosing (None) from the screen saver list, then the operating system deletes this entry from the registry and calls the SystemParametersInfo function with uiAction equal to SPI_SETSCREENSAVEACTIVE and uiParam equal to FALSE.
  • This entry can be superseded by a Group Policy setting on systems that support Group Policy. While the Screen saver executable name Group Policy setting is enabled, the system ignores this entry. The configuration of this policy setting is stored in the SCRNSAVE.EXE entry, which is in the Policies subkey.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。