locked
Idle Session Timer RRS feed

  • Question

  • The SteadyState handbook says (page 55) you can set idle and session timers via the SteadyState ADM, but I can only find a setting for a session timer. 

     

    What is the best way to duplicate this functionality with-in Group Policy?  I would rather not use winext.scr if I don't have too.

    Monday, July 2, 2007 5:51 PM

Answers

  • Hi,


    The policy setting”
    Force Logoff if Inactive” no longer appear in the SteadyState version adm file(the handbook may be properly updated). To use the “Force Logoff if Inactive” in group policy, we need  an adm file for the policy setting. You can copy the content between ------- and save it as ScreenSaverTimeout.adm file to deploy it in group policy.  

     

    ---------

    CLASS USER

     

    CATEGORY "Screen Saver Policies"

     

           POLICY "Screen Saver"

           KEYNAME "Control Panel\Desktop"

           PART "Enter the location of the Screen Saver" EDITTEXT

           DEFAULT "C:\Program Files\Windows SteadyState\ForceLogoff.exe"

           VALUENAME SCRNSAVE.EXE

           END PART

           END POLICY

         

           POLICY "Force Logoff if Inactive"

           KEYNAME "Software\Microsoft\Shared Computer Toolkit" 

          PART "seconds of inactivity" EDITTEXT

           VALUENAME IdleLogoff

           END PART

           END POLICY

     

           POLICY "Enable Screen Saver"

           KEYNAME "Control Panel\Desktop"

           VALUENAME ScreenSaveActive

           VALUEON "1" VALUEOFF "0"

           END POLICY

          

           POLICY "Screen Saver Wait Period"

           KEYNAME "Control Panel\Desktop"

           PART "Screen Saver Wait Period" EDITTEXT

           VALUENAME ScreenSaveTimeOut

           END PART

           END POLICY

     

    END CATEGORY

    ---------

     

    To deploy the screen saver timeout by group policy, you can perform the following steps:

     

    1. Open the Group Policy Editor for appropriate group policy.
    2. Right click the "User Configuration\Administrative Templates" item, and click Add/Remove Templates..
    3. Click Add to add the "ScreenSaverTimeout.adm" template, and click Close.
    4. Click View -> Filtering, clear the "Only show policy settings that can be fully managed" item, and click OK. Now newly created policy item will be displayed as User Configuration -> Administrative Templates -> Screen Saver Policies.
    5. Double click this item to open it.
    6. Enable “Screen Saver” and check the screen saver path; enable the “Enable Screen Saver” policy;
    7. Enable “Screen Saver Wait Period” policy and  enable “Force Logoff if Inactive” policy and make sure the timeout for both settings are set to 60 (1 minute).
    8. Click Start -> Run, type "cmd" in the text box, and click OK.
    9. Run the following command to refresh the group policy: gpupdate /force

    Sincerely,

    Sammy Yu

    Thursday, July 5, 2007 6:45 AM

All replies

  • Hi,


    The policy setting”
    Force Logoff if Inactive” no longer appear in the SteadyState version adm file(the handbook may be properly updated). To use the “Force Logoff if Inactive” in group policy, we need  an adm file for the policy setting. You can copy the content between ------- and save it as ScreenSaverTimeout.adm file to deploy it in group policy.  

     

    ---------

    CLASS USER

     

    CATEGORY "Screen Saver Policies"

     

           POLICY "Screen Saver"

           KEYNAME "Control Panel\Desktop"

           PART "Enter the location of the Screen Saver" EDITTEXT

           DEFAULT "C:\Program Files\Windows SteadyState\ForceLogoff.exe"

           VALUENAME SCRNSAVE.EXE

           END PART

           END POLICY

         

           POLICY "Force Logoff if Inactive"

           KEYNAME "Software\Microsoft\Shared Computer Toolkit" 

          PART "seconds of inactivity" EDITTEXT

           VALUENAME IdleLogoff

           END PART

           END POLICY

     

           POLICY "Enable Screen Saver"

           KEYNAME "Control Panel\Desktop"

           VALUENAME ScreenSaveActive

           VALUEON "1" VALUEOFF "0"

           END POLICY

          

           POLICY "Screen Saver Wait Period"

           KEYNAME "Control Panel\Desktop"

           PART "Screen Saver Wait Period" EDITTEXT

           VALUENAME ScreenSaveTimeOut

           END PART

           END POLICY

     

    END CATEGORY

    ---------

     

    To deploy the screen saver timeout by group policy, you can perform the following steps:

     

    1. Open the Group Policy Editor for appropriate group policy.
    2. Right click the "User Configuration\Administrative Templates" item, and click Add/Remove Templates..
    3. Click Add to add the "ScreenSaverTimeout.adm" template, and click Close.
    4. Click View -> Filtering, clear the "Only show policy settings that can be fully managed" item, and click OK. Now newly created policy item will be displayed as User Configuration -> Administrative Templates -> Screen Saver Policies.
    5. Double click this item to open it.
    6. Enable “Screen Saver” and check the screen saver path; enable the “Enable Screen Saver” policy;
    7. Enable “Screen Saver Wait Period” policy and  enable “Force Logoff if Inactive” policy and make sure the timeout for both settings are set to 60 (1 minute).
    8. Click Start -> Run, type "cmd" in the text box, and click OK.
    9. Run the following command to refresh the group policy: gpupdate /force

    Sincerely,

    Sammy Yu

    Thursday, July 5, 2007 6:45 AM
  • thanks for this very useful policy
    after "screen saver wait period" forcelogoff.exe starts with a 15 seconds countdown...
    i can't manage to raise this parameter (number of seconds)
    is it possible to control it with this policy?

    thanks for the help
    bye

    massimo

    Saturday, October 17, 2009 9:36 PM