How to fix “Can not find script file C:\Windows\run.vbs” error ?

Issue: Hi, I tried logging into my computer and a black screen appeared with an error window stating that the Windows startup file cannot be found. I have no idea what this is. How can I fix this “Can not find script file C:\\Windows\\run.vbs” error?

Solved Answer

“Can not find script file C:\\Windows\\run.vbs” is an error which might appear on Windows operating systems[1]. Researchers note that this issue is not related to the software/hardware or applications. In fact, it indicates that your computer is infected with malware[2].

You can encounter a black screen when trying to log in into the computer as the malicious program manipulates Userinit registry value and changes Windows default value data with Vbscript filename. Since this virus deletes or moves the .vbs file from the common System32 folder, users receive “Can not find script file C:\\Windows\\run.vbs” error.

Usually, malware causing “Can not find script file C:\\Windows\\run.vbs” problem spreads via spam email attachments, peer-to-peer (P2P) networks or malvertising. Users who tend to download music or movies illegally, click on suspicious online ads, or open spam emails risk infecting their computers with this and other cyber threats.

Can not find script file C:\Windows\run.vbs errorCan not find script file C:\Windows\run.vbs error is related to malicious activity on your system.

Note malware which is leading to “Can not find script file C:\\Windows\\run.vbs” error can be programmed to perform other malicious actions on your system, including the following:

  • Logging keystrokes;
  • Infiltrating potentially unwanted programs (PUPs) or malware;
  • Creating a backdoor by connecting the PC to the remote server.

Our security experts recommend you to protect your computer and private information. For that, you should use a reliable antivirus software to perform regular scans and eliminate potentially unwanted programs (PUPs) or malware. FortectMac Washing Machine X9 can help you fix “Can not find script file C:\\Windows\\run.vbs” error automatically and uninstall the malware as well.

Otherwise, you can try to fix “Can not find script file C:\\Windows\\run.vbs” issue by resetting the registry keys back to defaults. However, as it might get risky to cause more system damage, we have prepared instructions showing how to fix “Can not find script file C:\\Windows\\run.vbs” below.

Two ways to fix “Can not find script file C:\\Windows\\run.vbs” error on Windows

Note that if you choose to fix “Can not find script file C:\\Windows\\run.vbs” error manually, you must not forget to uninstall the malware as well. Unfortunately, this can only be done by running a full system scan with a professional antivirus or by an IT specialists.
This video will make your life easier:

Method 1: Edit Registry Keys

Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect.

Please, be attentive when editing Windows Registry[3] keys — if you fail to enter them correctly it might lead to further damage of the operating system. Likewise, carefully follow these steps:

  1. Log in and press CTRL + ALT + DEL until Task Manager appears;
  2. Click File button and select Run New Task;
    Fix C:\Windows\run.vbs errorStart eliminating C:\Windows\run.vbs error by creating new explorer.exe task.
  3. Type explorer.exe and press Enter;
  4. Press Windows key + R and enter Regedit.exe;
  5. Go to HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\Current Version\\Winlogon;
    Fix Can not find script file C:\Windows\run.vbs errorYou can edit registry keys to fix Can not find script file C:\Windows\run.vbs error.
  6. Double-click on Userinit item;
  7. Change the value data from wscript C:WINDOWS\\run.vbs to C:\\Windows\\system32\\userinit.exe;
  8. Log off and log in again.

Method 2: Change the value of .vsb key

  1. Click Windows key + R and submit Regedit.exe;
  2. Go to Computer\\HKEY_CLASSES_ROOT\\.vbs on the left;
    C:\Windows\run.vbs error fixYou can get rid of C:\Windows\run.vbs error by changing the value of the .vbs key.
  3. Double-click Default value;
  4. Set the value to VSBFile;
  5. Click OK and check if the problem is resolved.

Repair your Errors automatically team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:

do it now!
Download Fix
Compatible with Microsoft Windows
Still having problems?
If you failed to fix your error using Fortect, reach our support team for help. Please, let us know all details that you think we should know about your problem.
Fortect - a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of Fortect malware removal tool.

Access geo-restricted video content with a VPN

Private Internet Access is a VPN that can prevent your Internet Service Provider, the government, and third-parties from tracking your online and allow you to stay completely anonymous. The software provides dedicated servers for torrenting and streaming, ensuring optimal performance and not slowing you down. You can also bypass geo-restrictions and view such services as Netflix, BBC, Disney+, and other popular streaming services without limitations, regardless of where you are.

Don’t pay ransomware authors – use alternative data recovery options

Malware attacks, particularly ransomware, are by far the biggest danger to your pictures, videos, work, or school files. Since cybercriminals use a robust encryption algorithm to lock data, it can no longer be used until a ransom in bitcoin is paid. Instead of paying hackers, you should first try to use alternative recovery methods that could help you to retrieve at least some portion of the lost data. Otherwise, you could also lose your money, along with the files. One of the best tools that could restore at least some of the encrypted files –  Data Recovery Pro.

About the author
Linas Kiguolis
Linas Kiguolis - IT professional

Linas Kiguolis is a qualified IT expert that loves sharing his excellent knowledge about problems in Windows and Mac operating systems. Linas’ insights often help other team members find quick solutions for visitors of UGetFix site.

Contact Linas Kiguolis
About the company Esolutions


What you can add more about the problem: "How to fix “Can not find script file C:\Windows\run.vbs” error ?"