Solved

Screensaver wait time registry entry

Posted on 2002-04-08
5
13,371 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Looking for a MFP for a small office network 26 127
laptop problem 21 95
Unable to remove HP CP1510 deployed printer 1 43
Best motion capture software for windows 7 5 87
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
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…

911 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

22 Experts available now in Live!

Get 1:1 Help Now