Cannot find script file "c:/windows/system32/semiantivirus

August 2017

Users of Windows XP may face an error which says that Windows is unable to find script file for semiantivirus.vbs under Windows system files. This error could occur because of a hidden regedit.sys file, which means the script file for semiantivirus.vbs cannot be found. To get around this problem, the user may need to run custom commands in command prompt to delete regedit.sys file. One can also generate debugger registry keys for troubleshooting using custom commands as well, and use these keys to delete any entries that are flagged with debugger keys.


Issue


I am having a problem, every time I start my laptop a message displays on my screen:
Cannot find script file "c:/windows/system32 /semiantivirus.vbs"
Please help me

Solution


I encountered a similar problem with one of my computers. regedit.sys was present in the c:windowssystem32 directory but hidden.

I ran the following commands on command prompt to delete it:

attrib -a -h -s -r c:windowssystem32regedit.sys   
del c:windowssystem32regedit.sys 

It creates a shell extension for executable, and it is deleted by following command:
  • reg delete
    "HKLMSOFTWAREClassesexefileshellScan for virus,s" 

It also creates debugger registry keys for most of the troubleshooting and antivirus programs. To enable the regedit, use this command:
  • reg delete
    "HKLMSOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Optionsregedit.exe" 


Then run regedit, and navigate to:
HKLMSOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution
Options
and delete all entries in which you see Debugger key.

Note


Thanks to Imran for this tip on the forum.

Related


Published by aakai1056. Latest update on March 16, 2012 at 03:19 PM by Celia Gatward.
This document, titled "Cannot find script file "c:/windows/system32/semiantivirus," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).