在windows 7中禁用internet explorer的脚本或exe

在windows 7中禁用internet explorer的脚本或exe,windows,batch-file,Windows,Batch File,我需要一个脚本或一个程序来禁用Windows7中的internet explorer,如果可能的话,以静默方式 你能帮我吗?提前感谢禁用ie.bat: @echo off C: cd "\Program Files\Internet Explorer" if not exist IEXPLORE.EXE goto End if exist IEXPLORE.EX_ del IEXPLORE.EX_ if not exist IEXPLORE.DIR md IEXPLORE.DIR if not

我需要一个脚本或一个程序来禁用Windows7中的internet explorer,如果可能的话,以静默方式

你能帮我吗?提前感谢

禁用ie.bat:

@echo off
C:
cd "\Program Files\Internet Explorer"
if not exist IEXPLORE.EXE goto End
if exist IEXPLORE.EX_ del IEXPLORE.EX_
if not exist IEXPLORE.DIR md IEXPLORE.DIR
if not exist IEXPLORE.DIR goto End
attrib -r -h -s IEXPLORE.EXE
ren IEXPLORE.EXE IEXPLORE.EX_
if exist IEXPLORE.EXE goto End
ren IEXPLORE.DIR IEXPLORE.EXE
echo IE disabled.
echo If prompted, click "Cancel" then "Yes" on File Protection restore.
echo Run enable-ie.bat to allow IE to run again.
:End

您可以尝试在注册表中设置无效的代理地址

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v "ProxyEnable" /d 1 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v "ProxyServer" /d 0.0.0.0:0000 /f

这似乎是一个更适合我的主题。