How to remove viruses using login script

is there any virus removal script that can be used on login to Windows users and do scan and remove all know viruses?
Who is Participating?
RhysehConnect With a Mentor Commented:
I'm sure one could be created with alot of $ and alot of time, however such a solution would be extremely impractical and would likely be null and void in short order. Additionally the effect on performance would be quite significant. I'm sure you can schedule anti-virus solutions to scan on login, again I wouldn't reccommend this due to performance issues. Even with a good anti-virus you are still going to get infections.
That would depend heavily on the anti-virus being used. It's not likely. You may want to look into other options such as firewalls and limiting users abilities. If you want to be more specific please give further details.
If you haven't already done so. Setup all users as non-admin. I'd say about 75% of most malware is thwarted by it.
Protect Your Employees from Wi-Fi Threats

As Wi-Fi growth and popularity continues to climb, not everyone understands the risks that come with connecting to public Wi-Fi or even offering Wi-Fi to employees, visitors and guests. Download the resource kit to make sure your safe wherever business takes you!

If you use an Enterprise level AV solution, then their should be something in the mgmt console for this, but if you're looking for a script that is an "Anti-Virus" solution, then you're out of luck, since that's why AV software exists.

Are you running Symantec by chance?  If so, which version?

Also, here's a good article to look over...
younghvConnect With a Mentor Commented:
The answer is quite simple: no.

The variety and complexity of 'malware' floating around makes that impossible.

The first step in any malware removal process is "identification" , after which you have to choose from a number of "targeted" removal/repair tools.

If anyone ever came up with the tool you describe, they would be wealthy beyond counting (and the newest Vice President of special projects for Microsoft).

Some of the information you are looking for is contained in a couple of my Article here: (MALWARE - "An Ounce of Prevention...") (Basic Malware Troubleshooting)
jmlambConnect With a Mentor Technical Account ManagerCommented:
With Symantec Endpoint Protection, you can choose to define a scheduled scan that will run when the computer starts up and when a user logs on. This is not a script though. It is part of the RTVscan process and looks for risks based on signatures, behavior and other aspects.

For more information on SEP as well as access to a trial version, visit
@jmlamb -
Great to see you posting again - thanks for coming back.
(No reply needed.)
You are once again attempting to select a comment that has nothing to do with the original question.

Your comment of "had to use Kaspersky tool to clear the virus" has nothing to do with the original question you asked.
SeniAuthor Commented:

what seems to be problem here, you have not given me solution for what am looking for thats why I have decide to use a removal tool instead of script, whats wrong with this????
You asked for a script - and you received several specific responses to your actual question.

If you wanted malware removal advice, you should have asked for it.

As written, your question was answered.
SeniAuthor Commented:
younghv U better know that am paying to get this service am not a free user, now the longer you keep this open.. am not able to ask my questions for possible solutions, so u better let it go or otherwise you will live me no choice than to report you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.