TIO-Solutions
asked on
Script to change IE settings
Hi there
I need a batch file (script) that can change the cookies settings in Internet Explorer. It should enable the option "Override automatic cookie handling" and "Always allow session cookies" under the Advanced Privacy settings.
I need a batch file (script) that can change the cookies settings in Internet Explorer. It should enable the option "Override automatic cookie handling" and "Always allow session cookies" under the Advanced Privacy settings.
Im afraid im out of time to search more, I think the answer can be found here, but so far no luck.
http://support.microsoft.com/?kbid=182569
http://support.microsoft.com/?kbid=182569
ASKER
I have been looking, but with no luck so far
Wow, that is one abstruse KB article.
Through experimenting with Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) I was able to get the boxes checked using the .reg file below. I tried it on two machines, but you will probably want to test it more extensively before mass-deploying it.
Through experimenting with Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) I was able to get the boxes checked using the .reg file below. I tried it on two machines, but you will probably want to test it more extensively before mass-deploying it.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"PrivacyAdvanced"=dword:00000001
[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,2a,4e,2c,08,0d,20,1b,28,18,\
36,32
This .reg file reverses the settings.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"PrivacyAdvanced"=dword:00000000
[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
"{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,2a
ASKER
So how do I write the batch file to automatically make the changes in my registry?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Everything was working
[HKEY_CURRENT_USER\Softwar
Just gotta modify the key called "PrivacyAdvanced" from 0 to 1
Im still trying to find the Always Allow, it don't seem to be in the same place.