Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Screen Saver Timeout really irritating

Screen Saver Timeout really irritating

Scheduled Pinned Locked Moved The Lounge
iosquestion
41 Posts 25 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J jlongo

    Now that I am working at home all the time, why do I have a screen saver lock on my work PC. Is my cat going to compromise the systems ? I saw where someone had put a mouse in a box with a motor to keep the screen saver from engaging -- seems too hard. I also saw an app for the iPhone called Mouse Mover. Does anyone know if this works ? I can't plug an iPhone into a work computer, but Keyboards and Mice are OK.

    J Offline
    J Offline
    jonmbutler
    wrote on last edited by
    #32

    I've used this simple method for close to 20 years via whatever scripting language was hot at the time. Here is today's version in Powershell:

    [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")

    while ($true)
    {
    [System.Windows.Forms.SendKeys]::SendWait("{NUMLOCK}{NUMLOCK}")
    Start-Sleep -Seconds 240
    }

    Does nothing more than pop your NumLock key twice so fast you could be typing the next great American novel and you won't even notice. The only negative drawback is it can drain a wireless keyboards battery a little more quickly, but playing with the sleep delay (set it to just below your screensaver timeout) will minimize it.

    1 Reply Last reply
    0
    • J jlongo

      Now that I am working at home all the time, why do I have a screen saver lock on my work PC. Is my cat going to compromise the systems ? I saw where someone had put a mouse in a box with a motor to keep the screen saver from engaging -- seems too hard. I also saw an app for the iPhone called Mouse Mover. Does anyone know if this works ? I can't plug an iPhone into a work computer, but Keyboards and Mice are OK.

      O Offline
      O Offline
      obermd
      wrote on last edited by
      #33

      As a corporate IT, it's because this is a work PC and we still have to attempt to ensure our policies are enforced. I know it sounds absurd, but all the security notices I've been receiving recently have revolved around how working from home is actually higher risk for our corporate systems. The reason for this is our security teams haven't included your home network with it's SoHo router that hasn't seen a security patch from the vendor in years, if ever.

      1 Reply Last reply
      0
      • J jlongo

        Now that I am working at home all the time, why do I have a screen saver lock on my work PC. Is my cat going to compromise the systems ? I saw where someone had put a mouse in a box with a motor to keep the screen saver from engaging -- seems too hard. I also saw an app for the iPhone called Mouse Mover. Does anyone know if this works ? I can't plug an iPhone into a work computer, but Keyboards and Mice are OK.

        H Offline
        H Offline
        Howard Wolowitz
        wrote on last edited by
        #34

        My company gave me the computer and run the policies so that I can't change them. I have resorted to jamming the CTRL key down when I am not actively working on it to prevent it from requiring a re-login when I go back to it.

        1 Reply Last reply
        0
        • J jlongo

          Now that I am working at home all the time, why do I have a screen saver lock on my work PC. Is my cat going to compromise the systems ? I saw where someone had put a mouse in a box with a motor to keep the screen saver from engaging -- seems too hard. I also saw an app for the iPhone called Mouse Mover. Does anyone know if this works ? I can't plug an iPhone into a work computer, but Keyboards and Mice are OK.

          D Offline
          D Offline
          Davyd McColl
          wrote on last edited by
          #35

          Try [caffeine](https://zhornsoftware.co.uk/caffeine/)

          If you say that getting the money is the most important thing You will spend your life completely wasting your time You will be doing things you don't like doing In order to go on living That is, to go on doing things you don't like doing Which is stupid. - Alan Watts https://www.youtube.com/watch?v=-gXTZM\_uPMY

          1 Reply Last reply
          0
          • J jlongo

            Now that I am working at home all the time, why do I have a screen saver lock on my work PC. Is my cat going to compromise the systems ? I saw where someone had put a mouse in a box with a motor to keep the screen saver from engaging -- seems too hard. I also saw an app for the iPhone called Mouse Mover. Does anyone know if this works ? I can't plug an iPhone into a work computer, but Keyboards and Mice are OK.

            M Offline
            M Offline
            matblue25
            wrote on last edited by
            #36

            I used to use this little app I found on CodeProject when I was teaching at a local university. The classroom PCs used for the projectors kept popping into password-locked screensaver mode if I didn’t flip slides fast enough. I tried lots of stuff but most were locked out by IT. like installing anything, running Powershell scripts, disabling the screensaver, etc. This is the only thing that worked always. Disable Screensaver[^]

            1 Reply Last reply
            0
            • J jlongo

              Now that I am working at home all the time, why do I have a screen saver lock on my work PC. Is my cat going to compromise the systems ? I saw where someone had put a mouse in a box with a motor to keep the screen saver from engaging -- seems too hard. I also saw an app for the iPhone called Mouse Mover. Does anyone know if this works ? I can't plug an iPhone into a work computer, but Keyboards and Mice are OK.

              M Offline
              M Offline
              MSBassSinger
              wrote on last edited by
              #37

              Can you write code, like C#? Write a simple program that, when it starts up. uses a timer to send a safe key stroke (like Ctrl or whatever). That is usually sufficient to make the screen saver/lock (which I assume you can't change in Windows settings) think you made a key stroke. I would recommend using a timer interval that changes each time between 15 and 60 seconds, using a random number generator. The screen saver/lock coder might be smart enough to look for a repeat of the same interval.

              1 Reply Last reply
              0
              • J jlongo

                Now that I am working at home all the time, why do I have a screen saver lock on my work PC. Is my cat going to compromise the systems ? I saw where someone had put a mouse in a box with a motor to keep the screen saver from engaging -- seems too hard. I also saw an app for the iPhone called Mouse Mover. Does anyone know if this works ? I can't plug an iPhone into a work computer, but Keyboards and Mice are OK.

                M Offline
                M Offline
                Mike_d_fl
                wrote on last edited by
                #38

                I like Mouse Jiggler. https://mouse-jiggler.en.lo4d.com/windows The Zen feature makes it very nice. Keep in mind that it can stop working when using VMs or Remote Desktops.

                1 Reply Last reply
                0
                • J jlongo

                  Now that I am working at home all the time, why do I have a screen saver lock on my work PC. Is my cat going to compromise the systems ? I saw where someone had put a mouse in a box with a motor to keep the screen saver from engaging -- seems too hard. I also saw an app for the iPhone called Mouse Mover. Does anyone know if this works ? I can't plug an iPhone into a work computer, but Keyboards and Mice are OK.

                  P Offline
                  P Offline
                  pmauriks
                  wrote on last edited by
                  #39

                  I hacked the following powershell together to fix this. The trick is that you don't need to move the mouse, you only need to move the mouse cursor to prevent the screensaver. Windows!

                  Quote:

                  $prevent_screensaver = { ######################################################### # Prevent-Screensaver ######################################################### # This script moves the mouse cursor # for specified number of minutes which makes # Windows “think” you are at your desktop # so the screensaver does not start and the desktop # does not get locked. ######################################################### # Makes the script move the mouse (press “.”) for 120 minutes. ######################################################## # (c) Dmitry Sotnikov + T.H. Schmidt # https://dmitrysotnikov.wordpress.com ######################################################## $minutes = 120 [void] [System.Reflection.Assembly]::LoadWithPartialName(“System.Windows.Forms”) $myshell = New-Object -com “Wscript.Shell” for ($i = 0; $i -lt $minutes; $i++) { Start-Sleep -Seconds 60 $Pos = [System.Windows.Forms.Cursor]::Position [System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point((($Pos.X) + 1) , $Pos.Y) } } # stub that will send the e-mail for logging $email = { $emailTo = $Env:USERNAME+"@justice.vic.gov.au" #echo $emailTo $messagecontent = @" This message informs that the screensaver was locked out on PC: "@ $emailFrom = "noreply@x.y.x" $subject="Screensave bypass notification" $smtpserver="mailserver.dns.name" $smtp=new-object Net.Mail.SmtpClient($smtpServer) $smtp.Send($emailFrom, $emailTo, $subject, $messagecontent) } # Pops up the dialog and makes the user agree to the conditions Add-Type -AssemblyName PresentationCore,PresentationFramework $ButtonType = [System.Windows.MessageBoxButton]::YesNo $MessageboxTitle = "User Agreement" $Messageboxbody = "I understand that while the screensaver is disabled on my PC it is my responsibility to ensure it is secure and supervised at all times and I promise I will be a good boy / girl" $MessageIcon = [System.Windows.MessageBoxImage]::Warning $button = [System.Windows.MessageBox]::Show($Messageboxbody,$MessageboxTitle,$ButtonType,$messageicon) # calls the prevent_screensaver sub if the user selected yes. if ($button -like "Yes") { #echo $button &$email &$prevent_screensaver } else { #echo "Selected: No" #&$email

                  1 Reply Last reply
                  0
                  • J jlongo

                    Now that I am working at home all the time, why do I have a screen saver lock on my work PC. Is my cat going to compromise the systems ? I saw where someone had put a mouse in a box with a motor to keep the screen saver from engaging -- seems too hard. I also saw an app for the iPhone called Mouse Mover. Does anyone know if this works ? I can't plug an iPhone into a work computer, but Keyboards and Mice are OK.

                    O Offline
                    O Offline
                    ormonds
                    wrote on last edited by
                    #40

                    Try caffeine.exe

                    1 Reply Last reply
                    0
                    • K k5054

                      Wouldn't your biro-cap key press solution work, at least while the OP is away from his desk?

                      Keep Calm and Carry On

                      J Offline
                      J Offline
                      jlongo
                      wrote on last edited by
                      #41

                      Bird-cap ???

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups