Prompt "Windows script Host cannot find script file" when opening disk

Source: Internet
Author: User

Failure phenomenon: computer poisoning, the entire hard drive killing, after the virus, open C, D, E, F and other partitions, will pop up a dialog box prompts "script Host cannot find script file, here is script: d:autorun.vbs/line: 10/Character: 8/Error: syntax error/ Code: 800a03ea/Source: Microsoft VBScript Compiler Error ", unable to access sections C, D, E, F, etc."

Fault handling: The computer originally Autorun virus, although the anti-virus software will Autorun the virus to kill off, but because other files (autorun.*) and the Registry Reference key value pointed to by the antivirus software to kill the Autorun virus file, and Autorun virus already does not exist, So double-click the disk letter into the error. You can follow these steps to resolve the problem.

1. Press the key combination "Ctrl+shift+esc" to bring up Windows Task Manager, end the wscript.exe process in the Processes tab (where possible this process does not exist) and the Explorer.exe process.

2. Click the file-New task (run) menu command in Windows Task Manager, enter XP "CMD" and return to the Command Prompt window, and then enter and execute the following command:

Del c:autorun.*/f/s/q/a

Del d:autorun.*/f/s/q/a

If there is another letter to continue to enter the above command, as long as the inside of the "C, D" to replace the other letter can be.

3. Open Registry Editor, expand the Hkey_local_machinesoftwaremicrosoftwindowsntcurrentversionwinlogon subkey in the left pane, and edit "Userinit" in the right-hand pane Key value entry to see if the value data is "C:windowssystem32userinit.exe" (this assumes that the system is installed in C disk), but if not, change it to be correct indeed.

4. Restarting the computer will solve the problem.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.