Control Modifying Proxy Settings Using Registry Editor


  1. Posts : 12
    Windows 10 Pro N x64
       #1

    Control Modifying Proxy Settings Using Registry Editor


    Hey Guys,

    I have a problem with disabling (greyout) and re-enabling the proxy settings using registry editor.
    I managed to disable the proxy using the following key:

    [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel]
    "Proxy"=dword:00000001

    I created the key "Proxy" key and set the DWORD value to 1.

    However, once it's greyed out it won't undo the changes and remains greyout even if I change the value in the DWORD key to 0.
    BTW, I don't have problem doing it in group policy, but I do when try it in REG.

    I would be glad to hear any suggestion on this, thanks.

    My OS details:

    Edition Windows 10 Pro N
    Version 22H2
    Installed on ‎24-‎10-‎2022
    OS build 19045.2130
    Experience Windows Feature Experience Pack 120.2212.4180.0
      My Computer


  2. Posts : 16,965
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #2

    You don't mention what made you decide to make that change to that Key. I assume that it was identified in some online article.

    I suggest that you use something like RegShot to check what happens when you disable it normally, in group policy.
    regshot - SourceForgeNet
    regshot Discussion - SourceForgeNet
    How to Use Regshot To Monitor Your Registry - HTG

    You'll first need to delete that new entry before starting with RegShot so that you have a good foundation for the experiment.
    - Export it first to a .reg file as a form of backup.


    Best of luck,
    Denis
      My Computer


  3. Posts : 12
    Windows 10 Pro N x64
    Thread Starter
       #3

    Yeah as you stated I got it from some articles. The key supposed to work in two ways (enable & disable)

    I opened the links you posted. Actually, I don't have problem identifying my registry changes. In fact, I already have a backup of it.

    I can disable and re-enable the proxy easily from group policy it works fine but the problem occurs when I try to apply that in the Registry. It works only one way, that is (disabling). I want to do it in two ways (enable & disable) through registry.

    I exported it as a reg file then I merged it.

    If there is a different way to do it from registry I am open to try it out. Thanks : )
      My Computer


  4. Posts : 16,965
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #4

    Wolfy7 said:
    I don't have problem identifying my registry changes.
    I assume from that remark that RegShot confirms that it is that Registry change that takes place when you change the setting in Group policy.


    Wolfy7 said:
    I can disable and re-enable the proxy easily from group policy it works fine but the problem occurs when I try to apply that in the Registry. It works only one way, that is (disabling). I want to do it in two ways (enable & disable) through registry.
    I have also found Registry changes that do not have the effect of the change made through the user interface. And some that do have the effect but are not shown as such in the user interface.
    You might also experiment by, say, creating the Key Value you to want to disable the feature then deleting it again to enable the feature [instead of changing its Data entry to 0].



    Best of luck,
    Denis
      My Computer


  5. Posts : 12
    Windows 10 Pro N x64
    Thread Starter
       #5

    Try3 said:
    I assume from that remark that RegShot confirms that it is that Registry change that takes place when you change the setting in Group policy.



    I have also found Registry changes that do not have the effect of the change made through the user interface. And some that do have the effect but are not shown as such in the user interface.
    You might also experiment by, say, creating the Key Value you to want to disable the feature then deleting it again to enable the feature [instead of changing its Data entry to 0].



    Best of luck,
    Denis

    Hi @Try3 I got your point regarding the relationship between GP and REG settings.

    Just to make it more clear I need this to give certain users like Admins the right to modify the proxy credentials without the hectic of group policy which I applied for all users during the Windows10 image creation.

    So the scenario is like this, once the admin login they double click the .reg file created in their desktop and it directly enables proxy through registry, they can also disable it using a different .reg file.

    Anyways, I will take your suggestion for create/delete keys in consideration. And am still open for new suggestions that applies on REG. Thanks for the suggestions @Try3.
      My Computer


  6. Posts : 16,965
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #6

    Wolfy7 said:
    So the scenario is like this, once the admin login they double click the .reg file created in their desktop and it directly enables proxy through registry, they can also disable it using a different .reg file.
    And my creating / deleting idea, if it works, could also be managed the same way - one .reg file for enable, another .reg file for deletion.

    Many people prefer batch files using reg commands as an alternative to .reg files.
    The batch files can run without interruptions [without confirmation dialogs etc].
    You can set them up so that even the Admin prompt is bypassed - that's a bit fiddly and only applies to the specific batch file you set it up for. It also ought only to be used for batch files held within folders that you have applied protective permissions to so you can be reasonably confident that malware is not going to creep in behind your back.
    I can elaborate on these statements if they are of interest to you.
    You'd want to start with seeing if the creating / deleting idea works using .reg files first because there's no point trying to make something more convenient if it does not work anyway.

    All the best,
    Denis
      My Computer


  7. Posts : 12
    Windows 10 Pro N x64
    Thread Starter
       #7

    Try3 said:
    I can elaborate on these statements if they are of interest to you.
    You'd want to start with seeing if the creating / deleting idea works using .reg files first because there's no point trying to make something more convenient if it does not work anyway.

    All the best,
    Denis
    Hey @Try3 pardon me for late reply. It would be glad if you can show me how to apply that in batch files, actually am not smooth with scripting or coding but I can read.
      My Computer


  8. Posts : 16,965
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #8

    If you can prove that the idea of managing your Registry entries using .reg files works then it's worth looking at using reg commands instead.
    Please remember that it was just an idea. I do not know if it will work or not.

    To use reg commands instead of .reg files, see these guides
    Reg - SS64
    reg - MSLearn
    And there are several examples of reg commands in
    Reg examples - TenForums
    As you'll see from those guides & examples, you'll essentially be cutting & pasting bits of your .reg files into the batch files.

    By all means post back for further guidance but do make sure that the .reg file solution works first.
    reg commands cannot solve the problem if those .reg files cannot.
    reg commands would just be a more convenient method [in my opinion] not a more effective one.

    Best of luck,
    Denis
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:14.
Find Us




Windows 10 Forums