How to run Modern version of IE browser

  
under Win10 system? Is there any question for users who use Win10 technology preview version? Where is the Modern version of IE browser (that is, IE browser designed for touch screen)? It was taken off by Microsoft, but we still have a way to get it back and see what to do.

First, you need to copy the 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 and 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] String arguments, [In] UInt32 options, [Out] out UInt32 processId);
}
}
"@
add-type -TypeDefinition $code
$appman = new-object Win8.ApplicationAc tivationManager
$appman.ActivateApplication("DefaultBrowser_NOPUBLISHERID!Microsoft.InternetExplorer.Default",$null,0,[ref]0)
Finally, right click on this file and select “ Running with PowerShell is all right.
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