How to Remove Windows Script Host Error?

Mrinmay Bhattacharjee | January 25, 2009 More


Recently I discovered at one of the Popular Technology Forum, a lot of Problems regarding Windows Script Host Error which says Can not find script file “C:\WINDOWS\sytem32\NewVirusRemoval.vbs”

This problem normally occurs when your Anti-Virus Software has removed a particular virus from your system, but he entry to trigger the VBscript file still resides in the Registry.

Here’s the perfect solution for this:

  • Go to Start Menu|Run
  • Type regedit, this will open Registry Editor
  • Now Navigate to following Key

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

  • In the Right Pane Look for Userinit Key, it will look as follows:

newvirusremoval-error

  • Just Delete any entry after the userinit.exe (most possibly you will have wscript.exe and NewVirusRemoval.vbs entries) as shown below (Delete Comma ‘,‘ too):

newvirusremoval-error-rectified

  • Close the Editor and Restart the Computer.

Problem will be solved!

The main intention behind this Post is that, this error may occur to any PC which have VBscript left in it’s registry after the Virus Removal by an Anti-Virus.

Category: How To, Windows

Comments (2)

  1. mahadev says:

    Thank you very much for your valuable solution. My problem is solve. Thank you very much again.