Install a non-default browser in Windows 7 RTM (Chrome, Firefox) and try to run the code as follows:
ShellExecute(NULL, "open", "http://stackoverflow.com", NULL, NULL, SW_SHOWNORMAL);
This is normal. But then change the manifest to require administrative privileges or simply "run as administrator".
The code will not work.
So, try to run any application using "run as administrator".
You will see the same result, links do not work.
Change default browser in IE -> everything works fine.
In previous versions of Windows 8, this behavior does not exist.
What's happening?
PS. It seems that Microsoft was experiencing the same problems in its own software :) Visual Studio 2012 Web Publishing in Windows 8 RTM terminates browser launch
security winapi windows-8 shellexecute
Brun
source share