With advertisements all over modern websites the demand on the CPU while surfing is increasing massive. If you just browse to a normal newspaper website you will will notice a lot of JavaScript and HTML5 stuff. On your own workstation this will not be a big deal but when you imagine there are a lot of users on a Terminalserver this will result in very bad performance for all users which are working on this machine.
Lets have a look what happens when you open a website. This test was excuted on a provionsed VM with 4 vCPUs and 32GB RAM. No other users have been working on the XenApp worker this time.
Disabling JavaScript? Good idea but most of your users will go crazy because most of the websites will not be usable anymore.
The most effective way would be to block the advertisment on the firewall before its reaching the session of the user. Many big firewall manufacturer support this already. With the “Tracking Protection” of Internet Explorer you also have the possibility to block this resource hungry advertisements.
Here you can see the same website with enabled tracking protection.
How can you rollout the “Tracking Protection” for all of your users? To enable this feature you need to do the following steps.
1.) Specify which Tracking Protection Lists you want to use. Im using “EasyList Standard” and “EasyList German”.
2.) Create the following registry keys via Group Policy Management
1 2 3 4 5 |
HKEY_CURRENT_USER Software\Microsoft\Internet Explorer\Safety\PrivacIE Name: FilteringMode Type: REG_DWORD Value: 0 |
EasyList Standard
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
HKEY_CURRENT_USER Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{4E50D7F4-AC8A-4844-86A0-66A36BB605CB} Name: Enabled Type: REG_DWORD Value: 1 HKEY_CURRENT_USER Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{4E50D7F4-AC8A-4844-86A0-66A36BB605CB} Name: Name Type: REG_SZ Value: EasyList HKEY_CURRENT_USER Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{4E50D7F4-AC8A-4844-86A0-66A36BB605CB} Name: Path Type: REG_SZ Value: %USERPROFILE%\AppData\Local\Microsoft\Internet Explorer\Tracking Protection\{3A612722-E054-4878-A8BD-51CCB5AFE8B8}.tpl HKEY_CURRENT_USER Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{4E50D7F4-AC8A-4844-86A0-66A36BB605CB} Name: URL Type: REG_SZ Value: http://easylist-msie.adblockplus.org/easylist.tpl |
Easy List – German
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
HKEY_CURRENT_USER Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{3910C06D-EBBB-4816-B9C8-9DB7DABA7A0F} Name: Enabled Type: REG_DWORD Value: 1 HKEY_CURRENT_USER Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{3910C06D-EBBB-4816-B9C8-9DB7DABA7A0F} Name: Name Type: REG_SZ Value: EasyList Germany HKEY_CURRENT_USER Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{3910C06D-EBBB-4816-B9C8-9DB7DABA7A0F} Name: Path Type: REG_SZ Value: %USERPROFILE%\AppData\Local\Microsoft\Internet Explorer\Tracking Protection\{4CDA80C1-FEAC-448D-8FCF-FC2742800C7B}.tpl HKEY_CURRENT_USER Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{3910C06D-EBBB-4816-B9C8-9DB7DABA7A0F} Name: URL Type: REG_SZ Value: http://easylist-msie.adblockplus.org/easylistgermany+easylist.tpl |
3.) Modify your Citrix UPM Policy to synchronize the directory “AppData\Local\Microsoft\Internet Explorer\Tracking Protection”.
If you dont synchronize this directory the EasyList files will get deleted at every logoff. It can take up to 45 seconds when the user is opening a new session until the easy list files get downloaded. Your users will start surfing without tracking protection 😉
You can modify the “TTL” DWORD to increase/reduce the update periode of the specific EasyList.
Its also possible to disable the tracking protection for specific websites. Here you need to generate a DWORD witht the websites url and change the value to 1.
1 |
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Safety\Tracking Protection Exceptions |
Always a good idea to use TPL if you’re using IE…you can use ABP for Chrome as well. I did a video on TPL a while ago https://www.youtube.com/watch?v=RAvHgXViRFk
Hello
sorry I dont speak English.
We are in citrix xenapp 6.5 (2008r2) with roaming profile and redirected folder
I would like to know if I can modify the default folder, instead of Local
… Local \ Microsoft \ Internet Explorer \ Tracking Protection \ {7C998372-3B89-46E6-9546-1945C711CD0C} .tpl
but in the roaming folder
… Roaming \ Tracking Protection \ {7C998372-3B89-46E6-9546-1945C711CD0C} .tpl
With that, I can keep the file in the user’s Roaming folder
guigui69
Its not possible to put the TPL files in the AppData Roaming folder. There is something harcorded in IE reagarding the path… I have tried this already.
If you change the Path string to “%USERPROFILE%\AppData\Roaming\Microsoft\Internet Explorer\Tracking Protection\{3A612722-E054-4878-A8BD-51CCB5AFE8B8}.tpl” after a fresh login you will get “C:\Users\test.LAB\AppData\Roaming\Microsoft\Internet Explorer\Tracking Protection\{4CDA80C1-FEAC-448D-8FCF-FC2742800C7B}.tpl”. As soon you start Internet Explorer it will change to “C:\Users\test.LAB\AppData\Local\Microsoft\Internet Explorer\Tracking Protection\{4CDA80C1-FEAC-448D-8FCF-FC2742800C7B}.tpl”
Are you using Citrix Profile Managment or native profiles?
If you use native profiles, you could create a script, which is putting the files to “AppData\Local” on every login. With UPM just synchronize the .tpl files.
I haven’t tried this yet, but you have probably left the type as REG_SZ. This will accept the environment variable and use it to write the line.
If you use REG_SZ_EXP then it will resolve the environment variable as needed.
Hello
Sorry do not speak french
I use roaming profiles (with folder redirection).
I do not have Citrix manager profiles
I tested on my personal PC windows10 (so not in environment citrix) by creating a folder in
C: \ Users \ Florent \ AppData \ Roaming \ Tracking Protection
and modify the registry:
[HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ Safety \ PrivacIE \ Lists \ {025EA0A7-9796-4EB9-AF9C-3B92FE6FD436}]
„Path“ = „C: \\ Users \\ xxxx \\ AppData \\ Roaming \\ Tracking Protection \\ {025EA0A7-9796-4EB9-AF9C-3B92FE6FD436} .tpl“
„Name“ = „EasyList France EasyList“
„Url“ = „http://easylist-msie.adblockplus.org/liste_fr+easylist.tpl“
„Enabled“ = dword: 00000001
„LastUpdateTime“ = dword: 0037be51
„TTL“ = dword: 00000001
So I have nothing in C: \ Users \ Florent \ AppData \ Local \ Microsoft \ Internet Explorer \ Tracking Protection
I then delete the files present in the Tracking Protection folder. When I started internet explorer he downloaded file in the folder \\ Roaming Tracking Protection \
Unless on windows 2008r2 there is a rule that forces ca.
Did you test which windows?
So you are saying the roaming is working if you specify the complete path without the %userprofile% variable? My Lab is running on W2k16 at the moment. I will verify this tomorrow.
With W2k16 I couldnt get the files roaming to Appdata when using “C:\Users\%username%”. The path is always being changed to local. With Citrix UPM or MS Profile Disk the files can be retained.
Hello,
I would like to know what level you have in graphics for the visual% CPU ??
It’s the default cpu usage graph when using perfmon.
Hello
attached an image.
http://hpics.li/9cd6158
I set the GPP preference in% appdataDir%
% AppDataDir% \ Tracking Protection \ {025EA0A7-9796-4EB9-AF9C-3B92FE6FD436} .tpl
and I also copy the file with a preference gpo
It seems to work.
Can you test? Unless I have a chance 🙂
I tested only on my citrix session
Hi. I tried it on Windows 10 with IE. What I have noticed is that the “{3A612722-E054-4878-A8BD-51CCB5AFE8B8}.tpl” file gets delete after you close+re-open internet explorer. That is not good and I don’t know what to do about it as the file doesn’t get downloaded again!!
Do you have any insights on that?
Thanks
Any GPO involved which is cleaning up? Which build are you using?
On this key:
HKEY_CURRENT_USER
Software\Microsoft\Internet Explorer\Safety\PrivacIE\Lists\{4E50D7F4-AC8A-4844-86A0-66A36BB605CB}
Name: Path
Type: REG_SZ
Value: %USERPROFILE%\AppData\Local\Microsoft\Internet Explorer\Tracking Protection\{3A612722-E054-4878-A8BD-51CCB5AFE8B8}.tpl
How did you come up with the {3A612722-E054-4878-A8BD-51CCB5AFE8B8} in the value section? I’m curious because I’d like to figure out what that value is for Fanboy’s Annoyance List.
Thanks,
Luke
It’s a random value which is created when you add the TPL via GUI. That’s it 🤞🏼