Guest tempnode@gmail.com Posted September 19, 2008 Posted September 19, 2008 I'm trying to update a registry key (HKEY_CURRENT_USER -> Control Panel -> Accessibility -> Keyboard Response -> Flags) and refresh the registry without restarting explorer.exe (or without logging off). I've tried UpdatePerUserSystemParameters from user32.dll, which is supposed to update HKCU, but it won't work. Is there something about this key that won't allow a refresh like the rest of HKCU?
Guest PaulM Posted September 19, 2008 Posted September 19, 2008 Re: Refreshing a key in HKEY_CURRENT_USER registry hive without restart What do you mean, refresh?? If you make a change in the registry and want to refresh, just hit F5 or click on View in the toolbar and click, refresh. -- --------------------------------------------------------------------------------- http://www.paulsxp.com http://www.paulsxp.com/forum http://www.supportspace.com/home/home.s2?aiu=paulm --------------------------------------------------------------------------------- <tempnode@gmail.com> wrote in message news:e71de373-4563-4666-a0fd-3d71a3d030d6@59g2000hsb.googlegroups.com... > I'm trying to update a registry key (HKEY_CURRENT_USER -> Control > Panel -> Accessibility -> Keyboard Response -> Flags) and refresh the > registry without restarting explorer.exe (or without logging off). > > I've tried UpdatePerUserSystemParameters from user32.dll, which is > supposed to update HKCU, but it won't work. > > > Is there something about this key that won't allow a refresh like the > rest of HKCU?
Guest tempnode@gmail.com Posted September 19, 2008 Posted September 19, 2008 Re: Refreshing a key in HKEY_CURRENT_USER registry hive withoutrestart Re: Refreshing a key in HKEY_CURRENT_USER registry hive withoutrestart when i say "refresh" i mean i want the changes to take effect. so, i change the key, and i want that change to take place in the system. for example, there is a registry key to enable and disable task manager. once you enter the key, it takes effect immediately, meaning that if you make the value 1 and press enter, then try to access the task manager, it won't work; once you revert it by making the value 0, you can access the task manager again. that scenario gives an example of what i want to do: make the registry change to "HKEY_CURRENT_USER -> Control Panel -> Accessibility -> Keyboard Response -> Flags" and have the changes take place right away.
Guest Pegasus \(MVP\) Posted September 19, 2008 Posted September 19, 2008 Re: Refreshing a key in HKEY_CURRENT_USER registry hive without restart "PaulM" <paul@No.com> wrote in message news:%23qNR6CpGJHA.3576@TK2MSFTNGP05.phx.gbl... > What do you mean, refresh?? > > If you make a change in the registry and want to refresh, just hit F5 or > click on View in the toolbar and click, refresh. > Windows loads the contents of many registry keys at boot time or at logon time. If you subsequently change one of them then the change has no effect until you log off and on again. The OP wants to know how force Windows to propagate the change without him having to log off an on.
Guest PaulM Posted September 19, 2008 Posted September 19, 2008 Re: Refreshing a key in HKEY_CURRENT_USER registry hive without restart Some keys you can not do this, you will have Log/off and back on for the change to take effect. -- --------------------------------------------------------------------------------- http://www.paulsxp.com http://www.paulsxp.com/forum http://www.supportspace.com/home/home.s2?aiu=paulm --------------------------------------------------------------------------------- <tempnode@gmail.com> wrote in message news:b137a7de-a3f0-4821-a8b7-2fae30ea6de8@l64g2000hse.googlegroups.com... > when i say "refresh" i mean i want the changes to take effect. so, i > change the key, and i want that change to take place in the system. > for example, there is a registry key to enable and disable task > manager. once you enter the key, it takes effect immediately, meaning > that if you make the value 1 and press enter, then try to access the > task manager, it won't work; once you revert it by making the value 0, > you can access the task manager again. > > that scenario gives an example of what i want to do: make the > registry change to "HKEY_CURRENT_USER -> Control > Panel -> Accessibility -> Keyboard Response -> Flags" and have the > changes take place right away.
Guest PaulM Posted September 19, 2008 Posted September 19, 2008 Re: Refreshing a key in HKEY_CURRENT_USER registry hive without restart You can't, you have to logoff/on or stop and start explorer for the change to take effect. I don't think there is any other way to force the change to take effect. -- --------------------------------------------------------------------------------- http://www.paulsxp.com http://www.paulsxp.com/forum http://www.supportspace.com/home/home.s2?aiu=paulm --------------------------------------------------------------------------------- "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message news:#8u8hOpGJHA.3936@TK2MSFTNGP03.phx.gbl... > > "PaulM" <paul@No.com> wrote in message > news:%23qNR6CpGJHA.3576@TK2MSFTNGP05.phx.gbl... >> What do you mean, refresh?? >> >> If you make a change in the registry and want to refresh, just hit F5 or >> click on View in the toolbar and click, refresh. >> > > Windows loads the contents of many registry keys at boot time or at logon > time. If you subsequently change one of them then the change has no effect > until you log off and on again. The OP wants to know how force Windows to > propagate the change without him having to log off an on. >
Guest Pegasus \(MVP\) Posted September 19, 2008 Posted September 19, 2008 Re: Refreshing a key in HKEY_CURRENT_USER registry hive without restart "PaulM" <paul@No.com> wrote in message news:%230aQbZpGJHA.4272@TK2MSFTNGP03.phx.gbl... > You can't, you have to logoff/on or stop and start explorer for the change > to take effect. I don't think there is any other way to force the change > to take effect. > Not necessarily. Take NICs, for example. If you manually modify an NIC's IP address in the registry then the change won't be effective until you reboot the machine. However, if you do it through the Control Panel then it happens without a reboot. In other words, if you know the inner workings then you may be able to propagate a registry change without logging off.
Guest PaulM Posted September 20, 2008 Posted September 20, 2008 Re: Refreshing a key in HKEY_CURRENT_USER registry hive without restart I write VbScripts and I have not found a way to do it yet. Most you have to logoff/on or do a soft reboot. -- --------------------------------------------------------------------------------- http://www.paulsxp.com http://www.paulsxp.com/forum http://www.supportspace.com/home/home.s2?aiu=paulm --------------------------------------------------------------------------------- "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message news:OEorSrpGJHA.1304@TK2MSFTNGP02.phx.gbl... > > "PaulM" <paul@No.com> wrote in message > news:%230aQbZpGJHA.4272@TK2MSFTNGP03.phx.gbl... >> You can't, you have to logoff/on or stop and start explorer for the >> change to take effect. I don't think there is any other way to force the >> change to take effect. >> > > Not necessarily. Take NICs, for example. If you manually modify an NIC's > IP address in the registry then the change won't be effective until you > reboot the machine. However, if you do it through the Control Panel then > it happens without a reboot. In other words, if you know the inner > workings then you may be able to propagate a registry change without > logging off. >
Guest tempnode@gmail.com Posted September 22, 2008 Posted September 22, 2008 Re: Refreshing a key in HKEY_CURRENT_USER registry hive withoutrestart Re: Refreshing a key in HKEY_CURRENT_USER registry hive withoutrestart actually Paul, you can update the hive without restarting explorer.exe... and i do know that some keys require a reboot for the change to take effect. what determines this? i think this key may be one that absolutely needs a reset, but is there a way to block keyboard inputs via registry (disabling keyboard) without rebooting?
Recommended Posts