March 11, 2017

Fix Windows Script Host Errors on Startup Windows 10

Fix Windows Script Host Errors on Startup Windows 10: The main cause of this error is a virus or malware 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.

Fix Windows Script Host Errors on Startup Windows 10

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

Fix Windows Script Host Errors on Startup Windows 10

It’s recommended to create a restore point just in case something goes wrong.

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

1.Press Windows Key + X then click on Command Prompt(Admin).

command prompt with admin rights

2.Now type the following in the cmd and hit enter:

Sfc /scannow
sfc /scannow /offbootdir=c: /offwindir=c:windows

SFC scan now command prompt

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 Microsoft safety scanner and check if it helps. Make sure to disable all antivirus and security protection when running Microsoft safety scanner.

Method 3: Clean boot

1.Press Windows Key + R then type msconfig and hit enter to System Configuration.

msconfig

2.On General tab, choose Selective Startup and under it make sure the option “load startup items” is unchecked.

system configuration check selective startup clean boot

3.Navigate to the Services tab and checkmark the box that says “Hide all Microsoft services.

hide all microsoft services

4.Next, click Disable all which would disable all the other remaining services.

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

6.After you had finish troubleshooting make sure to undo the above steps in order to start your PC normally.

Method 4: Set the default value .vbs key

1.Press Windows Key + R then type regedit and hit enter to open Registry Editor.

Run command 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 and hit OK.

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

Method 5: Delete VMapplet and WinStationsDisabled from Registry

1.Press Windows Key + R then type regedit and hit enter to open Registry Editor.

Run command 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

Note: 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

This method is the last resort because if nothing works out then this method will surely repair all problems with your PC. Repair Install just using an in-place upgrade to repair issues with the system without deleting user data present on the system. So follow this article to see How to Repair Install Windows 10 Easily.

That’s it you have successfully Fix Windows Script Host Errors on Startup Windows 10 but if you still have any queries regarding this post feel free to ask them in the comment’s section.