Press the Windows key + R to open the Run dialog box.
Type regedit and press Enter to open the Registry Editor.
Navigate to the following key (you can paste the path into the Registry Editor navigation bar): HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\Notify
If the Notify key does not exist under WindowsUpdate, right-click the WindowsUpdate folder, select New > Key, and name it Notify.
Inside the Notify key, right-click on the right pane and select New > DWORD (32-bit) Value.
Name the new value DiscontinueEOS and set its Value data to 1.
Close the Registry Editor and restart your PC for the changes to take effect.