In tip 1966, I described the typical registry entries involved in setting a screen saver.

Windows NT 4.0 allows you to extend system policies by incorporating your own .adm files. Enclosed is an .adm file that will allow the configuration of a screen saver. This policy enables 4 options in the user-based portion of the policy:

1. Choosing a screen saver.

2. Enabling the screen saver.

3. Enabling password protection.

4. Setting the timeout.

To use the policy:

1. copy/paste the text to %SystemRoot%\Inf\Scrsave.adm.

2. In the System Policy Editor (Poledit.exe), press Options / Policy Template.

3. Add the Scrsave.adm file to the templates.

NOTE: The screen saver options will be labeled Screen Saver Policies, and will be available for any user or group.

The Scrsave.adm file contains:


CLASS USER

CATEGORY !!Screen_Saver_Policy
POLICY !!Screen_Saver
KEYNAME "Control Panel\Desktop"
PART !!Screen_Saver_Location
EDITTEXT
DEFAULT !!DEF_SCREEN_SAVER
VALUENAME SCRNSAVE.EXE
END PART
END POLICY
POLICY !!ENABLE_SCREEN_SAVER
KEYNAME "Control Panel\Desktop"
VALUENAME ScreenSaveActive
VALUEON "1" VALUEOFF "0"
END POLICY
POLICY !!ENABLE_Password
KEYNAME "Control Panel\Desktop"
VALUENAME ScreenSaverIsSecure
VALUEON "1" VALUEOFF "0"
END POLICY
POLICY !!SCREEN_SAVER_IDLE_TIMEOUT
KEYNAME "Control Panel\Desktop"
VALUENAME ScreenSaveTimeout
VALUEON "600"
END POLICY
END CATEGORY

\[strings\]
Screen_Saver_Policy="Screen Saver Policies"
Screen_Saver="Screen Saver"
ENABLE_SCREEN_SAVER="Enable Screen Saver"
Screen_Saver_Location="Enter the location of the Screen Saver"
DEF_Screen_Saver="%SYSTEMROOT%\system32\logon.scr"
ENABLE_Password=Enable Password
SCREEN_SAVER_IDLE_TIMEOUT="Screen Saver Activation Timeout"