See if the steps below resolve your issue. I would probably make a new System Restore Point before making any changes.
Windows Update
If the error message presides in your Windows Update window, we will change some settings and check if the problem gets fixed.
- Press Windows + S to launch the search bar of your start menu. Type “gpedit.msc” in the dialogue box. Right-click on the first result which comes forth and select “Run as administrator”.
- Now navigate to the following path using the navigator present at the left side of the screen.
Computer Configuration/ Administrative Templates/ Windows Components/ Windows Update
- Once in the correct file path, find the item named as “Configure Automatic Updates” at the right side of the window.

- Double-click the entry to open its settings. Now mark the setting as “Not Configured”. Click Apply to save your changes and exit.

- Check if your problem got fixed. A restart might be required in order for all the effects to take place.
Above taken from https://appuals.com/how-to-fix-some-settings-are-managed-by-your-organization/