How do I configure IE proxy Settings for all my PSMShadowUsers launching IE from PSM?
86
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 12:57 PM
Objective
How do I configure IE proxy Settings for all my PSMShadowUsers launching IE from PSM?
Environment
10.5;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM)
Procedure
Method One:
This method has been tested with Windows Server 2012 R2.
This method has been tested with Windows Server 2012 R2.
1, Login as a local admin user
2. Run--gpedit.msc
3. Go to Computer Configuration\Administrative Templates\Windows Components\Internet Explorer
4. Enable "Make proxy settings per-machine" policy
5. Open IE--Internet Options--Connection-LAN Settings to set up the Proxy configuration.
2. Run--gpedit.msc
3. Go to Computer Configuration\Administrative Templates\Windows Components\Internet Explorer
4. Enable "Make proxy settings per-machine" policy
5. Open IE--Internet Options--Connection-LAN Settings to set up the Proxy configuration.
The Proxy configuration will be apply to all users log into this computer and only administrator is able to change it.
Method Two:
This method is applicable to Windows Server 2008 R2 and Windows Server 2012
Method Two:
This method is applicable to Windows Server 2008 R2 and Windows Server 2012
1. From domain controller, login as an domain administrator and launch GPMC.MSC
2. Edit the GPO object which is now applied to PSM server(s).
3. Go to User Configuration\Preferences\Control Panel Settings\Internet Settings
4. Select Internet Settings and then right-click to select New and choose the option of "Internet Explorer 10" (this IE configuration will be applied to IE11 as well)
5. Open Connections tab--LAN Settings--and edit the Proxy configurations
6. Run the following command at a command prompt on PSM where you want the settings to apply or wait for the group policy background refresh:
2. Edit the GPO object which is now applied to PSM server(s).
3. Go to User Configuration\Preferences\Control Panel Settings\Internet Settings
4. Select Internet Settings and then right-click to select New and choose the option of "Internet Explorer 10" (this IE configuration will be applied to IE11 as well)
5. Open Connections tab--LAN Settings--and edit the Proxy configurations
6. Run the following command at a command prompt on PSM where you want the settings to apply or wait for the group policy background refresh:
gpupdate.exe /force
Configure the desired Internet Explorer Preference settings and click Apply and then OK
Configure the desired Internet Explorer Preference settings and click Apply and then OK
Method Three
This method has been tested with Windows Server 2016
1. On the PSM server, in File Explorer, enable the ability to see "Hidden Files and Folders" and uncheck "Hide Protected Operating System Files" (this will enable the ability to see NTUSER.DAT file)
2. On the PSM server, choose Start, then Run, and enter regedit
3. With the HKEY_USERS hive highlighted choose File, then Load Hive
4. Load the file C:\Users\Default\NTUSER.DAT
6. At the "Key Name" prompt, give it a name. E.g enter: NTUSER.DAT
7. Edit HKEY_USERS\NTUSER.DAT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
2. On the PSM server, choose Start, then Run, and enter regedit
3. With the HKEY_USERS hive highlighted choose File, then Load Hive
4. Load the file C:\Users\Default\NTUSER.DAT
6. At the "Key Name" prompt, give it a name. E.g enter: NTUSER.DAT
7. Edit HKEY_USERS\NTUSER.DAT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
To use automatic configuration script add:
Registry Key: “AutoConfigURL”
Value Type: REG_SZ
Value Type: REG_SZ
Example Value Data: “http://<servername|host>/myproxyconfiguration.pac”
To configure a Proxy server add below keys:
To configure a Proxy server add below keys:
Please refer to Microsoft for other registry configuration. You search above registry name one by one on Microsoft website for their detailed explanation and configurations or consult with your Windows Server Administrator
8. With the HKEY_USERS\NTUSER.DAT key selected, choose File, then Unload Hive
9. From Computer Management , delete all existing Shadow users, The new shadow users will pick up the new proxy settings.
9. From Computer Management , delete all existing Shadow users, The new shadow users will pick up the new proxy settings.
Method Four
DISCLAIMER:
Edit the Registry at your own risk. Inappropriate changes to the Windows Registry can disable the operating system! To safeguard against such an accident, we recommend that you back up your existing registry by choosing Registry > Export Registry File after launching the Registry Editor and before making any changes.
1. On the PSM server open IE and configure the Proxy address
2. Run regedit and go to [HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections]
3. Right click and Export
4. Open the exported file using Notepad (Please see the example, this is for Address 10.10.10.10)
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections]
"DefaultConnectionSettings"=hex:46,00,00,00,03,00,00,00,0b,00,00,00,0e,00,00,\
00,31,30,2e,31,30,2e,31,30,2e,31,30,3a,38,30,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00
"SavedLegacySettings"=hex:46,00,00,00,26,00,00,00,0b,00,00,00,0e,00,00,00,31,\
30,2e,31,30,2e,31,30,2e,31,30,3a,38,30,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00
Replace the
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections]
with the following
[HKEY_USERS\NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections]
5. Save the file (Proxy.reg)
6. In File Explorer, enable the ability to see "Hidden Files and Folders" and uncheck "Hide Protected Operating System Files" (this will enable the ability to see NTUSER.DAT file)
7. With the HKEY_USERS hive highlighted choose File, then Load Hive
8. Load the file C:\Users\Default\NTUSER.DAT
9. At the "Key Name" prompt, name the new hive NTUSER.DAT. The name NTUSER.DAT should be used as it is referring to a name in the file from step 4 (Proxy.reg).
10 Run the Proxy.reg file. The simplest way is by double clicking on the Proxy.reg file. (If you named your hive something other than NTUSER.DAT update the registry location name in this file to match)
11. You will now see in the NTUSER.DAT hive (in the registry, run refresh) new keys in HKEY_USERS\NTUSER.DAT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections.
12. Select the hive name under HKEY_Users then unload it by selecting from the File menu the option Unload Hive. You will see the NTUSER.DAT hive is gone. The changes are applied to the NTUSER.DAT file so new profiles will use the settings.
13. Remove the PSMShadow user (the one you use for test) and check if you now can see the Proxy IP.
Additional Information
Details
How do I configure IE proxy Settings for all my PSMShadowUsers launching IE from PSM?