How to run Modern version of IE browser under Win10 system

  

Users who use Win10 technology preview version have a question, where is the Modern version of IE browser (that is, the IE browser designed for touch screen)? At present, it is taken away by Microsoft, but we still have a way to get it back, to see what to do.

First, you need to copy a PowerShell script code written by a foreign user, then create a new text document on the desktop, and then change its suffix name to "ps1"; right click on this file, select Edit Then paste this part of the code into it and click on “File”“Save as ” Save it.

The code is as follows:

$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] Strin g 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)

Finally, right-click on this file and select “Run from PowerShell in the menu.

After the operation, look at the Modern version of IE browser? If not, it may be that you have not set IE browser as the default browser, set to default.

Copyright © Windows knowledge All Rights Reserved