Script to turn off Windows update screen for en users

I know this can be done. Does someone know of a script to disable the windows update screen for windows 10 and 11? I want it to display updates are being managed by your organization IT department.

It’s group policy. You should be able to set the registry settings just the same if you don’t have a domain. https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsUpdate::AutoUpdateCfg won’t work on Home editions of course.