VB脚本自动化IE设置 [英] VB Script to automate IE settings

查看:273
本文介绍了VB脚本自动化IE设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想对许多PC的IE设置进行一些更改,以便能够打开一个工具,供所有使用该系统的用户使用..

因为相同的设置适用于不同的系统。我想用vb脚本自动化它。





设置是:



1.转到互联网选项 - 安全 - 网站 - 受信任的网站以及其下的网站https://abc.com

2.将此区域的安全级别设置为低

3.检查启用保护模式

4.转到互联网选项 - 设置 - 隐私和取消选中打开弹出窗口阻止程序

5 。转到工具 - 兼容性视图设置和其下的网站https://abc.com。检查选项 - 在兼容性视图中显示内部网站点



我在网上进行了一些研究,发现所有这些设置都是通过更改注册表中的条目来完成的。

网站http://support.microsoft.com/kb/182569提供了很多关于各种代码含义的信息。但由于我对脚本语言一无所知,我无法继续。

我无法使用反复试验,因为任何不必要的注册变更可能会对我的系统造成损害。

如果有人可以帮助我了解他/她在vb脚本方面的专业知识并为我提供.vbs文件,它可以将IE设置更改为上面的mentioend,那将非常有用。

我的目标是针对IE8 / 9/10/11预览。我假设这些版本的命令是相同的,这些版本是比较新的。

I want to make some changes to IE settings of many PCs to be able to open a tool which willl be used by all users using the systems..
Since same settings are to be applied to different systems. I want to automate it using vb script .


Settings are :

1.Go to internet Options-- security--sites--trusted sites and and the site https://abc.com under it
2.Set security level for this zone as Low
3.Check enable protected mode
4.Go to internet options--settings--privacy and uncheck Turn on Pop-up blocker
5.Go to tools--compatibility view settings and the site https://abc.com under it . Check option - display intranet sites in compatibility view

I did some research on net and found that all these settings are done by changing entries in registery.
The site http://support.microsoft.com/kb/182569 gave lot of info on what various codes mean . But since I have no knowledge on scripting language , I can not proceed.
I cannot use trial and error as any unwanted change to registery may cause damage to my systems .
It would really be very helpful if anyone can help me with his/her expertise in vb scripting and provide me the .vbs file which can change IE settings as mentioend above.
My target will be for IE8/9/10/11 preview . I am assuming the commands would be same for these versions which are comparitively new.

推荐答案

这篇关于VB脚本自动化IE设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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