none
Why not able to change timer for saver? RRS feed

  • Question

  • Referring to following link, after running those coding, I would like to know on why not able to change timer for screensaver.

    <#
    .SYNOPSIS
    This script can be used to set the Screen Saver Timeout interval.
    .DESCRIPTION
    This script can be used to set the Screen Saver Timeout interval.
    .EXAMPLE
    C:\PS> C:\Script\Set_Screen_Saver_Timeout.ps1 100
    Sets the ScreenSaverTimeOut value as 100.
    #>
    Param([int]$value)
    $path = ‘HKCU:\Control Panel\Desktop’
    $name = ‘ScreenSaveTimeOut’
    #To get the ScreenSaveTimeOut value.
    $old_value=(Get-ItemProperty -path $path -name $name).$name
    echo “Old ScreenSaveTimeout: $old_value”
    #To set the new ScreenSaveTimeOut value.
    Set-ItemProperty -Path $path -name $name -value $value
    #To get the new ScreenSaveTimeOut value.
    $new_value=(Get-ItemProperty -path $path -name $name).$name
    echo “New ScreenSaveTimeout: $new_value”

    Does anyone have any suggestions?
    Thanks in advance for any suggestions

    REF : http://www.techcrafters.com/scripts/windows-system-management/set-screen-saver-timeout.html


    Thanks in advance for any suggestions

    Wednesday, December 18, 2019 2:48 AM

Answers

  • Hi oemMicrosoft/oem7110,

    You have asked this question before, multiple times.

    The answer has already been provided.

    Use a GPO to change screen saver settings.

    Please stop asking this question. You have already been given the answer.


    -- Bill Stewart [Bill_Stewart]

    Monday, December 30, 2019 7:20 PM
    Moderator

All replies