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. Yay! Success!

Yay! Success!

Scheduled Pinned Locked Moved The Lounge
helpc++comoopquestion
13 Posts 9 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.
  • D Offline
    D Offline
    David ONeil
    wrote on last edited by
    #1

    Sometimes I really hate Windows. Two triggers for this are updates change the power management settings to default, so the screensaver doesn't work any more, and the Caps Lock key loses its toggled state at every reboot or sleep cycle. I had the second one solved a few years ago, with a scheduled task at bootup to run a simple custom NumLockChanger program. About 9 months ago or so it stopped working. Played with it a bit, and for some reason could never get it to work, although it had previously responded to the 31/131 task just fine. Cussed a lot, and never got to the bottom of it. Changed the event being responded to to 'unlocking of workstation' yesterday. Now it works fine, although I don't have the NumLock key activated during password entry. Good enough! Microsoft - don't change this any more!!! And fix the power management bug! 1 out of 2 - success!

    The Science of King David's Court | Object Oriented Programming with C++

    D W C 3 Replies Last reply
    0
    • D David ONeil

      Sometimes I really hate Windows. Two triggers for this are updates change the power management settings to default, so the screensaver doesn't work any more, and the Caps Lock key loses its toggled state at every reboot or sleep cycle. I had the second one solved a few years ago, with a scheduled task at bootup to run a simple custom NumLockChanger program. About 9 months ago or so it stopped working. Played with it a bit, and for some reason could never get it to work, although it had previously responded to the 31/131 task just fine. Cussed a lot, and never got to the bottom of it. Changed the event being responded to to 'unlocking of workstation' yesterday. Now it works fine, although I don't have the NumLock key activated during password entry. Good enough! Microsoft - don't change this any more!!! And fix the power management bug! 1 out of 2 - success!

      The Science of King David's Court | Object Oriented Programming with C++

      D Offline
      D Offline
      dandy72
      wrote on last edited by
      #2

      David O'Neil wrote:

      the screensaver doesn't work any more

      If only I was that lucky. I'm on a domain that has a policy that forces the lock screen to show up after 5 minutes of inactivity. (I'm assuming that "screensaver" in this case is interchangeable--who needs a screensaver in this day and age?) I would *love* to have that disabled, especially since the machine is a remote VM that can only be access over VPN. Having its screen locking automatically provides absolutely zero benefit to anyone.

      F raddevusR 2 Replies Last reply
      0
      • D David ONeil

        Sometimes I really hate Windows. Two triggers for this are updates change the power management settings to default, so the screensaver doesn't work any more, and the Caps Lock key loses its toggled state at every reboot or sleep cycle. I had the second one solved a few years ago, with a scheduled task at bootup to run a simple custom NumLockChanger program. About 9 months ago or so it stopped working. Played with it a bit, and for some reason could never get it to work, although it had previously responded to the 31/131 task just fine. Cussed a lot, and never got to the bottom of it. Changed the event being responded to to 'unlocking of workstation' yesterday. Now it works fine, although I don't have the NumLock key activated during password entry. Good enough! Microsoft - don't change this any more!!! And fix the power management bug! 1 out of 2 - success!

        The Science of King David's Court | Object Oriented Programming with C++

        W Offline
        W Offline
        W Balboos GHB
        wrote on last edited by
        #3

        David O'Neil wrote:

        updates

        When you bought into window ten you opened yourself up to the following type of admonishment: "It ain't yer computer no more - so jes' shut up and and give us a bit toothy grin."

        Ravings en masse^

        "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

        "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

        1 Reply Last reply
        0
        • D dandy72

          David O'Neil wrote:

          the screensaver doesn't work any more

          If only I was that lucky. I'm on a domain that has a policy that forces the lock screen to show up after 5 minutes of inactivity. (I'm assuming that "screensaver" in this case is interchangeable--who needs a screensaver in this day and age?) I would *love* to have that disabled, especially since the machine is a remote VM that can only be access over VPN. Having its screen locking automatically provides absolutely zero benefit to anyone.

          F Offline
          F Offline
          Forogar
          wrote on last edited by
          #4

          I have a program that runs in the background and hits a key every few seconds - this defeats the inactivity time-out. There are a few of these around on the interweb - or I can send you the source code and you can build it yourself.

          - I would love to change the world, but they won’t give me the source code.

          Richard Andrew x64R D 2 Replies Last reply
          0
          • D David ONeil

            Sometimes I really hate Windows. Two triggers for this are updates change the power management settings to default, so the screensaver doesn't work any more, and the Caps Lock key loses its toggled state at every reboot or sleep cycle. I had the second one solved a few years ago, with a scheduled task at bootup to run a simple custom NumLockChanger program. About 9 months ago or so it stopped working. Played with it a bit, and for some reason could never get it to work, although it had previously responded to the 31/131 task just fine. Cussed a lot, and never got to the bottom of it. Changed the event being responded to to 'unlocking of workstation' yesterday. Now it works fine, although I don't have the NumLock key activated during password entry. Good enough! Microsoft - don't change this any more!!! And fix the power management bug! 1 out of 2 - success!

            The Science of King David's Court | Object Oriented Programming with C++

            C Offline
            C Offline
            Cp Coder
            wrote on last edited by
            #5

            We have three printers on our home network. After every update I used to find that my default printer was changed to my wife's paintjet, for which I don't even have a driver installed. However, lately I just find that after an update I don't have a default printer anymore. Yuck!

            Get me coffee and no one gets hurt!

            Greg UtasG D 2 Replies Last reply
            0
            • F Forogar

              I have a program that runs in the background and hits a key every few seconds - this defeats the inactivity time-out. There are a few of these around on the interweb - or I can send you the source code and you can build it yourself.

              - I would love to change the world, but they won’t give me the source code.

              Richard Andrew x64R Offline
              Richard Andrew x64R Offline
              Richard Andrew x64
              wrote on last edited by
              #6

              Is it native code?

              The difficult we do right away... ...the impossible takes slightly longer.

              M F 2 Replies Last reply
              0
              • Richard Andrew x64R Richard Andrew x64

                Is it native code?

                The difficult we do right away... ...the impossible takes slightly longer.

                M Offline
                M Offline
                MarkTJohnson
                wrote on last edited by
                #7

                Doesn't that depend on whether or not you and Forogar are in the same country?

                I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.

                1 Reply Last reply
                0
                • D dandy72

                  David O'Neil wrote:

                  the screensaver doesn't work any more

                  If only I was that lucky. I'm on a domain that has a policy that forces the lock screen to show up after 5 minutes of inactivity. (I'm assuming that "screensaver" in this case is interchangeable--who needs a screensaver in this day and age?) I would *love* to have that disabled, especially since the machine is a remote VM that can only be access over VPN. Having its screen locking automatically provides absolutely zero benefit to anyone.

                  raddevusR Offline
                  raddevusR Offline
                  raddevus
                  wrote on last edited by
                  #8

                  We have same situation. Complete VM desktops which lock every 5 minutes and are accessed only from VPN. So annoying. Someone here showed me a trick. Open PowerPoint. Create blank presentation with one slide is fine. Start a powerpoint presentation. Alt-Tab away from powerpoint and it will be running presentation in background. The machine will not lock any more. I have it running on my VM desktop and it worked for my wife's computer at an entirely different company. It'll make you so happy not having to unlock computer every 5 minutes. :thumbsup::cool:

                  Greg UtasG 1 Reply Last reply
                  0
                  • raddevusR raddevus

                    We have same situation. Complete VM desktops which lock every 5 minutes and are accessed only from VPN. So annoying. Someone here showed me a trick. Open PowerPoint. Create blank presentation with one slide is fine. Start a powerpoint presentation. Alt-Tab away from powerpoint and it will be running presentation in background. The machine will not lock any more. I have it running on my VM desktop and it worked for my wife's computer at an entirely different company. It'll make you so happy not having to unlock computer every 5 minutes. :thumbsup::cool:

                    Greg UtasG Offline
                    Greg UtasG Offline
                    Greg Utas
                    wrote on last edited by
                    #9

                    It kind of makes me sad, because it means PowerPoint is actually good for something.

                    Robust Services Core | Software Techniques for Lemmings | Articles
                    The fox knows many things, but the hedgehog knows one big thing.

                    <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                    <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                    1 Reply Last reply
                    0
                    • C Cp Coder

                      We have three printers on our home network. After every update I used to find that my default printer was changed to my wife's paintjet, for which I don't even have a driver installed. However, lately I just find that after an update I don't have a default printer anymore. Yuck!

                      Get me coffee and no one gets hurt!

                      Greg UtasG Offline
                      Greg UtasG Offline
                      Greg Utas
                      wrote on last edited by
                      #10

                      It's because the driver for your linotype machine has been deprecated, so they keep deleting it.

                      Robust Services Core | Software Techniques for Lemmings | Articles
                      The fox knows many things, but the hedgehog knows one big thing.

                      <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                      <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                      1 Reply Last reply
                      0
                      • C Cp Coder

                        We have three printers on our home network. After every update I used to find that my default printer was changed to my wife's paintjet, for which I don't even have a driver installed. However, lately I just find that after an update I don't have a default printer anymore. Yuck!

                        Get me coffee and no one gets hurt!

                        D Offline
                        D Offline
                        David ONeil
                        wrote on last edited by
                        #11

                        Unngh! :mad:

                        The Science of King David's Court | Object Oriented Programming with C++

                        1 Reply Last reply
                        0
                        • F Forogar

                          I have a program that runs in the background and hits a key every few seconds - this defeats the inactivity time-out. There are a few of these around on the interweb - or I can send you the source code and you can build it yourself.

                          - I would love to change the world, but they won’t give me the source code.

                          D Offline
                          D Offline
                          dandy72
                          wrote on last edited by
                          #12

                          I have one of those. Its problem is that if the RDP window is minimized, then the keystrokes get ignored (or so it seems).

                          1 Reply Last reply
                          0
                          • Richard Andrew x64R Richard Andrew x64

                            Is it native code?

                            The difficult we do right away... ...the impossible takes slightly longer.

                            F Offline
                            F Offline
                            Forogar
                            wrote on last edited by
                            #13

                            It's in C# and uses a DLL called InputSimulator to actually send the keystrokes. You could make the native API call yourself if you prefer.

                            - I would love to change the world, but they won’t give me the source code.

                            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