Delete some dangerous objects to fundamentally solve the problem. These objects are useless to common users.
1) disable the wshshell object to prevent running
Program.
Delete or rename wshom. ocx in the system folder
Or delete the registry key:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Classes \ CLSID \ {F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}
2) disable the filesystem object to prevent reading and writing files.
Delete or rename scrrun. dll in the system folder
Or delete the registry key:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Classes \ CLSID \ {0d43fe01-f093-11cf-8940-00a0c9054228}
Take the following sectionCodeSave as killwsh. bat. After running, wshshell and filesystem objects can be automatically deleted.
Copy codeThe Code is as follows: @ echo off
Rem deletes a wshshell object
@ Reg Delete HKLM \ SOFTWARE \ Classes \ CLSID \ {F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}/F
Delete a filesystem object
@ Reg Delete HKLM \ SOFTWARE \ Classes \ CLSID \ {0d43fe01-f093-11cf-8940-00a0c9054228}/F
Echo deleted
Pause