IE11中的企业模式 [英] Enterprise mode in IE11

查看:142
本文介绍了IE11中的企业模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我需要一个脚本在Internet Explorer 11中启用企业模式

解决方案

此脚本可以轻松启用企业模式。


Script



第1步:  
可以通过双击运行此VBScript示例。



步骤如下图所示。





第2步:  你应该按照下面的提示进行操作。



如您所见,企业模式功能已启用。





以下是您的参考文献的一些代码片段。


VB脚本



如果   IsEmpty(strReportURL)  然后  



     strValue  =  ""  



其他  



     strValue  =  strReportURL 



结束   如果  



     



strName  =  " Enable"  



strKeyPath  =  " Software \Popicies\Microsoft"  



strSubPath  =  " Internet  Explorer \ Main \ EnterpriseEode"  



strPath  =  strKeyPath &  " \"  &  strsubPath 



objReg.CreateKey  HKEY_CURRENT_USER,strPath 



objReg.SetStringValue  HKEY_CURRENT_USER,strPath,strName,strValue 



MsgBox  "成功 启用 因特网 资源管理器 企业 模式"


Hi Guys, I need a script to enable enterprise mode in Internet explorer 11

解决方案

This script can easily enable the Enterprise Mode.

Script

Step 1: You can run this VBScript sample by double-clicking.

The step is shown in the following figure.


Step 2: You should follow the prompts below.

As you can see the following image, the Enterprise Mode feature has been enabled.


Here are some code snippets for your references.

VB Script

If IsEmpty(strReportURL) Then 

    strValue = "" 

Else 

    strValue = strReportURL 

End If 

     

strName = "Enable" 

strKeyPath = "Software\Policies\Microsoft" 

strSubPath = "Internet Explorer\Main\EnterpriseMode" 

strPath = strKeyPath & "\" & strsubPath 

objReg.CreateKey HKEY_CURRENT_USER,strPath 

objReg.SetStringValue HKEY_CURRENT_USER,strPath,strName,strValue 

MsgBox "Successfully enabled Internet Explorer Enterprise Mode."


这篇关于IE11中的企业模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆