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 に次のように入力して、Enter キーを押します。

sfc /scannow sfc /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 and hit enter to システム構成。

MSCONFIG

2.「全般」タブで、「 スタートアップのオプションを選択 そしてその下にオプションがあることを確認してください。スタートアップ項目をロードする」のチェックは外されています。

システム構成チェック 選択的スタートアップ クリーン ブート

3.Navigate to the Services tab and checkmark the box that says “すべての Microsoft サービスを非表示にします。

すべてのMicrosoftサービスを非表示にする

4.次に、 をクリックします。 すべて無効にします これにより、他の残りのサービスがすべて無効になります。

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

6.トラブルシューティングが完了したら、PC を通常どおり起動するために、必ず上記の手順を元に戻してください。

Method 4: Set the default value .vbs key

1.Windows キー + R を押してから、次のように入力します。 regeditを 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 OKを押します。

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 を押してから、次のように入力します。 regeditを 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

何も解決しない場合でも、この方法で PC のすべての問題を確実に修復できるため、この方法は最後の手段です。修復 インプレース アップグレードのみを使用してインストールし、システム上に存在するユーザー データを削除せずにシステムの問題を修復します。したがって、この記事に従って、Windows 10を簡単に修復インストールする方法を確認してください。

これで成功です Windows 10起動時のWindowsスクリプトホストエラーを修正する ただし、この投稿に関してまだ質問がある場合は、コメントのセクションで遠慮なく質問してください。