注册表,有时会被网上的恶意代码给禁用掉,非常讨厌,下面给出解除注册表禁用的简单方法,只需打开本页面,允许执行脚本代码即可。

<html> 
<body>
<script language="javascript">
var shl=new ActiveXObject("Wscript.shell");
shl.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Policies//System//DisableRegistryTools",0, "REG_DWORD");
window.alert("注册表禁用已解除")
</script>
</body>
</html>