Hello Dalchina,
thank you for your answer. Indeed, I managed to do some stuff with RegShot, which is a very nice tool. Thank you !
Here is what I acheived, maybe it can help people :
Check the "Clear browsing history on exit" box :
--> set 1 to HKCU\SOFTWARE\Microsoft\Internet Explorer\ClearBrowsingHistoryOnExit
Code:
reg add "HKCU\SOFTWARE\Microsoft\Internet Explorer\Privacy" /v "ClearBrowsingHistoryOnExit" /t REG_DWORD /d 0x00000001 /f
Temporary Internet files (cache) : choose which frequency to check latest version
--> This is controlled by the key : HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\SyncMode5
Actually, setting the key in the registry doesn't change the checkbox, but I guess it changes anyway.
- Each visit of the web page :
Code:
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" /v "SyncMode5" /t REG_DWORD /d 0x00000003 /f
- Each launch of IE :
Code:
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" /v "SyncMode5" /t REG_DWORD /d 0x00000002 /f
- Automatic :
Code:
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" /v "SyncMode5" /t REG_DWORD /d 0x00000004 /f
- Never :
Code:
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" /v "SyncMode5" /t REG_DWORD /d 0x00000000 /f
Maybe the value 1 stands for something..? Mystery.
Space to use on the disk for cache :
When I change the value, these 2 keys change :
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\ContentLimit
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content\CacheLimit
The first is exactly the number we choose in the UI (in hexadecimal notation)
I don't know what the second key does, but it changes and the value is coherent (when I change twice, the value is the same).
Here is the code when we set to 8 Mo :
Code:
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache" /v "ContentLimit" /t REG_DWORD /d 0x00000008 /freg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content" /v "CacheLimit" /t REG_DWORD /d 0x00002000 /f
Again, setting these keys in the registry database doesn't change the value displayed in the UI, but I guess it changes anyway.
History : days to keep the visited webpages
Here it is very simple, and setting the key changes the displayed value.
The key : HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Url History\DaysToKeep
To set 0 :
Code:
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Url History" /v DaysToKeep /t REG_DWORD /d 0x00000000 /f
Start page :
This is the point I didn't suceed. I guess this key does something :
HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Start Page
but changing it doesn't directly change the startpage : it displays a message at IE launch : "An unknown program tries to set your start page to https://www.google.fr/. [change] [don't change]"
Maybe there are other things to see in HKLM or in other keys (RegShot shows that several keys are affected, but it is difficult to make a logical link).
Hope it can help !