如何关闭和开启 Wscript.Shell组件

2025-04-07 11:11:10
推荐回答(2个)
回答(1):

关闭:

1、运行(打开)Wscript.Shell
regsvr32 %windir%\system32\wshom.ocx
2、卸载(关闭)Wscript.Shell
regsvr32 /u %windir%\system32\wshom.ocx
3、运行(打开)Wscript.Shell
regsvr32 %windir%\system32\shell32.dll
4、卸载(关闭)Wscript.Shell
regsvr32 /u %windir%\system32\shell32.dll

开启:

启用组件,先确定system32目录下wshom.ocx组件存在,然后
命令:
CMD> regsvr32 WSHom.Ocx

回答(2):

关闭方法:
1、运行(打开)Wscript.Shell
regsvr32 %windir%\system32\wshom.ocx
2、卸载(关闭)Wscript.Shell
regsvr32 /u %windir%\system32\wshom.ocx
3、运行(打开)Wscript.Shell
regsvr32 %windir%\system32\shell32.dll
4、卸载(关闭)Wscript.Shell
regsvr32 /u %windir%\system32\shell32.dll