Can registry settings be “watched” by a program in Windows?
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
add a comment |
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
add a comment |
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
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
linux windows windows-registry
edited Jan 22 at 7:44
Mokubai♦
57.9k16139157
57.9k16139157
asked Jan 22 at 0:24
leeand00leeand00
6,6292783145
6,6292783145
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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