Alright, so here's a weird question for you.
At my school there is a virus on the computers that copies itself from the local computer to any removable drive it can find attached to the computer, and thus spreads this way. The school does not have antivirus software because of the cost, and is not amenable to installing a free alternative. Their solution to everything is "just re-image the machine" which does not work if an infected flash drive is used repeatedly.
I have created a batch file that searches for the virus' files and deletes them, but there is one hitch. The computers at the school are on a Windows Domain and so students are given "User" accounts. One of the virus files places itself in the system directory, in this case (Windows XP) C:\windows\system32\. If I am in the command line or my batch file and type "dir" (list directory) I am unable to see the file, yet if I go through Windows Explorer, I can see the file. The same goes for the "del" command for deleting the file, making it very difficult to delete it automatically.
I am able to delete the file if I go through explorer, but not in the command line. Any ideas?
The pertinent part of the message is attached.
At my school there is a virus on the computers that copies itself from the local computer to any removable drive it can find attached to the computer, and thus spreads this way. The school does not have antivirus software because of the cost, and is not amenable to installing a free alternative. Their solution to everything is "just re-image the machine" which does not work if an infected flash drive is used repeatedly.
I have created a batch file that searches for the virus' files and deletes them, but there is one hitch. The computers at the school are on a Windows Domain and so students are given "User" accounts. One of the virus files places itself in the system directory, in this case (Windows XP) C:\windows\system32\. If I am in the command line or my batch file and type "dir" (list directory) I am unable to see the file, yet if I go through Windows Explorer, I can see the file. The same goes for the "del" command for deleting the file, making it very difficult to delete it automatically.
I am able to delete the file if I go through explorer, but not in the command line. Any ideas?
The pertinent part of the message is attached.