PSMShadowUsers to use the Internet Explorer proxy setting, when using PSM Web Connectors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PSMShadowUsers to use the Internet Explorer proxy setting, when using PSM Web Connectors

L1 Bithead

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

1 accepted solution

Accepted Solutions

L2 Linker

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. 

View solution in original post

16 REPLIES 16

L2 Linker

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. 

L4 Transporter

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.

L1 Bithead

@Prasad Kulkarni​ @Zhihao Tan​  thank you so much...Im currently doing it in my lab now..will update you by then

L1 Bithead

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.

L2 Linker

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?

L1 Bithead

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

L4 Transporter

Good to hear that. Thank you for updating.

L2 Linker

Great! Glad that you could fix it.

L3 Networker

Praise the lord! Let's hope it make as an official solution KB in CyberArk support portal

L0 Member

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?

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)

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!

L1 Bithead

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. 

 

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!

  • 1 accepted solution
  • 2207 Views
  • 16 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!