Today I am planning to write how to Virus-proof your computers. I am going to talk about a fresh Windows XP installed computer. As we all know, Windows XP is the major target of almost every virus-writers. Because it's easily hackable, or even crackable.
I am writing here my own experience. I have installed Windows XP on the December of 2007, and I haven't had to re-install the system again, until today. That means, I am running my PC virus-proof for a longer period of 21 months.
Let's see how to do this.
Step 1 - Install Windows XP (Service Pack 2)
Ha, we all know, this must be the first step, right?
OK, But.... after completing installation, don't go to your "My Computer" and open any drives. It's important.
Step 2 - Disable "Autorun" on all drives.
Microsoft has shipped their OS with a not-so-useful feature. Autorun. Dont you remember? When you put in the CD that you got with your computer magazine starts playing animations and opening some application interfaces? Yes, that's what we are talking about.
When the "Autorun" feature is enabled, it can execute some programs in CDs/DVDs/Flash Drives etc., without any user initiation. So, it can be dangerous, because the program can be a virus. It just need to plug in and take it back an infected USB Flash drive. Your computer also will get infected. And whenever you plug in another fresh USB Flash drive, the virus will automatically infect that drive too.
OK, let's see how to disable Autoplay.
Go to Start > Run > type "gpedit.msc" without quotes > Press ENTER
This will open the Group Policy Editor.
Then go through the tree on the left, following
- Local Computer Policy
- Computer Configuration
- Administrative Templates
- System
Under these settings, double-click on "Turn off Autoplay"
Then a window is displayed, select the "Enabled" radio button.
Then set "Turn of autoplay on:" to "All Drives"
That's all!
Now any of your drives will never autoplay!
Step 3 - Show hidden files/folders. Show extensions of all files.
Yes, this is really needed!
Because almost every Virus/Worms comes in as hidden files. Sometimes they may look exactly like a Folder, tricking users to click on it. When the user double clicks on that "folder", the virus will start execute and thus infecting your PC.
The default setting under Windows XP is to hide hidden files and folders. Also it will not show the extensions of known file types. That's, it will never show "ClickMe.EXE", it will just show "ClickME".
Let's see how to show hidden folders.
Open "My Computer"
Under "Tools" menu, click "Folder Options"
A window will open, there select "View" tab.
Under "Advanced Settings", do the following:
- Select "Show hidden files and folders"
- Uncheck "Hide extensions for known file types"
- Uncheck "Hide protected operating system files" (It's specified as a "recommended" setting, but we really don't need ot to avoid virus...!)
Now you can see all the hidden files (even virus), and you can see the correct extensions of all files.
(If you really want to hide your private files, use some softwares like Lock Folder XP.)
Step 4 - Install an Anti-Virus
This is an essential requirement. You can select which is better for you. I use AVG Free Edition, or you can buy a Kaspersky Antivirus (best one in the market) for abour INR.900/- in India. If you have an Antivirus program, that will add extra strength to your PC against virus/worms. It's good if you have an internet connection, so that you can update the Antivirus program regularly.
Step 5 - Now it's your role!
Yes, completed. Now it's your role to keep away from virus.
All the above three steps will help you to prevent the automated infection of virus in your PC. Next is to prevent "intentional" execution of virus programs, that means preventing yourself from clicking on a virus.
These are some tips:
- Beware of these file extensions: these are executeable files. Do not open it utill you got it from a trusted source, or scanned using an Anti-Virus.
- EXE
- SCR (Screen savers are actually renamed EXE files!)
- VBS
- JS
- JAR (less harmful)
- BAT
- Lnk (short-cut file, it too can be an executable file)
- Just open your USB Flash Drive from your Address bar only. NO Double clicks, or NO right-click and "explore" it.
- Beware of any hidden executable files. It can be a Virus!
That's all my experiences with the virus world.
You can tell if there are more simple tips and tricks to keep rid of them.




