解除IE锁定主页.bat
rem 解除IE锁定主页
@echo off
echo HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main [1 7 17]>regset.ini
echo HKEY_CURRENT_USER\Software\Policies [1 7 17]>>regset.ini
echo HKEY_CURRENT_USER\Software\Policies\Microsoft [1 7 17]>>regset.ini
regini regset.ini
del regset.ini
reg delete "HKEY_CURRENT_USER\Software\360\360se5\default\Search" /v "搜索…" /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Default_Page_URL" /d about:blank /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Search Bar" /d about:blank /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Search Page" /d about:blank /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl" /ve /d about:blank /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main" /v "DisableFirstRunCustomize" /t REG_DWORD /d 2 /f
reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main" /v "DisableFirstRunCustomize" /t REG_DWORD /d 2 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\CommandBar" /v "TextOption" /t REG_DWORD /d 2 /f