2017 年 3 月 11 日

修正 Windows 10 啟動時的 Windows 腳本宿主錯誤

Fix Windows Script Host Errors on Startup Windows 10: The main cause of this error is a 病毒或惡意軟件 which has infected your system with malicious code but you don’t need to worry as it’s only an error with .vbs script file which can be resolved quickly by following the below-listed steps.

修正 Windows 10 啟動時的 Windows 腳本宿主錯誤

Windows Script Host

Script: C:usersu510desktopOperators-Expressions-demosOperators-Expressions-demosscriptsjs-console.js
line: 1
char: 1
error: Object expected
code: 800A138F
source: microsoft JScript runtime error

修正 Windows 10 啟動時的 Windows 腳本宿主錯誤

建議建立一個還原點,以防出現問題。

Method 1: Run System File Checker (SFC) and CheckDisk (CHKDK)

1.按 Windows 鍵 + X,然後按一下命令提示字元(管理員)。

具有管理員權限的命令提示符

2.現在在cmd中輸入以下內容並回車:

證監會 /scannow 證監會 /scannow /offbootdir=c: /offwindir=c:windows

SFC 立即掃描命令提示符

3.Let system file checker run and then restart your PC.

Method 2: Run Microsoft safety scanner

Its’ look like it is a virus infection, I would suggest you run the 微軟安全掃描儀 and check if it helps. Make sure to disable all antivirus and security protection when running Microsoft safety scanner.

方法3:乾淨啟動

1.按Windows鍵+ R然後輸入 “MSCONFIG” 然後按回車鍵 系統配置。

“MSCONFIG”

2.在常規選項卡上,選擇 選擇性啟動 並在其下方確保選項“加載啟動項” 未被選中。

系統配置檢查選擇性啟動乾淨啟動

3.導航至“服務”標籤並選取“隱藏所有 Microsoft 服務。

隱藏所有微軟服務

4.下一步,點選 禁用所有 這將禁用所有其他剩餘服務。

5.Restart your PC and check if you’re able to Fix Windows Script Host Errors on Startup.

6.完成故障排除後,請務必撤銷上述步驟,以便正常啟動電腦。

Method 4: Set the default value .vbs key

1.按Windows鍵+ R然後輸入 註冊表編輯器 並按 Enter 鍵開啟登錄編輯程式。

運行命令regedit

2.Next, navigate to the following key:

ComputerHKEY_CLASSES_ROOT.vbs

3.In the right-hand side window double click on Default.

go to .vbs key and change its default value to VBSFile

4.Change the Value of Default to VBSFile 並點擊確定。

5.Reboot your PC to save changes and your system may start working fine.

Method 5: Delete VMapplet and WinStationsDisabled from Registry

1.按Windows鍵+ R然後輸入 註冊表編輯器 並按 Enter 鍵開啟登錄編輯程式。

運行命令regedit

2.Next, navigate to the following key:

ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon

3.In the right side window, delete all the entries after userinit which would probably include VMApplet and WinStationsDisabled.

delete VMApplet and WinStationsDisabled

注意: I’m not responsible if you type a wrong userinit path below and lock yourself out of your user account. Also only make the below change if you Windows is installed on C: Drive.

4.Now double click userinit and remove the entry ‘C:windowssystem32servieca.vbs’or ‘C:WINDOWSrun.vbs’ and make sure the default value now is currently set to ‘C:Windowssystem32userinit.exe,’ ( Yes it includes the trailing comma) and hit OK.

delete servieca.vbs or run.vbs entery from userinit

5.Finally, close the Registry Editor and restart your PC.

Method 5: Run Repair Install

此方法是最後的手段,因為如果沒有任何效果,那麼此方法肯定會修復電腦的所有問題。修復 僅使用就地升級來修復系統問題,而無需刪除系統上存在的使用者資料。因此,請按照本文查看如何輕鬆修復安裝 Windows 10。

這樣你就成功了 修正 Windows 10 啟動時的 Windows 腳本宿主錯誤 但如果您對這篇文章仍有任何疑問,請隨時在評論部分提出。