I have been trying to modify the value of “RestartNotificationsAllowed2” but it does not seem to change. I have been using the script below on other registry hive and it was working before.
In both of these cases, I think the root problem is that the BESClient runs in 32-bit mode by default, so these values would actually be written to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\WindowsUpdate\UX\Settings
To stop the 32-bit redirection, include the ActionScript command