About This Site

I'm a Tech Guy for over 30 Years Knowledge of Computers, Networks, PC Gadgets. This site is to be used to share some of my knowledge and reviews

Cannot find script file C:\WINDOWS\run.vbs at Logon

Found this on the web here

Client had spyware/virus infection. After cleaning the PC (Windows 10) the error occurred. Here is the solution

 

Start Registry Editor (Regedit.exe) and go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Double-click Userinit value and change the value data from:

wscript C:\WINDOWS\run.vbs,

to the following: [Caution: Take special care when entering. You need to remove wscript part.]

C:\Windows\system32\userinit.exe,

*Important #2*: If Windows is installed in a different drive than C:\, type the actual drive-letter and path. Also, include the trailing comma (,) as shown above. Take extreme care when typing the Userinit value, as typing a incorrect file name or path will prevent you from logging on to any user account. I’m not responsible if you type a wrong path and lock your self  out of your user account.

Comments are closed.