(How) can I change the time until the screensaver kicks in from the command line?











up vote
10
down vote

favorite
5












As the title asks (Windows 7). (How) can I change the time until the screensaver kicks in from the command line? Is it even possible?



Normally I am happy with a 5 minute setting, but occasionally I want to make it longer. I would like the two lengths bound to hot-keys (I know how to do that).



I guess I could record two macros and use those, but I just wondered if there are any command line options (including registry updates) that I can use to tell Windows to start the screen saver after X minutes of inactivity.



(please note, I do not want to start the screen saver immediately; I want to change the length of time Windows will wait before starting it)



Thanks in advance.





[Answer] I finally used a variation on the answer from @Gjordis - but all credit goes to him.



I didn't see why we needed 3 operations : add, delete then rename and reduced that to two.



Since I want to bind to a hotkey, I need to execute two comamnds in one. Normally, one can separate the commands with a semicolon and issue them on one line (e.g dir c:;dir d:). That gave errors with the reg command, so in the end I have two batch files. The contens are identitcal, only the duration changes.



On strange thing - the value is correctly written to the registry, but Control Panel/Personalize/Screen saver does not alwys update its GUI. However, I tested and the screen saver does behave as expected.



@echo off
reg delete "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /f
reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 180 /f


If this helps you, please upvote the question ;-)










share|improve this question




























    up vote
    10
    down vote

    favorite
    5












    As the title asks (Windows 7). (How) can I change the time until the screensaver kicks in from the command line? Is it even possible?



    Normally I am happy with a 5 minute setting, but occasionally I want to make it longer. I would like the two lengths bound to hot-keys (I know how to do that).



    I guess I could record two macros and use those, but I just wondered if there are any command line options (including registry updates) that I can use to tell Windows to start the screen saver after X minutes of inactivity.



    (please note, I do not want to start the screen saver immediately; I want to change the length of time Windows will wait before starting it)



    Thanks in advance.





    [Answer] I finally used a variation on the answer from @Gjordis - but all credit goes to him.



    I didn't see why we needed 3 operations : add, delete then rename and reduced that to two.



    Since I want to bind to a hotkey, I need to execute two comamnds in one. Normally, one can separate the commands with a semicolon and issue them on one line (e.g dir c:;dir d:). That gave errors with the reg command, so in the end I have two batch files. The contens are identitcal, only the duration changes.



    On strange thing - the value is correctly written to the registry, but Control Panel/Personalize/Screen saver does not alwys update its GUI. However, I tested and the screen saver does behave as expected.



    @echo off
    reg delete "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /f
    reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 180 /f


    If this helps you, please upvote the question ;-)










    share|improve this question


























      up vote
      10
      down vote

      favorite
      5









      up vote
      10
      down vote

      favorite
      5






      5





      As the title asks (Windows 7). (How) can I change the time until the screensaver kicks in from the command line? Is it even possible?



      Normally I am happy with a 5 minute setting, but occasionally I want to make it longer. I would like the two lengths bound to hot-keys (I know how to do that).



      I guess I could record two macros and use those, but I just wondered if there are any command line options (including registry updates) that I can use to tell Windows to start the screen saver after X minutes of inactivity.



      (please note, I do not want to start the screen saver immediately; I want to change the length of time Windows will wait before starting it)



      Thanks in advance.





      [Answer] I finally used a variation on the answer from @Gjordis - but all credit goes to him.



      I didn't see why we needed 3 operations : add, delete then rename and reduced that to two.



      Since I want to bind to a hotkey, I need to execute two comamnds in one. Normally, one can separate the commands with a semicolon and issue them on one line (e.g dir c:;dir d:). That gave errors with the reg command, so in the end I have two batch files. The contens are identitcal, only the duration changes.



      On strange thing - the value is correctly written to the registry, but Control Panel/Personalize/Screen saver does not alwys update its GUI. However, I tested and the screen saver does behave as expected.



      @echo off
      reg delete "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /f
      reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 180 /f


      If this helps you, please upvote the question ;-)










      share|improve this question















      As the title asks (Windows 7). (How) can I change the time until the screensaver kicks in from the command line? Is it even possible?



      Normally I am happy with a 5 minute setting, but occasionally I want to make it longer. I would like the two lengths bound to hot-keys (I know how to do that).



      I guess I could record two macros and use those, but I just wondered if there are any command line options (including registry updates) that I can use to tell Windows to start the screen saver after X minutes of inactivity.



      (please note, I do not want to start the screen saver immediately; I want to change the length of time Windows will wait before starting it)



      Thanks in advance.





      [Answer] I finally used a variation on the answer from @Gjordis - but all credit goes to him.



      I didn't see why we needed 3 operations : add, delete then rename and reduced that to two.



      Since I want to bind to a hotkey, I need to execute two comamnds in one. Normally, one can separate the commands with a semicolon and issue them on one line (e.g dir c:;dir d:). That gave errors with the reg command, so in the end I have two batch files. The contens are identitcal, only the duration changes.



      On strange thing - the value is correctly written to the registry, but Control Panel/Personalize/Screen saver does not alwys update its GUI. However, I tested and the screen saver does behave as expected.



      @echo off
      reg delete "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /f
      reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 180 /f


      If this helps you, please upvote the question ;-)







      windows-7 windows-registry screensaver command-line-arguments






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 6 '13 at 2:43

























      asked Mar 5 '13 at 7:34









      Mawg

      93952548




      93952548






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          7
          down vote



          accepted










          reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f


          The value 600 is in seconds, = 10minutes
          Interestingly, as pointed, this works only the first time. On next change, you need to make a new key like so :



          reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOutTemp /t REG_SZ /d 300 /f


          Then delete the old one



          reg delete "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f


          Then copy the new one to the right name



          reg copy "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOutTemp "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut


          Hopy this works, and you do not destory your computer, but since you did not have this registry value, i don't think deleting it can be that horrible.



          REG documentation here: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/reg.mspx?mfr=true






          share|improve this answer























          • That works :-) The first time only :-( presumably because I didn't have a registry entry the frist time, so could add, but might need to modify subsequently? +1 for trying. Thanks
            – Mawg
            Mar 5 '13 at 8:04






          • 1




            Edited to hopefully work other times too
            – Gjordis
            Mar 5 '13 at 8:14










          • +1 Well, that's trange. I can see that it is updating the registry key, but when I right click the desktop (or go via control panel) and choose "peronalize", it still shows 5 mintes on the GUI. If I set 10 seconds via registry, the screen saver does not start after 10 seconds (or even a few minutes). If I set 1 minute in the GUI then it does start after 1 minute (and it updates the registry correctly).
            – Mawg
            Mar 5 '13 at 8:44










          • Perhaps it has a valid value -range
            – Gjordis
            Mar 5 '13 at 8:46










          • +1 I used a variation on your answer and have posted it in the qustion above. Thanks for your help
            – Mawg
            Mar 6 '13 at 2:35


















          up vote
          1
          down vote













          In fact, this approach (via registry) doesn't work until reboot.
          Only way to do that without PC reboot is to use an API:



          https://www.pcreview.co.uk/threads/utility-to-temporarily-change-the-screensaver.2321339/#post-7442568



          but APIs can't be used from a command line, i.e. VB script. Here is the reason:



          http://forums.codeguru.com/showthread.php?31534-VBScript-and-API&p=86696#post86696



          It could be done by calling utility SetScrTimeout.exe (from the first link), but unfortunatelly, this small utility doesn't exist on internet anymore.






          share|improve this answer





















          • Thanks for that. Perhaps SetScrTimeout.exe can be founds on the way back machine? I can't check because of the company firewall, but it should be there - everything else is ;-)
            – Mawg
            Nov 21 at 12:42






          • 1




            I even tried on ftp servers, but no result. I have found an VB source code for that purpose (freevbcode.com/ShowCode.asp?ID=504), but I am not able to make and share an exe.
            – Aleksandar
            Nov 22 at 12:00










          • Any idea which version of VB (I am guessing VN 6)?
            – Mawg
            Nov 22 at 12:44











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f560968%2fhow-can-i-change-the-time-until-the-screensaver-kicks-in-from-the-command-line%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          7
          down vote



          accepted










          reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f


          The value 600 is in seconds, = 10minutes
          Interestingly, as pointed, this works only the first time. On next change, you need to make a new key like so :



          reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOutTemp /t REG_SZ /d 300 /f


          Then delete the old one



          reg delete "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f


          Then copy the new one to the right name



          reg copy "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOutTemp "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut


          Hopy this works, and you do not destory your computer, but since you did not have this registry value, i don't think deleting it can be that horrible.



          REG documentation here: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/reg.mspx?mfr=true






          share|improve this answer























          • That works :-) The first time only :-( presumably because I didn't have a registry entry the frist time, so could add, but might need to modify subsequently? +1 for trying. Thanks
            – Mawg
            Mar 5 '13 at 8:04






          • 1




            Edited to hopefully work other times too
            – Gjordis
            Mar 5 '13 at 8:14










          • +1 Well, that's trange. I can see that it is updating the registry key, but when I right click the desktop (or go via control panel) and choose "peronalize", it still shows 5 mintes on the GUI. If I set 10 seconds via registry, the screen saver does not start after 10 seconds (or even a few minutes). If I set 1 minute in the GUI then it does start after 1 minute (and it updates the registry correctly).
            – Mawg
            Mar 5 '13 at 8:44










          • Perhaps it has a valid value -range
            – Gjordis
            Mar 5 '13 at 8:46










          • +1 I used a variation on your answer and have posted it in the qustion above. Thanks for your help
            – Mawg
            Mar 6 '13 at 2:35















          up vote
          7
          down vote



          accepted










          reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f


          The value 600 is in seconds, = 10minutes
          Interestingly, as pointed, this works only the first time. On next change, you need to make a new key like so :



          reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOutTemp /t REG_SZ /d 300 /f


          Then delete the old one



          reg delete "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f


          Then copy the new one to the right name



          reg copy "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOutTemp "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut


          Hopy this works, and you do not destory your computer, but since you did not have this registry value, i don't think deleting it can be that horrible.



          REG documentation here: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/reg.mspx?mfr=true






          share|improve this answer























          • That works :-) The first time only :-( presumably because I didn't have a registry entry the frist time, so could add, but might need to modify subsequently? +1 for trying. Thanks
            – Mawg
            Mar 5 '13 at 8:04






          • 1




            Edited to hopefully work other times too
            – Gjordis
            Mar 5 '13 at 8:14










          • +1 Well, that's trange. I can see that it is updating the registry key, but when I right click the desktop (or go via control panel) and choose "peronalize", it still shows 5 mintes on the GUI. If I set 10 seconds via registry, the screen saver does not start after 10 seconds (or even a few minutes). If I set 1 minute in the GUI then it does start after 1 minute (and it updates the registry correctly).
            – Mawg
            Mar 5 '13 at 8:44










          • Perhaps it has a valid value -range
            – Gjordis
            Mar 5 '13 at 8:46










          • +1 I used a variation on your answer and have posted it in the qustion above. Thanks for your help
            – Mawg
            Mar 6 '13 at 2:35













          up vote
          7
          down vote



          accepted







          up vote
          7
          down vote



          accepted






          reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f


          The value 600 is in seconds, = 10minutes
          Interestingly, as pointed, this works only the first time. On next change, you need to make a new key like so :



          reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOutTemp /t REG_SZ /d 300 /f


          Then delete the old one



          reg delete "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f


          Then copy the new one to the right name



          reg copy "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOutTemp "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut


          Hopy this works, and you do not destory your computer, but since you did not have this registry value, i don't think deleting it can be that horrible.



          REG documentation here: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/reg.mspx?mfr=true






          share|improve this answer














          reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f


          The value 600 is in seconds, = 10minutes
          Interestingly, as pointed, this works only the first time. On next change, you need to make a new key like so :



          reg add "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOutTemp /t REG_SZ /d 300 /f


          Then delete the old one



          reg delete "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f


          Then copy the new one to the right name



          reg copy "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOutTemp "HKEY_CURRENT_USERControl PanelDesktop" /v ScreenSaveTimeOut


          Hopy this works, and you do not destory your computer, but since you did not have this registry value, i don't think deleting it can be that horrible.



          REG documentation here: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/reg.mspx?mfr=true







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 5 '13 at 8:14

























          answered Mar 5 '13 at 7:41









          Gjordis

          44438




          44438












          • That works :-) The first time only :-( presumably because I didn't have a registry entry the frist time, so could add, but might need to modify subsequently? +1 for trying. Thanks
            – Mawg
            Mar 5 '13 at 8:04






          • 1




            Edited to hopefully work other times too
            – Gjordis
            Mar 5 '13 at 8:14










          • +1 Well, that's trange. I can see that it is updating the registry key, but when I right click the desktop (or go via control panel) and choose "peronalize", it still shows 5 mintes on the GUI. If I set 10 seconds via registry, the screen saver does not start after 10 seconds (or even a few minutes). If I set 1 minute in the GUI then it does start after 1 minute (and it updates the registry correctly).
            – Mawg
            Mar 5 '13 at 8:44










          • Perhaps it has a valid value -range
            – Gjordis
            Mar 5 '13 at 8:46










          • +1 I used a variation on your answer and have posted it in the qustion above. Thanks for your help
            – Mawg
            Mar 6 '13 at 2:35


















          • That works :-) The first time only :-( presumably because I didn't have a registry entry the frist time, so could add, but might need to modify subsequently? +1 for trying. Thanks
            – Mawg
            Mar 5 '13 at 8:04






          • 1




            Edited to hopefully work other times too
            – Gjordis
            Mar 5 '13 at 8:14










          • +1 Well, that's trange. I can see that it is updating the registry key, but when I right click the desktop (or go via control panel) and choose "peronalize", it still shows 5 mintes on the GUI. If I set 10 seconds via registry, the screen saver does not start after 10 seconds (or even a few minutes). If I set 1 minute in the GUI then it does start after 1 minute (and it updates the registry correctly).
            – Mawg
            Mar 5 '13 at 8:44










          • Perhaps it has a valid value -range
            – Gjordis
            Mar 5 '13 at 8:46










          • +1 I used a variation on your answer and have posted it in the qustion above. Thanks for your help
            – Mawg
            Mar 6 '13 at 2:35
















          That works :-) The first time only :-( presumably because I didn't have a registry entry the frist time, so could add, but might need to modify subsequently? +1 for trying. Thanks
          – Mawg
          Mar 5 '13 at 8:04




          That works :-) The first time only :-( presumably because I didn't have a registry entry the frist time, so could add, but might need to modify subsequently? +1 for trying. Thanks
          – Mawg
          Mar 5 '13 at 8:04




          1




          1




          Edited to hopefully work other times too
          – Gjordis
          Mar 5 '13 at 8:14




          Edited to hopefully work other times too
          – Gjordis
          Mar 5 '13 at 8:14












          +1 Well, that's trange. I can see that it is updating the registry key, but when I right click the desktop (or go via control panel) and choose "peronalize", it still shows 5 mintes on the GUI. If I set 10 seconds via registry, the screen saver does not start after 10 seconds (or even a few minutes). If I set 1 minute in the GUI then it does start after 1 minute (and it updates the registry correctly).
          – Mawg
          Mar 5 '13 at 8:44




          +1 Well, that's trange. I can see that it is updating the registry key, but when I right click the desktop (or go via control panel) and choose "peronalize", it still shows 5 mintes on the GUI. If I set 10 seconds via registry, the screen saver does not start after 10 seconds (or even a few minutes). If I set 1 minute in the GUI then it does start after 1 minute (and it updates the registry correctly).
          – Mawg
          Mar 5 '13 at 8:44












          Perhaps it has a valid value -range
          – Gjordis
          Mar 5 '13 at 8:46




          Perhaps it has a valid value -range
          – Gjordis
          Mar 5 '13 at 8:46












          +1 I used a variation on your answer and have posted it in the qustion above. Thanks for your help
          – Mawg
          Mar 6 '13 at 2:35




          +1 I used a variation on your answer and have posted it in the qustion above. Thanks for your help
          – Mawg
          Mar 6 '13 at 2:35












          up vote
          1
          down vote













          In fact, this approach (via registry) doesn't work until reboot.
          Only way to do that without PC reboot is to use an API:



          https://www.pcreview.co.uk/threads/utility-to-temporarily-change-the-screensaver.2321339/#post-7442568



          but APIs can't be used from a command line, i.e. VB script. Here is the reason:



          http://forums.codeguru.com/showthread.php?31534-VBScript-and-API&p=86696#post86696



          It could be done by calling utility SetScrTimeout.exe (from the first link), but unfortunatelly, this small utility doesn't exist on internet anymore.






          share|improve this answer





















          • Thanks for that. Perhaps SetScrTimeout.exe can be founds on the way back machine? I can't check because of the company firewall, but it should be there - everything else is ;-)
            – Mawg
            Nov 21 at 12:42






          • 1




            I even tried on ftp servers, but no result. I have found an VB source code for that purpose (freevbcode.com/ShowCode.asp?ID=504), but I am not able to make and share an exe.
            – Aleksandar
            Nov 22 at 12:00










          • Any idea which version of VB (I am guessing VN 6)?
            – Mawg
            Nov 22 at 12:44















          up vote
          1
          down vote













          In fact, this approach (via registry) doesn't work until reboot.
          Only way to do that without PC reboot is to use an API:



          https://www.pcreview.co.uk/threads/utility-to-temporarily-change-the-screensaver.2321339/#post-7442568



          but APIs can't be used from a command line, i.e. VB script. Here is the reason:



          http://forums.codeguru.com/showthread.php?31534-VBScript-and-API&p=86696#post86696



          It could be done by calling utility SetScrTimeout.exe (from the first link), but unfortunatelly, this small utility doesn't exist on internet anymore.






          share|improve this answer





















          • Thanks for that. Perhaps SetScrTimeout.exe can be founds on the way back machine? I can't check because of the company firewall, but it should be there - everything else is ;-)
            – Mawg
            Nov 21 at 12:42






          • 1




            I even tried on ftp servers, but no result. I have found an VB source code for that purpose (freevbcode.com/ShowCode.asp?ID=504), but I am not able to make and share an exe.
            – Aleksandar
            Nov 22 at 12:00










          • Any idea which version of VB (I am guessing VN 6)?
            – Mawg
            Nov 22 at 12:44













          up vote
          1
          down vote










          up vote
          1
          down vote









          In fact, this approach (via registry) doesn't work until reboot.
          Only way to do that without PC reboot is to use an API:



          https://www.pcreview.co.uk/threads/utility-to-temporarily-change-the-screensaver.2321339/#post-7442568



          but APIs can't be used from a command line, i.e. VB script. Here is the reason:



          http://forums.codeguru.com/showthread.php?31534-VBScript-and-API&p=86696#post86696



          It could be done by calling utility SetScrTimeout.exe (from the first link), but unfortunatelly, this small utility doesn't exist on internet anymore.






          share|improve this answer












          In fact, this approach (via registry) doesn't work until reboot.
          Only way to do that without PC reboot is to use an API:



          https://www.pcreview.co.uk/threads/utility-to-temporarily-change-the-screensaver.2321339/#post-7442568



          but APIs can't be used from a command line, i.e. VB script. Here is the reason:



          http://forums.codeguru.com/showthread.php?31534-VBScript-and-API&p=86696#post86696



          It could be done by calling utility SetScrTimeout.exe (from the first link), but unfortunatelly, this small utility doesn't exist on internet anymore.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 21 at 12:06









          Aleksandar

          206




          206












          • Thanks for that. Perhaps SetScrTimeout.exe can be founds on the way back machine? I can't check because of the company firewall, but it should be there - everything else is ;-)
            – Mawg
            Nov 21 at 12:42






          • 1




            I even tried on ftp servers, but no result. I have found an VB source code for that purpose (freevbcode.com/ShowCode.asp?ID=504), but I am not able to make and share an exe.
            – Aleksandar
            Nov 22 at 12:00










          • Any idea which version of VB (I am guessing VN 6)?
            – Mawg
            Nov 22 at 12:44


















          • Thanks for that. Perhaps SetScrTimeout.exe can be founds on the way back machine? I can't check because of the company firewall, but it should be there - everything else is ;-)
            – Mawg
            Nov 21 at 12:42






          • 1




            I even tried on ftp servers, but no result. I have found an VB source code for that purpose (freevbcode.com/ShowCode.asp?ID=504), but I am not able to make and share an exe.
            – Aleksandar
            Nov 22 at 12:00










          • Any idea which version of VB (I am guessing VN 6)?
            – Mawg
            Nov 22 at 12:44
















          Thanks for that. Perhaps SetScrTimeout.exe can be founds on the way back machine? I can't check because of the company firewall, but it should be there - everything else is ;-)
          – Mawg
          Nov 21 at 12:42




          Thanks for that. Perhaps SetScrTimeout.exe can be founds on the way back machine? I can't check because of the company firewall, but it should be there - everything else is ;-)
          – Mawg
          Nov 21 at 12:42




          1




          1




          I even tried on ftp servers, but no result. I have found an VB source code for that purpose (freevbcode.com/ShowCode.asp?ID=504), but I am not able to make and share an exe.
          – Aleksandar
          Nov 22 at 12:00




          I even tried on ftp servers, but no result. I have found an VB source code for that purpose (freevbcode.com/ShowCode.asp?ID=504), but I am not able to make and share an exe.
          – Aleksandar
          Nov 22 at 12:00












          Any idea which version of VB (I am guessing VN 6)?
          – Mawg
          Nov 22 at 12:44




          Any idea which version of VB (I am guessing VN 6)?
          – Mawg
          Nov 22 at 12:44


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f560968%2fhow-can-i-change-the-time-until-the-screensaver-kicks-in-from-the-command-line%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Plaza Victoria

          Puebla de Zaragoza

          Musa