On the domain controller, open the group policy management tool.
Create a new group policy.
Enter a name for the new group policy.
In our example, the new GPO was named: MY-GPO.
On the Group Policy Management screen, expand the folder named Group Policy Objects.
Right-click your new Group Policy Object and select the Edit option.
On the group policy editor screen, expand the User configuration folder and locate the following item.
Right-click on Internet Settings option and create a new configuration item to Internet explorer.
Access the Connections tab and click on the LAN settings button.
The green line allows the configuration of each item.
F5 activates all the options on the screen.
F6 activates only the chosen setting.
Make sure the configuration you enter has a green line.
Enter the URL to the Proxy automatic configuration Script.
The system will create a Group preference.
To save the group policy configuration, you need to close the Group Policy editor.
Congratulations! You have finished the GPO creation.