To configure the Configure Automatic Updates and Intranet Microsoft Update Service Location Group Policy settings for your environment
Open Group Policy Management Console (gpmc.msc).
Expand Forest\Domains\Your_Domain.
Right-click Your_Domain, and then select Create a GPO in this domain, and Link it here.
In the New GPO dialog box, name the new GPO WSUS – Auto Updates and Intranet Update Service Location.
Right-click the WSUS – Auto Updates and Intranet Update Service Location GPO, and then click Edit.
In the Group Policy Management Editor, go to Computer Configuration\Policies\Administrative Templates\Windows Components\Windows Update.
Right-click the Configure Automatic Updates setting, and then click Edit.
In the Configure Automatic Updates dialog box, select Enable.
Under Options, from the Configure automatic updating list, select 3 - Auto download and notify for install, and then click OK.
Right-click the Specify intranet Microsoft update service location setting, and then select Edit.
In the Specify intranet Microsoft update service location dialog box, select Enable.
Under Options, in the Set the intranet update service for detecting updates and Set the intranet statistics server options, type http://Your_WSUS_Server_FQDN:PortNumber, and then select OK.
reference:https://learn.microsoft.com/en-us/windows/deployment/update/waas-manage-updates-wsus#:~:text=In%20the%20Group%20Policy%20Management,setting%2C%20and%20then%20click%20Edit.&text=In%20the%20Specify%20intranet%20Microsoft,location%20dialog%20box%2C%20select%20Enable.
Hope this information can help you
Best wishes
Vicky