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.
- Press and hold (or right-click) the Start¬† button, and then select¬†Control Panel
- Search¬†Control Panel¬†for¬†Recovery
- Select¬†Recovery¬†>¬†Open System Restore¬†>¬†Next
- 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:
- Fix Windows Update errors with Microsoft’s dedicated tool
- Here’s how to fix Windows Defender error 0x8000404
- Fix Windows 10 Anniversary Update mouse and keyboard lag