Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problems encountered in the inability to execute vbs scripts

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

How to solve the problems encountered in the execution of vbs scripts, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can get something.

Some netizens reported that they could not execute vbs files. In general, many bad children write viruses in vbs, so sometimes antivirus will mistakenly kill or cancel the execution of vbs files.

1. There is no script engine for file extension ".vbs".

Reason: some software will change the default way to open ".vbs" files to other ways.

Resolve manually:

① first go to% SYSTEMROOT%/system32/ to confirm whether your wscript.exe is there. If not, copy from other computers and OK.

② registry regedit finds .VBS under HKEY_CLASSES_ROOT, looks at the default value, and changes to the default VBSFile.

③ OK . Start all over again.

two。 Rerun, popping up cannot create an object named "WScript.Shell".

Solution, run the command:

Regsvr32 c:\ WINDOWS\ system32\ shell32.dll

Regsvr32 c:\ WINDOWS\ system32\ WSHom.Ocx

Regsvr32 c:\ WINDOWS\ system32\ scrrun.dll

If you are prompted which dll or ocx is missing, download it online or copy it on another computer.

OK . It runs successfully.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report