Quick Tip: How to Enable Internet Explorer Modern App in Windows 10


Windows 8 Logo

The Modern (Metro) Internet Explorer (IE) app is missing from the Windows 10 Technical Preview.

I find this a bit curious as I use Modern IE to share URLs with the Reading List app.

Fortunately @adamUCF created a PowerShell script that launches Modern IE.

Copy the script into a text document and then change the file extension to .ps1. Right click the PowerShell script and then select Run with PowerShell to run Modern IE.

$code = @"
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Win8 {

    [ComImport, Guid("2e941141-7f97-4756-ba1d-9decde894a3d"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    interface IApplicationActivationManager
    {
        IntPtr ActivateApplication([In] String appUserModelId, [In] String arguments, [In] UInt32 options, [Out] out UInt32 processId);
    }

[ComImport, Guid("45BA127D-10A8-46EA-8AB7-56EA9078943C")]//Application Activation Manager
    public class ApplicationActivationManager : IApplicationActivationManager
    {
        [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)/*, PreserveSig*/]
        public extern IntPtr ActivateApplication([In] String appUserModelId, [In] String arguments, [In] UInt32 options, [Out] out UInt32 processId);

    }

}
"@

add-type -TypeDefinition $code
$appman = new-object Win8.ApplicationActivationManager

$appman.ActivateApplication("DefaultBrowser_NOPUBLISHERID!Microsoft.InternetExplorer.Default",$null,0,[ref]0)

You will need to run this script each time that you want to open Modern IE.

Sources: http://www.wpcentral.com/heres-how-get-modern-version-ie-running-windows-10-technical-preview

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s