我想在网页中加入一个运行VBScript的按钮,自动运行更妙!
VBScript如下:
'功能:解开注册表
'注意:立即生效
'
Set wso = CreateObject("WScript.Shell")
wso.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",0,"REG_DWORD"
wso.RegWrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",0,"REG_DWORD"
msgbox"修复成功!"
下面的javascript更好,但是不知如何改造?
3721上网助手