Solved

Screensaver wait time registry entry

Posted on 2002-04-08
5
13,368 Views
Last Modified: 2013-12-28
I am trying to set a policy which will make all domain users screensaver to a standard.

I have written a custom adm file, which is still a bit dirty but basically works (below).

My problem lies in that a change to the registry entry HKCU\Control Panel\Desktop\ScreenSaveTimeOut doesn't actually change the Wait time.

I think that this is the only entry which controls the wait time, and it is the key which changes if you alter the Wait time from the screensaver tab in display properties.

Changing the screensaver path in the registry does work though.

This is just for NT/ 2k users.

Please help....I'm stuck

CLASS USER

CATEGORY !!ScreenSaver
     KEYNAME "Control Panel\Desktop"
     POLICY !!Screensaver
            PART !!ScreenSaveActive                                  CHECKBOX DEFCHECKED
            VALUENAME "ScreenSaveActive"
            END PART                              
           
            PART !!ScreenSaverIsSecure                               CHECKBOX DEFCHECKED
            VALUENAME "ScreenSaverIsSecure"
            VALUEON 0 VALUEOFF 1
            END PART
                       
            PART !!ScreenSaveTimeOut                                 EDITTEXT
            VALUENAME "ScreenSaveTimeOut"
            END PART
           
            PART !!Scrnsave.exe                                      EDITTEXT
            VALUENAME "Scrnsave.exe"
            DEFAULT "C:\test\logon.scr"
            END PART
     END POLICY
           
 END CATEGORY     ; ScreenSaver


[strings]
ScreenSaver="Screensaver"
Screensaver="Screensaver"
ScreenSaveActive="Screensaver On"
ScreenSaverIsSecure="Password Protection Off"
ScreenSaveTimeOut="Wait for in seconds   "
Scrnsave.exe="Path   "

0
Comment
Question by:jsbennison
5 Comments
 
LVL 5

Accepted Solution

by:
celtics earned 200 total points
ID: 6925056
Try this as given from the link : http://www.jsiinc.com/sube/tip2200/rh2296.htm


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"


Similar to what you did, but some major differences in what has not been removed.
0
 

Author Comment

by:jsbennison
ID: 6927686
Thank you v. much
0
 
LVL 1

Expert Comment

by:Kitekid
ID: 6929889
Here is the contents of the ADM that we use.  I believe that I got it from Tim Holman from this site.

CLASS USER

CATEGORY "Custom"
POLICY "Screen Saver"
KEYNAME "Control Panel\Desktop"
PART "scrnsave.scr" EDITTEXT
VALUENAME "SCRNSAVE.EXE"
REQUIRED
END PART
PART "Screensaver timeout (600)" EDITTEXT
VALUENAME "ScreenSaveTimeOut"
REQUIRED
END PART
PART "Password Protected" CHECKBOX
VALUENAME "ScreenSaverIsSecure"
VALUEON 1
VALUEOFF 0
END PART
PART "Screensaver Enabled" CHECKBOX
VALUENAME "ScreenSaveActive"
VALUEON 1
VALUEOFF 0
END PART
END POLICY
END CATEGORY
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now