- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
08-23-2018 11:38 PM
Hi,
Would like to know if any of you guys encountered using PSM Web Connector (for IE, preferably using AutoIt), but a requirement to connect to the targets will use a proxy setting (pac file). We used the GPO setting found in the net, applied it to the PSM server, deleted the PSMShadowUser profiles, but it is still not working (it wont still use the proxy setting). Any input is appreciated.
Thank you so much,
Francis
08-23-2018 11:59 PM
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
To use automatic configuration script
Please add
Registry Key: “AutoConfigURL”
Value Type: REG_SZ
Example Value Data: “http://<servername|host>/myproxyconfiguration.pac”
To configure a Proxy server , please add below keys
"ProxyEnable"=dword:00000001
"ProxyServer"="http://ProxyServername:80"
"ProxyOverride"="<local>"
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.
08-23-2018 11:59 PM
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
To use automatic configuration script
Please add
Registry Key: “AutoConfigURL”
Value Type: REG_SZ
Example Value Data: “http://<servername|host>/myproxyconfiguration.pac”
To configure a Proxy server , please add below keys
"ProxyEnable"=dword:00000001
"ProxyServer"="http://ProxyServername:80"
"ProxyOverride"="<local>"
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.
08-24-2018 12:06 AM
You should try to validate the settings by logging in interactively as a shadow user. You can reset the password of the shadow user and also empty the value of "start program on logon" in the user properties of the shadow user on the PSM Windows server level. In any case, the steps shared by @Prasad Kulkarni should be a step in the right direction.
08-24-2018 12:24 AM
@Prasad Kulkarni @Zhihao Tan thank you so much...Im currently doing it in my lab now..will update you by then
08-24-2018 03:06 AM
Hi @Prasad Kulkarni @Zhihao Tan ... Im unable to replicate it in my lab.. not sure what Im doing wrong. But I followed the steps, but the Use automatic configuration script is not enabled and the proxy (pac) is not in the box.
08-24-2018 07:30 AM
Would suggest open up a support case or reach out to your CyberArk Technical contact as it may require further technical assistance...
Were you able to complete all steps given above?
08-26-2018 07:11 PM
Hi @Prasad Kulkarni and @Zhihao Tan , Just to update you that the thing works on the customer side. I may need another set of lab. 😄
Thank you so much
08-26-2018 07:12 PM
Good to hear that. Thank you for updating.
08-26-2018 11:12 PM
Great! Glad that you could fix it.
08-26-2018 11:15 PM
Praise the lord! Let's hope it make as an official solution KB in CyberArk support portal
09-07-2018 12:10 PM
I am having similar issue. I configured proxy server following the steps @PrasadK (CyberArk) provided but I have no luck. When I ran IE as the shadow users I don't even see the proxy configuration I specified in the registry. Any suggestions?
12-11-2018 06:00 AM
To add to the excellent description by @Prasad Kulkarni : In my lab, deleting the PSM shadow users was not enough. I deleted the user profiles for those users also and rebooted the PSM machine, only then would IE & Chrome correctly use the proxy.pac URL! (If you have already deleted the PSM shadow users, you'll have a couple of profiles named "Account unknown)
12-13-2018 09:52 AM
Another point you need to be aware of: If you have applied the "InDomain" hardening GPO to your PSM, the Windows service "WinHttpAutoProxySvc" will be disabled! This means that even if the registry correctly sets the proxy autoconfig URL (http://something/proxy.pac) for your PSM shadow-users, IE won't use the proxy.pac file!
12-23-2018 05:29 AM
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.
09-07-2019 09:04 AM
Hi @Bernhard Brückler Good Point .. I'm in the same situation though I've followed the steps still my shadow users are not getting the right proxy ( I'm using Proxy server not pac file).. Any workaround for this? I've in domain GPO.. thanks!
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

