将以下代码写入文本:
@ECHO OFF
:IE10HACK
REG ADD "HKLMSOFTWAREWow6432NodeMicrosoftInternet Explorer" /v Version /t REG_SZ /d "9.10.9200.16384" /f
REG ADD "HKLMSOFTWAREWow6432NodeMicrosoftInternet Explorer" /v svcVersion /t REG_SZ /d "10.0.9200.16384" /f
REG ADD "HKLMSOFTWAREMicrosoftInternet Explorer" /v Version /t REG_SZ /d "9.10.9200.16384" /f
REG ADD "HKLMSOFTWAREMicrosoftInternet Explorer" /v svcVersion /t REG_SZ /d "10.0.9200.16384" /f
GOTO EXIT
:REVERTIE
REG DELETE "HKLMSOFTWAREWow6432NodeMicrosoftInternet Explorer" /v svcVersion
REG DELETE "HKLMSOFTWAREMicrosoftInternet Explorer" /v svcVersion
REG ADD "HKLMSOFTWAREWow6432NodeMicrosoftInternet Explorer" /v Version /t REG_SZ /d "8.0.7601.17514" /f
REG ADD "HKLMSOFTWAREMicrosoftInternet Explorer" /v Version /t REG_SZ /d "8.0.7601.17514" /f
GOTO EXIT
:EXIT
保存后,将新建的txt文本后缀名改为.bat