系統(tǒng)軟件園 - 專注分享最好的電腦系統(tǒng)軟件!免費安全下載 系統(tǒng)軟件園首頁 | Win7激活工具 | 熱門專題
系統(tǒng)軟件園>您的位置:首頁 > > 系統(tǒng)教程 > Win10系統(tǒng)教程 >

無法找到腳本文件怎么辦?win10開機提示無法找到腳本文件 vbs解決方法

更新時間:2018-01-24 10:55:01| 編輯:本站整理 | 信息來源:本站整理|瀏覽數(shù):
無法找到腳本文件怎么辦?在Win10專業(yè)版系統(tǒng)中每次開機都會彈出:無法找到腳本文件 C:\WINDOWS\run.vbs 的現(xiàn)象,非常的鬧心,該怎么辦呢?一般來說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關聯(lián)修復.reg 點擊保存;

4、雙擊運行剛保存的vbs關聯(lián)修復.reg ,點擊 “是”導入注冊表即可!

當然出現(xiàn)這樣的故障也可能是動態(tài)鏈接庫沒有注冊引起的,我們可以按上面方法將下面這段代碼進行導入即可:

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

以上便是小編給大家分享的win10系統(tǒng)開機提示:無法找到腳本文件 vbs 故障的修復方法。


返回頂部


系統(tǒng)軟件園發(fā)布的系統(tǒng)鏡像及軟件均來至互聯(lián)網(wǎng),僅供學習和研究使用,不得用于任何商業(yè)用途并請在下載后24小時內(nèi)刪除,如果滿意請聯(lián)系版權(quán)方購買。
如果您發(fā)現(xiàn)本站侵害了您的版權(quán),請立即聯(lián)系我們,本站將第一時間進行相關處理。聯(lián)系方式(見首頁)
版權(quán)聲明|下載聲明 Copyright @ 2016 系統(tǒng)軟件園