Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法做到以下几点
1) 禁用 IE 会话的所有附加组件(如 -extoff 选项) 2) 然后仅启用 1 个(或一些)附加组件
我想从 .cmd 文件中执行此操作
欢迎其他接近但不完全的选择。
谢谢!
您可以通过调整注册表中的一些位来启用/禁用控件:
去找这个/这些键:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{CLSID}
...其中 {CLSID} 是您要更改的控件的 ID。它将在每个键中具有以下 DWORD 值:
Flags
如果密钥存在并且设置了最低有效位,则扩展被禁用。
因此,使用 REG 命令编写一个脚本来执行此操作。