A warning. This is not supported, and it can lead to your code being marked as malware using AV products or Microsoft SmartScreen.
The Enable Enhanced Protected Mode check box on the Internet Control Panel is controlled by the Isolation value in the registry key: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main . It contains the PMEM value if you want to use AppContainers (EPM) or PMIL if you should use integrity levels (IL) not EPM instead (the default for IE10). There is no API to set this value as it is not supported.
Protected mode itself is enabled or disabled for each zone; The URLMon SetZoneActionPolicy API is used to configure zone settings (for URLAction_LOWRIGHTS ) to enable or disable protected mode for this zone.
source share