How to configure Proxy settings on windows servers using GPO.

Fahad Noaman 151 Reputation points
2024-08-14T13:42:28.2766667+00:00

"I'm trying to configure proxy settings for all our Windows Server 2019 and 2022 servers. I've attempted to use Group Policy to modify the registry, but the changes aren't being applied. Can you help me troubleshoot this issue?"

Create a new GPO under User Configuration > Preferences > Registry. HKEY_CURRENT_USER in SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings key:

ProxyEnable (REG_DWORD) = 00000001

ProxyServer (REG_SZ) = 192.168.1.11:3128

ProxyOverride (REG_SZ) =<local>;192.;.theitbros.com

AutoDetect (REG_DWORD) = 00000000

User's image

Configured proxy using edge policy template it is working for edge browser, but if a user download some other browser and access some site it is still working.

Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
252 questions
Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
435 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,832 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Daisy Zhou 23,346 Reputation points Microsoft Vendor
    2024-08-14T14:59:41.1+00:00

    Hello

    Thank you for posting in Q&A forum.

    Configuring proxy settings for browsers on Windows servers using Group Policy Objects (GPO) can help ensure consistent settings across multiple machines. Here's a general guide for configuring proxy settings for different browsers:

    Internet Explorer

    1.Open Group Policy Management:

    Press Win + R, type gpmc.msc, and press Enter.

    2.Create or Edit a GPO:

    Right-click on the appropriate Organizational Unit (OU) and select "Create a GPO in this domain, and Link it here..." or select an existing GPO and click "Edit".

    3.Navigate to Proxy Settings:

    Go to User Configuration > Preferences > Control Panel Settings > Internet Settings.

    Right-click, choose New > Internet Explorer 10 (or the version you are using).

    4.Configure Proxy Settings:

    Go to the "Connections" tab and click "LAN Settings".

    Check "Use a proxy server for your LAN" and enter your proxy details.

    Click "OK" to apply the settings.

    5.Apply and Close:

    Close the Group Policy Management Editor and ensure the GPO is linked to the appropriate OU.

    Google Chrome

    For Chrome, you typically use Group Policy templates provided by Google.

    1.Download Chrome ADMX Templates:

    Download them from the Google support site.

    2.Add ADMX Templates:

    Copy the ADMX and ADML files to the PolicyDefinitions folder (usually at C:\Windows\PolicyDefinitions).

    3.Open Group Policy Management:

    Press Win + R, type gpmc.msc, and press Enter.

    4.Create or Edit a GPO:

    Right-click on the appropriate OU and select "Create a GPO in this domain, and Link it here..." or select an existing GPO and click "Edit".

    5.Navigate to Chrome Settings:

    Go to User Configuration > Policies > Administrative Templates > Google > Google Chrome. 6.Configure Proxy Settings:

    Look for the “Proxy server” settings and configure them as needed.

    7.Apply and Close:

    Close the Group Policy Management Editor and ensure the GPO is linked to the appropriate OU.

    Firefox (via Mozilla's ADMX Templates)

    For Firefox, you will need to use Mozilla's ADMX templates.

    1.Download Firefox ADMX Templates:

    Download them from the Mozilla official site.

    2.Add ADMX Templates:

    Copy the ADMX and ADML files to the PolicyDefinitions folder.

    3.Open Group Policy Management:

    Press Win + R, type gpmc.msc, and press Enter.

    1. Create or Edit a GPO:

    Right-click on the appropriate OU and select "Create a GPO in this domain, and Link it here..." or select an existing GPO and click "Edit".

    5.Navigate to Firefox Settings:

    Go to User Configuration > Policies > Administrative Templates > Mozilla > Firefox.

    6.Configure Proxy Settings:

    Look for “Proxy” settings and configure them as needed.

    7.Apply and Close:

    Close the Group Policy Management Editor and ensure the GPO is linked to the appropriate OU.

    Important Considerations:

    Permissions:

    Make sure the users/computers you want to apply these settings to have the appropriate permissions to apply the GPO.

    Testing:

    Always test your GPO settings in a controlled environment before rolling them out widely to ensure they work as expected.

    Updates: Policies and templates for browsers may be updated, so ensure you're using the latest versions where applicable.

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.