win10开机提示无法找到脚本文件vbs解决方法

电脑教程 次浏览手机阅读

导读:(无法找到脚本文件怎么办?win10开机提示无法找到脚本文件 vbs解决方法)相关电脑教程分享。

无法找到脚本文件怎么办?在Win10专业版系统中每次开机都会弹出:无法找到脚本文件 C:\WINDOWS\run.vbs 的现象,非常的闹心,该怎么办呢?一般来说C:\WINDOWS目录是不会自带run.vbs这个文件的,指定到该目录下面,如果有删除查看一下!在本文中小编给大家分享下vbs文件修复方法。

修复方法:

1、首先在桌面新建一个文本文档 (右键 -- 新建 -- 文本文档);

2.、打开新建文本文档,将下面代码复制进去:

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.vbs]@="vbsfile" [HKEY_CLASSES_ROOT\.vbs\PersistentHandler]@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"  [HKEY_CLASSES_ROOT\VBSFile]@="VBScript Script 文件""FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\32,00,5c,00,77,00,73,00,68,00,65,00,78,00,74,00,2e,00,64,00,6c,00,6c,00,2c,\00,2d,00,34,00,38,00,30,00,32,00,00,00 [HKEY_CLASSES_ROOT\VBSFile\DefaultIcon]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,53,00,\63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,2c,00,32,00,00,00 [HKEY_CLASSES_ROOT\VBSFile\ScriptEngine]@="VBScript" [HKEY_CLASSES_ROOT\VBSFile\ScriptHostEncode]@="{85131631-480C-11D2-B1F9-00C04F86C324}" [HKEY_CLASSES_ROOT\VBSFile\Shell] [HKEY_CLASSES_ROOT\VBSFile\Shell\Edit]@="编辑(&E)" [HKEY_CLASSES_ROOT\VBSFile\Shell\Edit\Command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,6f,00,\74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,20,00,25,00,31,00,00,\00 [HKEY_CLASSES_ROOT\VBSFile\Shell\Open]@="打开(&O)" [HKEY_CLASSES_ROOT\VBSFile\Shell\Open\Command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,53,00,\63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\00,22,00,20,00,25,00,2a,00,00,00 [HKEY_CLASSES_ROOT\VBSFile\Shell\Open2]@="在命令提示符中打开(&W)" [HKEY_CLASSES_ROOT\VBSFile\Shell\Open2\Command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,43,00,53,00,\63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\00,22,00,20,00,25,00,2a,00,00,00 [HKEY_CLASSES_ROOT\VBSFile\Shell\Print]@="打印(&P)" [HKEY_CLASSES_ROOT\VBSFile\Shell\Print\Command]@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,6f,00,\74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,70,00,20,\00,25,00,31,00,00,00 [HKEY_CLASSES_ROOT\VBSFile\ShellEx] [HKEY_CLASSES_ROOT\VBSFile\ShellEx\DropHandler]@="{60254CA5-953B-11CF-8C96-00AA00B8708C}" [HKEY_CLASSES_ROOT\VBSFile\ShellEx\PropertySheetHandlers] [HKEY_CLASSES_ROOT\VBSFile\ShellEx\PropertySheetHandlers\WSHProps]@="{60254CA5-953B-11CF-8C96-00AA00B8708C}"

3、点击 文件 -- 另存为, 将保存类型修改为“所有文件”,将文件名修改为 vbs关联修复.reg 点击保存;

4、双击运行刚保存的vbs关联修复.reg ,点击 “是”导入注册表即可!

当然出现这样的故障也可能是动态链接库没有注册引起的,我们可以按上面方法将下面这段代码进行导入即可:

regsvr32 %systemroot%\system32\vbscript.dllregsvr32 scrrun.dllregsvr32 cscript.dllregsvr32 wshom.ocxregsvr32 wshext.dll

以上便是小编给大家分享的win10系统开机提示:无法找到脚本文件 vbs 故障的修复方法。

喜欢 ()