|
|
发表于 2023-9-7 14:19:24
|
显示全部楼层
回复 1# huiwin
禁用.vbs- Set objShell = WScript.CreateObject("WScript.Shell")
- objShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Enable Browser Extensions", "no", "REG_SZ"
复制代码 启用.vbs- Set objShell = WScript.CreateObject("WScript.Shell")
- objShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Enable Browser Extensions", "yes", "REG_SZ"
复制代码 禁用.bat- reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Enable Browser Extensions" /t REG_SZ /d "no" /f
复制代码 启用.bat- reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Enable Browser Extensions" /t REG_SZ /d "yes" /f
复制代码 VBS对注册表进行读、写、删操作
http://bbs.bathome.net/thread-3749-1-1.html
http://bbs.bathome.net/include/js/script56/html/wsmthregwrite.htm |
|