protected mode is giving trouble. use this blog
http://www.eightforums.com/tutorials/31977-internet-explorer-enhanced-protected-mode-turn-off.html
The option 'Enable Enhanced Protected Mode" was already unchecked. And if I check that checkbox and run the program it gives me below error message:
Started InternetExplorerDriver server (64-bit)
2.45.0.0
Listening on port 28597
Exception in thread "main" org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones. (WARNING: The server did not provide any stacktrace information)