Registry key for Prompting to restart after MS updates

Currently some of the computers I support do not have the "“Show a reminder when the computer needs to be restarted” option enabled. By default, it appears that it is set to off .
Can you please create a script that enables both? I found the registry key for the first one “Show a reminder when the computer needs to be restarted” - “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings” the DWORD value is ‘RestartNotificationsAllowed’ which needs to be set to 1 for enabled.

Thank you in advance.

Is there also a way to have the “give me updates for other MS products when I update Windows” option set to on?

@phil.tukey ,

We have forwarded your request and suggested registry for analysis to our Script Developers. We’ll provide you with their output as soon as possible.

Hi @phil.tukey

Refer the attached JSON file for enabling the following options on your endpoint,

Give me updates for other MS products when I update Windows and Show a reminder when the computer needs to be restarted

Note:

The script works above windows 7 OS.

Let us know your feedback to us,

Thank you

20180816-Microsoft-update-and-remainder-option.json (3.55 KB)

Preethi, Thank you for the quick reply. The “Give me updates for other MS products when I update windows” works perfectly. However the “We’ll show a reminder when we’re going to restart. If you want to see more notifications about restarting, turn this on” is still off. This registry key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings” DWORD value RestartNotificationsAllowed never got set to 1. Any change that this could be updated?

@phil.tukey ,

We have forwarded your request to our Script Developers. We’ll post an update soon.

Hi @phil.tukey

Sorry for your inconvenience. Refer the attached JSON file and provide your feedback to us,

The script will enable Show a reminder when the computer needs to be restarted option on your endpoint,

Thank you

20180817-Show-a-remainder-to-a-restart-option.json (2.66 KB)

@Preethi
Not need to apologize. What I found with the new script (thank you by the way) is that is shows “started” in the procedure log. I ran the command “REG ADD “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings” /v RestartNotificationsAllowed /t REG_DWORD /d 1” from the command prompt and it asked me if I wanted to “overwrite”. Can you change the new “20180817-Show-a-remainder-to-a-restart-option.json” so that it tells the command prompt ‘yes’ to overwrite? Once I told it yes to overwrite it worked.
I am attaching what I am talking about.

Hi @phil.tukey

Refer the attached JSON file for enabling Show a reminder when the computer needs to be restart,

Thanks

20180820-Show-a-remainder-to-a-restart.json (6.45 KB)

@Preethi - Invalid File Specified

@Jimmy - That was the first thing I do and did. I have tried on 3 different browsers, did a save as on Chrome and IE and still nothing.

I was finally able to download it and confirm it works. Thanks.