none
Need EXACT location and value of registry setting for "Always Allow Session cookies" and the "Accept" option for "First Party Cookies" RRS feed

  • Question

  • First things first, thanks to all who can help.....



    I need to programmatically make some adjustments to the Internet Explorer security settings. Most of these settings I have found but there are a few I have not been able to get a clear exact location for in the registry. I will be using a .BAT file to make the adjustments on 100+ PCs.



    Here is what I am looking for.....



    Under the "Internet  Properties" found in control panel, under the "Privacy" tab there is an "Advanced" option button. When I click on it I get an "Advance Privacy Settings" options box. On it are several settings. The first setting, "Override automatic cookie handling" needs to be checked in order to access the other options. I can do that by adjusting the DWord value of "PrivacyAdvanced" under the "Internet Settings" key in the registry, "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet settings", to be specific.



    What I have not been able to find are the registry entries for the "First-party Cookies" "Accept, Block, or Prompt" options, the "Third-party Cookies" "Accept, Block, or Prompt" options, and the "Always allow session cookies" check box. Please see picture below....








    I have seen references to the following settings as being where those options exist, but nothing that explains what each byte/bit controls so I don't know if or where in these settings I will find the control for the 3 things I need to adjust. I don't want to blindly accept some code someone says includes the settings I need. I need to know exactly what to do to change ONLY the 3 things I am looking for.


    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3] "{AEBA21FA-782A-4A90-978D-B72164C80120}"=hex:1a,37,61,59,23,52,35,0c,7a,5f,20,\ 17,2f,1e,1a,19,0e,2b,01,73,13,37,13,12,14,1a,15,2a,4e,2c,08,0d,20,1b,28,18,\ 36,32 "{A8A88C49-5EB2-4990-A1A2-0876022C854F}"=hex:1a,37,61,59,23,52,35,0c,7a,5f,20,\ 17,2f,1e,1a,19,0e,2b,01,73,13,37,13,12,14,1a,15,39,4e,2c,08,0d,20,1b,28,18,\ 36,32


    Any help finding those settings will be greatly appreciated.



    Currently I am using Win 7 Ent x64 and IE 10. But I also need to know how to

    control these settings for IE 9 and 11 and for Windows 7, 8, and even the

    spy ware, oops I meant Windows 10.


    Thanks for the help,


    Ralph

    Thursday, December 3, 2015 5:18 PM

Answers

  • Hi Ralph,

    Thank you for your reply.

    Firstly, we do not suggest you modify the value in the key in registry manually because it may cause the unexpected error or system damage. As I know, Microsoft do not have the exact instruction for the value in each key in registry. We just find the correspond value but we haven't found which value will modify the settings.

    https://msdn.microsoft.com/en-us/library/dn479870.aspx

    If you need further support, you could open a ticket for your issue, but the ticket is not for free.

    https://support.microsoft.com/en-nz/contactus

    Wish you have a nice day.

    Best Regards

    Simon 


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Monday, December 7, 2015 4:41 AM
    Moderator

All replies

  • Hi Ralph,

    It seems you have found the keys in registry to control "Always allow session cookies". We have test in our environment and found the same key value as yours.

    For the exact hexadecimal number to control the setting and how it control, we do not have a good idea to help you. You could deploy this registry key if you need to deploy the settings to clients.

    For the "Accept" under "First party settings", we have also tested for it. You could see the key below in registry to control it.

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3] 
    "{AEBA21FA-782A-4A90-978D-B72164C80120}"=hex:1a,37,61,59,23,52,35,0c,7a,5f,20,\
       17,2f,1e,1a,19,0e,2b,01,73,13,37,13,12,14,1a,15,39,4e,2c,08,0d,20,1b,28,18,\
       36,32 
    "{AEBA21FA-782A-4A90-978D-B72164C80120}"=hex:1a,37,61,59,23,52,35,0c,7a,5f,20,\
       17,2f,1e,1a,19,0e,2b,01,73,13,37,13,12,14,1a,15,2a,4e,2c,08,0d,20,1b,28,18,\
       36,32 
    

    All my test environment is in Windows 7 with Internet Explorer 11. According to my test, the Windows 8 with Internet Explorer 11 and the Windows 10 with Internet Explorer has the same registry key to control it. 

    Hope it will be helpful to you.

    Best Regards

    Simon


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Friday, December 4, 2015 9:09 AM
    Moderator
  • Thank you very much for your reply Simon,

    I would still like to have a complete map of these reg settings HEX number values. And I EXPECT a Microsoft Employed engineer to provide it if no one else can, as an answer to this question in this forum. (I know MS monitors this) There is no excuse for them not getting us that info ASAP.

    That said, Simon, I appreciate your help in validating what will get the option selected that I need. I have now implemented and tested the settings.

    The odd thing is that when the options are not selected the HEX string is 3 to 4 times as long as when it is. That shows that there is a lot going on with those two settings and MS needs to provide COMPLETE documentation on what every Byte/Bit is controlling.

    Anyway, Thanks again Simon for all the help,

    Ralph

    • Proposed as answer by Mark C. Miller Tuesday, November 6, 2018 7:11 PM
    Friday, December 4, 2015 10:15 PM
  • Hi Ralph,

    Thank you for your reply.

    Firstly, we do not suggest you modify the value in the key in registry manually because it may cause the unexpected error or system damage. As I know, Microsoft do not have the exact instruction for the value in each key in registry. We just find the correspond value but we haven't found which value will modify the settings.

    https://msdn.microsoft.com/en-us/library/dn479870.aspx

    If you need further support, you could open a ticket for your issue, but the ticket is not for free.

    https://support.microsoft.com/en-nz/contactus

    Wish you have a nice day.

    Best Regards

    Simon 


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Monday, December 7, 2015 4:41 AM
    Moderator