I am running several test cases using Selenium Grid. I am using the latest driver and selenium packages.
Some time the script is running fine and some time I get the below error only on IE.
I am not getting this issue every time, but often.
Unexpected error launching Internet Explorer.
IELaunchURL() returned HRESULT 80070005 ('Access is denied.') for URL 'http:// localhost:13879/'
When I tried the solution provided below, it's say I need to do some changes to Windows Registry which is not possible in my enterprise.
https://code.google.com/p/selenium/issues/detail?id=7045
There are several such questions in SO and none has an response.
EDIT: Due to company policies, I am not allowed to enable Protected Mode in all zones. So I have already have the below code for avoid protected mode issues.
ieCapabilities.setCapability(
InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,
true
);