当在Windows Sever 2008 R2中运动IE8的时候会发现默认情况下IE启用了增强的安全配置,为了方便而且是在内网的情况下我们可以关闭IE8的增强安全配置,操作很简单如下步骤。

一,以本机管理员或是域管理员的身份登陆系统,在“开始”菜单-->“管理工具”-->“服务器管理器”,如下图:(或者点击任务栏上的服务器管理器图标即可)


二,或者在“开始”菜单-->“运行”中输入“servermanager.msc”回车即可,如下图:

三,在打开的服务器管理器窗口中选中“服务器管理器”,然后单右边窗口中的“配置 IE ESC”如下图:


在接下来打开的新窗口中,分别选中“管理员”-->“禁用”,“用户”-->“禁用”。默认情况是开启的,这里全部禁用即可,如下图:

PowerShell 本地化脚本:

Disable-InternetExplorerESC.ps1
function Disable-InternetExplorerESC {$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 0Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 0Stop-Process -Name ExplorerWrite-Host "IE Enhanced Security Configuration (ESC) has been disabled." -ForegroundColor Green
}

Disable-InternetExplorerESC

Enable-InternetExplorerESC.ps1
function Enable-InternetExplorerESC {$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 1Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 1Stop-Process -Name ExplorerWrite-Host "IE Enhanced Security Configuration (ESC) has been enabled." -ForegroundColor Green
}

Enable-InternetExplorerESC

PowerShell 远程脚本:

Disable-IEESC.PS1
<#.Synopsis Disables Internet Explorer Enhanced Security(IE ESC)..DescriptionThis script disables IE ESC on list of given Windows 2008 servers.Parameter ComputerName    Computer name(s) for which you want to disable IE ESC..Parameter OutputToLogsThis option allows you to save the failed and successful computer names to text files inc:\ drive. The successful computer will be avialable in c:\successcomps.txt file and the failed computers will be in c:\failedcomps.txt.ExampleDisable-IEESC.PS1 -ComputerName Comp1, Comp2Disables IE ESC on Comp1 and Comp2.ExampleDisable-IEESC.PS1 -ComputerName Comp1, Comp2 -OutputToLogsDisables IE ESC and stores output in logfiles located in c:\ .ExampleGet-Content c:\servers.txt | Disable-IEESC.PS1 -OutputToLogsDisables IE ESC on computers listed in servers.txt and saves success and failed computers list to c:\    .NotesNAME:      Disable-IEESC.PS1AUTHOR:    Sitaram PamarthiWEBSITE:   http://techibee.com

#>[cmdletbinding()]
param([parameter(ValueFromPipeline=$true,ValueFromPipelineByPropertyName=$true)][string[]]$ComputerName = $env:computername,[switch]$OutputToLogs)begin {$AdministratorsKey = "SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"$UsersKey = "SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"$SuccessComps =@();$FailedComps = @();
}process {foreach($Computer in $ComputerName) {if(!(Test-Connection -Computer $Computer -count 1 -ea 0)) {Write-Host "$Computer NOT REACHABLE"$FailedComps += $Computercontinue}Write-Host "Working on $Computer"try {$BaseKey = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey("LocalMachine",$Computer)$SubKey = $BaseKey.OpenSubKey($AdministratorsKey,$true)$SubKey.SetValue("IsInstalled",0,[Microsoft.Win32.RegistryValueKind]::DWORD)$SubKey = $BaseKey.OpenSubKey($UsersKey,$true)$SubKey.SetValue("IsInstalled",0,[Microsoft.Win32.RegistryValueKind]::DWORD)Write-Host "Successfully disabled IE ESC on $Computer"$SuccessComps += $Computer}catch {Write-Host "Failed to disable IE ESC on $Computer"$FailedComps += $Computer}}
}end{if($OutputToLogs) {$SuccessComps | Out-File "c:\successcomps.txt"$FailedComps | Out-File "c:\failedcomps.txt"}
}

Enable-IEESC.PS1
<#.Synopsis Enables Internet Explorer Enhanced Security(IE ESC)..DescriptionThis script enables IE ESC on list of given Windows 2008 servers.Parameter ComputerName    Computer name(s) for which you want to enable IE ESC..Parameter OutputToLogsThis option allows you to save the failed and successful computer names to text files inc:\ drive. The successful computer will be avialable in c:\successcomps.txt file and the failed computers will be in c:\failedcomps.txt.ExampleEnable-IEESC.PS1 -ComputerName Comp1, Comp2Enables IE ESC on Comp1 and Comp2.ExampleEnable-IEESC.PS1 -ComputerName Comp1, Comp2 -OutputToLogsEnables IE ESC and stores output in logfiles located in c:\ .ExampleGet-Content c:\servers.txt | Enable-IEESC.PS1 -OutputToLogsEnables IE ESC on computers listed in servers.txt and saves success and failed computers list to c:\    .NotesNAME:      Enable-IEESC.PS1AUTHOR:    Sitaram PamarthiWEBSITE:   http://techibee.com

#>[cmdletbinding()]
param([parameter(ValueFromPipeline=$true,ValueFromPipelineByPropertyName=$true)][string[]]$ComputerName = $env:computername,[switch]$OutputToLogs)begin {$AdministratorsKey = "SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"$UsersKey = "SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"$SuccessComps =@();$FailedComps = @();
}process {foreach($Computer in $ComputerName) {if(!(Test-Connection -Computer $Computer -count 1 -ea 0)) {Write-Host "$Computer NOT REACHABLE"$FailedComps += $Computercontinue}Write-Host "Working on $Computer"try {$BaseKey = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey("LocalMachine",$Computer)$SubKey = $BaseKey.OpenSubKey($AdministratorsKey,$true)$SubKey.SetValue("IsInstalled",1,[Microsoft.Win32.RegistryValueKind]::DWORD)$SubKey = $BaseKey.OpenSubKey($UsersKey,$true)$SubKey.SetValue("IsInstalled",1,[Microsoft.Win32.RegistryValueKind]::DWORD)Write-Host "Successfully enabled IE ESC on $Computer"$SuccessComps += $Computer}catch {Write-Host "Failed to enable IE ESC on $Computer"$FailedComps += $Computer}}
}end{if($OutputToLogs) {$SuccessComps | Out-File "c:\successcomps.txt"$FailedComps | Out-File "c:\failedcomps.txt"}
}

转载于:https://www.cnblogs.com/edward2013/p/3519846.html

Windows Server 2008 R2中关闭“IE增强的安全配置”相关推荐

  1. 搞定windows server 2008 R2 中IE8的增强安全配置功能

    windows server 2008 R2 RTM 英文版 发布一段时间了 很多朋友都给自己的本本安装了,并启用了theme 效果和windows 7一样很舒服,还可以用 hyper-v 很爽的桌面 ...

  2. Windows Server 2008 R2中的Hyper-V

    现在虚拟化技术已经成为数据中心的一个主要组成部分.虚拟化技术提供的操作效率帮助企业机构大幅简化操作流程和降低能耗. Windows Server 2008提供以下类型的虚拟化: ?Hyper-V提供的 ...

  3. Windows Server 2008 R2中的托管服务帐号(MSA)-冯立亮

    Windows Server 2008 R2中的托管服务帐号(MSA) 在现代化的企业中,计算机网络占据了重中之重的地位,越来越多的企业核心业务依附于计算机网络架构,例如:往来电子邮件,文件共享,即时 ...

  4. Windows 7/Windows Server 2008 R2中创建扩展分区

    在Windows 7/Windows Server 2008 R2中,通过磁盘管理器只能创建主分区,不能创建扩展分区. 创建扩展分区需要在命令行下运行diskpart命令. 操作步骤: 1. 进入命令 ...

  5. 如何清理windows server 2008 R2 中winsxs文件夹

    最近发现公司的一台服务器C盘只剩5G左右的空间,经过仔细查看发现C:\windows\winsxs 目录占了20多G的容量.此文件夹是更新系统补丁产生的不能直接删除,所以只能通过cleanmgr.ex ...

  6. 您已从远程计算机注销,您无法从 Windows Server 2008 R2 中的远程桌面会话注销

    修补程序信息 可以从 Microsoft 获得受支持的修复程序.然而,此修补程序仅用于解决本文中描述的问题.此修复程序仅适用于遇到本文中描述的问题的系统.此修补程序可能会接受进一步的测试.因此,如果这 ...

  7. 服务器2008系统usb驱动,用于增加 Windows 7 和 Windows Server 2008 R2 中最大 USB 传输大小的驱动程序更新...

    修补程序信息 Microsoft 提供了一个受支持的修补程序.但此修补程序只用于更正本文中描述的问题.仅将此修补程序应用于出现文本中所描述问题的系统.此修补程序可能还会接受进一步的测试.因此,如果这个 ...

  8. win2008无法用计算机名共享,Windows Server 2008 R2中文件共享

    在网上找过很多次相关资料,还是自己整理一下吧.实践了才是自己的,只看永远是别人的. 服务器:Server 2008 R2(IP:192.168.1.106):客户端:Server 2008 R2(IP ...

  9. 关于:Windows Server 2008 R2 中的 Hyper-V(旧作)

    1.通过命令行安装 Hyper-V: start /wocsetup Microsoft-Hyper-V 2.通过 Windows 7 远程管理 Hyper-V: 1)下载并安装 RSAT 工具:(链 ...

最新文章

  1. 使用Depth Texture
  2. java1.5多线程_【Java多线程】JDK1.5并发包API杂谈
  3. java分解因式_用JAVA因式分解 并以9=3×3格式输出
  4. Hbase数据模型 列族
  5. Win10+GTX 1080Ti+Anaconda TensorFlow安装
  6. PHP学习记录(字符串函数)
  7. JAVA的WebService规范JAX-WS
  8. Centos7安装Python3.7
  9. 【解题报告】Leecode 2057. 值相等的最小索引——Leecode周赛系列
  10. 外设驱动库开发笔记16:MS5536C压力变送器驱动
  11. AviSynth——多种字幕效果伪实现方法
  12. set获取元素_C++与STL入门(4):关联容器:集合set
  13. 一个Maven工程中,不同的模块需要不同的JDK进行编译的解决方案
  14. 小D课堂 - 零基础入门SpringBoot2.X到实战_第1节零基础快速入门SpringBoot2.0_4、快速创建SpringBoot应用之自动创建web应用...
  15. 2022年中级通信工程师的考试资料,考试延期快快点刷题
  16. 解决Macbook安装win10/win11时遇到的WDF_Violation 蓝屏错误问题 - 安装Bootcamp驱动蓝屏
  17. zte d90 java_zte d90 驱动程序(最新更新)尼康d90驱动
  18. 2022年jsonpath的超详细介绍以及在爬取移动端app上的灵活运用
  19. 新西兰留学再移民,哪些专业好就业?
  20. python 重命名的方法,python 怎么重命名文件

热门文章

  1. 【ubuntu拷贝目录】cp: omitting directory”错误的解释和解决办法
  2. R语言调色板——colors()
  3. 用好图片,让PPT富有冲击力
  4. 移植ucos-III到stm32f103c8t6
  5. 快如闪电的Android模拟器
  6. FPGA作为从机与STM32进行SPI协议通信
  7. Week-4-作业1
  8. 数据结构复习题(线性表)
  9. SpringBoot JPA 种子项目
  10. 游戏夜读 | 简单认识一下爬虫