Many users report that they get this " Cannot find script file C:\Windows\run.vbs " error message when trying to log into their . to log on to the computer. When trying to log in, a black screen appears with the above error message, preventing you from logging in and switching to the Windows desktop.
Based on expert opinions, the reason behind this error is malware infecting your system. These malicious programs are known to make changes in your computer's registry, where they change the value of the userinit registry and also replace the Windows default value data with a Vbscript filename. This malware is known for the . vbs file from your computer's System32 folder, which causes the error message to appear.
Fortunately, however, this can be fixed. Let's see how.
Solution: Using the Registry Editor
Step 1: On your keyboard, press Ctrl + Alt + Del keys at the same time to open Security Options. Click on the Task Manager option .
*Note - Since you cannot reach the Windows desktop, you can only open Task Manager using this method.
Step 2: In the Task Manager window, go to the File tab and select Run new task .
Step 3: In the Create a new task prompt , type regedit in the search box and check the box next to Create this task with administrator privileges . Click OK .
Step 4: In the Registry Editor window, navigate to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinlogonStep 5: In the Edit String window , in the Value data field , delete the value and write the same value again. as below:
C:\Windows\system32\userinit.exe,Press OK to save changes and exit.
*Note - Be very careful when re-entering the value. Make sure it's exactly the same as before, even with the comma at the end, otherwise everything will go wrong.
Step 6: Now go back to the Task Manager window and click on the Users tab . Right-click the user and click Disconnect .
You'll see another prompt asking if you want to disconnect. Just click on the Disconnect User option and you will be logged out. Now try to log in and you will be logged in easily this time.


แสดงความคิดเห็น