Skip navigation

JSI Tip 2296. How can I set a screen saver using system policy in Windows NT 4.0?

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:


      CATEGORY  !!Screen_Saver_Policy
              POLICY !!Screen_Saver
              KEYNAME "Control Panel\Desktop"
                      PART !!Screen_Saver_Location
                      DEFAULT !!DEF_SCREEN_SAVER
                      VALUENAME SCRNSAVE.EXE
                      END PART
              END POLICY
              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
              KEYNAME "Control Panel\Desktop"
              VALUENAME ScreenSaveTimeout
              VALUEON "600"
              END POLICY 

      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"
      ENABLE_Password=Enable Password 
      SCREEN_SAVER_IDLE_TIMEOUT="Screen Saver Activation Timeout"

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.