Fix: Script file run.vbs is missing on startup

Windows 10 runs a series of essential scripts on startup, but sometimes users may encounter various error messages preventing them from logging in. One of the most frequent startup errors is this one: “Can not find script file C:\WINDOWS\run.vbs“.

More specifically, when users try to log in, a pop-up window appears on a black screen, informing users that the script file run.vbs is missing. This error occurs when a malicious program modifies your computer’s registry. Fortunately, there are two quick workarounds that you can use to fix this problem, and we’re going to list them in this article.

Here’s how to fix missing run.vbs errors


Solution 1 – Use a Windows restore point

Because of the black screen, it’s difficult to locate and uninstall the malicious software that’s causing startup issues. As a result, you should use your system’s restore point and revert the OS to the point where this malware wasn’t present on your machine.

  1. Press and hold (or right-click) the Start  button, and then select Control Panel
  2. Search Control Panel for Recovery
  3. Select Recovery > Open System Restore > Next
  4. Choose the restore point related to the problematic app, driver, or update, and then select Next > Finish.

Solution 2 – Run the commands listed below

If there is no system restore point available on your computer, follow the troubleshooting steps listed below:

1. Type cmd in the Search Menu > run Command Prompt as an administrator

2. Type the following commands:

  • reg add “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon” /v “Shell” /t REG_SZ /d “explorer.exe” /f
  • reg add “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon” /v “Userinit” /t REG_SZ /d “C:\Windows\System32\userinit.exe,” /f
  • reg add “HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon” /v “Shell” /t REG_SZ /d “explorer.exe” /f

3. Restart your computer.

Use the two workarounds listed above and tell us which one worked better for you.

RELATED STORIES YOU NEED TO CHECK OUT:

For various PC problems, we recommend to use this tool.

This tool will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download ReimagePlus (100% safe download).
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues (requires upgrade).