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

Ask a question
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.


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


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
and delete all entries in which you see Debugger key.


Thanks to Imran for this tip on the forum.

Windows XP - Minimum System Requirements
Enable Task Manager on Windows XP