Subscribe to Windows IT Pro
March 17, 1999 12:00 AM

How can I configure a screen saver using a System Policy?

Windows IT Pro
InstantDoc ID #15110
Rating: (1)

A. Its possible to write your own .adm file (which is what System Policy Editor uses) to create a more flexible Screen Saver policy.

  1. Enter the text below into a text file and save it as Scrsave.adm in the %systemroot%\Inf folder

    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
    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

    Click here to download this in a file.
  2. Open System Policy Editor and click Options and then click Policy Template.
  3. Add Scrsave.adm to the list of template files. If Add is not an option then you must already have a policy open so close from the File menu.
  4. The additional options will show under any user or group in the policy, with a label of "Screen Saver Policies."
  5. You would then save this policy as per normal.

Click here to view image


Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Jun 03, 2005

    How can I change the default time for the screensaver policy?

  • Jesus Calero
    9 years ago
    Feb 03, 2003

    Doesnt work no options show when template loaded - Help

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.