Kaseya Community

Set the screen saver and timeout

  • This script can be used to make sure that machine screen savers kick in and lock the workstation. You can change the timeout and the screensaver to one you prefer.

    Script Name: Set Timeout and Lock
    Script Description: Sets the computer to self lock after XX seconds (set in step 3).
    Works on NT4, 2K, XP and 2003 server.
    Secure screen savers are not available in 9x

    IF User Is Logged In
    Parameter 1 :
    THEN
    Set Registry Value
    Parameter 1 : HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaverIsSecure
    Parameter 2 : 1
    Parameter 3 : REG_SZ
    OS Type : 0
    Set Registry Value
    Parameter 1 : HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveActive
    Parameter 2 : 1
    Parameter 3 : REG_SZ
    OS Type : 0
    Set Registry Value
    Parameter 1 : HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveTimeOut
    Parameter 2 : 600
    Parameter 3 : REG_SZ
    OS Type : 0
    Set Registry Value
    Parameter 1 : HKEY_CURRENT_USER\Control Panel\Desktop\SCRNSAVE.EXE
    Parameter 2 : %systemroot%\system32\ssmarque.scr
    Parameter 3 : REG_SZ
    OS Type : 0
    Set Registry Value
    Parameter 1 : HKEY_CURRENT_USER\Control Panel\Screen Saver.Marquee\Text
    Parameter 2 : Kaseya Was Here!
    Parameter 3 : REG_SZ
    OS Type : 0
    ELSE




    Legacy Forum Name: Set the screen saver and timeout,
    Legacy Posted By Username: jnuttall
  • Can you give some detail to how you create the actual procedure for this.

    Thanks