Can registry settings be “watched” by a program in Windows?












2















Let me explain what I mean...



When you edit a configuration file for a service, software or process in Linux, you are generally required to restart or reload it after editing the configuration settings, in order for those configuration settings to take effect.



Is the same true in Windows, when such settings are read from the registry?



Or is it sometimes more of an event driven sort of a thing, where it watches for the settings to change before reloading them?










share|improve this question





























    2















    Let me explain what I mean...



    When you edit a configuration file for a service, software or process in Linux, you are generally required to restart or reload it after editing the configuration settings, in order for those configuration settings to take effect.



    Is the same true in Windows, when such settings are read from the registry?



    Or is it sometimes more of an event driven sort of a thing, where it watches for the settings to change before reloading them?










    share|improve this question



























      2












      2








      2








      Let me explain what I mean...



      When you edit a configuration file for a service, software or process in Linux, you are generally required to restart or reload it after editing the configuration settings, in order for those configuration settings to take effect.



      Is the same true in Windows, when such settings are read from the registry?



      Or is it sometimes more of an event driven sort of a thing, where it watches for the settings to change before reloading them?










      share|improve this question
















      Let me explain what I mean...



      When you edit a configuration file for a service, software or process in Linux, you are generally required to restart or reload it after editing the configuration settings, in order for those configuration settings to take effect.



      Is the same true in Windows, when such settings are read from the registry?



      Or is it sometimes more of an event driven sort of a thing, where it watches for the settings to change before reloading them?







      linux windows windows-registry






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 22 at 7:44









      Mokubai

      57.9k16139157




      57.9k16139157










      asked Jan 22 at 0:24









      leeand00leeand00

      6,6292783145




      6,6292783145






















          1 Answer
          1






          active

          oldest

          votes


















          1














          It really just depends how the application is written.



          For example, most applications that make use of the registry to store configuration will read the registry at startup. You can however set call backs if a registry key changes which would give you a chance to re-load the configuration without the need to restart the process.



          Have a search for regnotifychangekeyvalue as an example.






          share|improve this answer


























          • Wow that search is taking a while...

            – leeand00
            Jan 22 at 1:05











          • It didn't find anything...but I'm not an admin on this machine or anything like that...

            – leeand00
            Jan 22 at 1:09











          • @leeand00 - Sorry I meant for you to Google for regnotifychangekeyvalue.

            – HelpingHand
            Jan 22 at 8:23











          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',
          autoActivateHeartbeat: false,
          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%2f1396823%2fcan-registry-settings-be-watched-by-a-program-in-windows%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          It really just depends how the application is written.



          For example, most applications that make use of the registry to store configuration will read the registry at startup. You can however set call backs if a registry key changes which would give you a chance to re-load the configuration without the need to restart the process.



          Have a search for regnotifychangekeyvalue as an example.






          share|improve this answer


























          • Wow that search is taking a while...

            – leeand00
            Jan 22 at 1:05











          • It didn't find anything...but I'm not an admin on this machine or anything like that...

            – leeand00
            Jan 22 at 1:09











          • @leeand00 - Sorry I meant for you to Google for regnotifychangekeyvalue.

            – HelpingHand
            Jan 22 at 8:23
















          1














          It really just depends how the application is written.



          For example, most applications that make use of the registry to store configuration will read the registry at startup. You can however set call backs if a registry key changes which would give you a chance to re-load the configuration without the need to restart the process.



          Have a search for regnotifychangekeyvalue as an example.






          share|improve this answer


























          • Wow that search is taking a while...

            – leeand00
            Jan 22 at 1:05











          • It didn't find anything...but I'm not an admin on this machine or anything like that...

            – leeand00
            Jan 22 at 1:09











          • @leeand00 - Sorry I meant for you to Google for regnotifychangekeyvalue.

            – HelpingHand
            Jan 22 at 8:23














          1












          1








          1







          It really just depends how the application is written.



          For example, most applications that make use of the registry to store configuration will read the registry at startup. You can however set call backs if a registry key changes which would give you a chance to re-load the configuration without the need to restart the process.



          Have a search for regnotifychangekeyvalue as an example.






          share|improve this answer















          It really just depends how the application is written.



          For example, most applications that make use of the registry to store configuration will read the registry at startup. You can however set call backs if a registry key changes which would give you a chance to re-load the configuration without the need to restart the process.



          Have a search for regnotifychangekeyvalue as an example.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 22 at 1:03









          leeand00

          6,6292783145




          6,6292783145










          answered Jan 22 at 0:58









          HelpingHandHelpingHand

          1,00549




          1,00549













          • Wow that search is taking a while...

            – leeand00
            Jan 22 at 1:05











          • It didn't find anything...but I'm not an admin on this machine or anything like that...

            – leeand00
            Jan 22 at 1:09











          • @leeand00 - Sorry I meant for you to Google for regnotifychangekeyvalue.

            – HelpingHand
            Jan 22 at 8:23



















          • Wow that search is taking a while...

            – leeand00
            Jan 22 at 1:05











          • It didn't find anything...but I'm not an admin on this machine or anything like that...

            – leeand00
            Jan 22 at 1:09











          • @leeand00 - Sorry I meant for you to Google for regnotifychangekeyvalue.

            – HelpingHand
            Jan 22 at 8:23

















          Wow that search is taking a while...

          – leeand00
          Jan 22 at 1:05





          Wow that search is taking a while...

          – leeand00
          Jan 22 at 1:05













          It didn't find anything...but I'm not an admin on this machine or anything like that...

          – leeand00
          Jan 22 at 1:09





          It didn't find anything...but I'm not an admin on this machine or anything like that...

          – leeand00
          Jan 22 at 1:09













          @leeand00 - Sorry I meant for you to Google for regnotifychangekeyvalue.

          – HelpingHand
          Jan 22 at 8:23





          @leeand00 - Sorry I meant for you to Google for regnotifychangekeyvalue.

          – HelpingHand
          Jan 22 at 8:23


















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1396823%2fcan-registry-settings-be-watched-by-a-program-in-windows%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

          Сан-Квентин

          8-я гвардейская общевойсковая армия

          Алькесар