Windows 10 News and info | Forum
January 23, 2021, Loading... *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: This is a clean Ad-free Forum and protected by StopForumSpam, Project Honeypot, Botscout and AbuseIPDB | This forum does not use audio ads, popups, or other annoyances. New member registration currently disabled.
 
  Website   Home   Windows 8 Website GDPR Help Login Register  
By continuing to use the site or forum, you agree to the use of cookies, find out more by reading our GDPR policy.
Pages: [1]
  Print  
Share this topic on Del.icio.usShare this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on MySpaceShare this topic on RedditShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on YahooShare this topic on Google buzz
Author Topic: Enable Modern IE In Windows 10 Technical Preview Using This Script  (Read 1204 times)
javajolt
Administrator
Hero Member
*****
Offline Offline

Gender: Male
United States United States

Posts: 32173


I Do Windows


WWW Email
« on: October 04, 2014, 09:54:36 PM »
ReplyReply

Those who tried Windows 10 Technical Preview yesterday should have noticed that Microsoft has not yet enabled modern Internet Explorer in it. If you canít live without modern IE, now you can enable it via a script. You can find the script here. Download the code and change the extension of the file to .ps1 and open it using Powershell to open the modern version of IE.

I guess Microsoft will enable modern Internet Explorer in the coming months via an update.


Quote
1.

2.$code = @"

3.using System;

4.using System.Runtime.CompilerServices;

5.using System.Runtime.InteropServices;

6.namespace Win8 {

7.   

8.    [ComImport, Guid("2e941141-7f97-4756-ba1d-9decde894a3d"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]

9.    interface IApplicationActivationManager

10.    {

11.        IntPtr ActivateApplication([In] String appUserModelId, [In] String arguments, [In] UInt32 options, [Out] out UInt32 processId);

12.    }

13.

14.[ComImport, Guid("45BA127D-10A8-46EA-8AB7-56EA9078943C")]//Application Activation Manager

15.    public class ApplicationActivationManager : IApplicationActivationManager

16.    {

17.        [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)/*, PreserveSig*/]

18.        public extern IntPtr ActivateApplication([In] String appUserModelId, [In] String arguments, [In] UInt32 options, [Out] out UInt32 processId);

19.       

20.    }

21.   

22.}

23."@

24.

25.add-type -TypeDefinition $code

26.$appman = new-object Win8.ApplicationActivationManager

27.

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

source:microsoft-news│via:pastebin
Logged


Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2017, Simple Machines

Google visited last this page October 30, 2020, 10:23:40 PM