I've tried adding registry entries at:
Hive: HKEY_CURRENT_USER
Key Path: Software\Policies\Microsoft\Internet Explorer\BrowserEmulation\PolicyList\
Value name: sub.companyname.com
Value data: sub.companyname.com
However in Internet Explorer 11 this method does not work as it seems the list has moved.
My.Computer.Registry.SetValue("Software\Policies\Microsoft\Internet Explorer\BrowserEmulation\PolicyList", "sub.companyname.com", "sub.companyname.com")
I had the same problem, but creating the registry key you mention works for me.
Have you tried creating the registry key by hand?
If you are running 32 bit IE 11, you must create the registry key in 32 bit registry hive, if you are running 64 bit IE 11 you bust create the registry key in 64 bit registry hive.
IE 11 32 bit on:
Win 32 bit -> HKEY_CURRENT_USER\Software\Policies...
Win 64 bit -> HKEY_CURRENT_USER\Wow6432Node\Software\Policies...
IE 11 64 bit on:
Win 32 bit -> Can't install IE 64 bit
Win 64 bit -> HKEY_CURRENT_USER\Software\Policies...
Remember: