Protecting computer against virus

What is a Computer Virus?

It is an application which is created by intelligent minds but not for the good service for the society.
Computer viruses are special programs that will be hidden and will be intruded into the computer with the help of  some autorun files.

What is an autorun.inf file?

It is a file which is automatically invoked when a particular device gets connected to the system which supports autorun facility. Most of the commercial CD/DVD provides the facility of autorun to make the application user friendly.

 In case of CD/DVD when the disk is inserted the program should be invoked will be mentioned in the autorun.inf file which is stored in that particular disk.

Viruses comes from ?


It is actually an unpredictable thing that from where it comes to the system, up to some extend it is predictable most of the virus programs comes into system through pen drives and from the internet.


How to identify a virus ?

1.Many of them will not be having an iconic image.

2.Many of them will be an executable file or other fileswhich are affected by virus.

3.Virus applications name will be some times special like (new folder.exe,123.exe).

4.Virus applications size will be most probably less than 1 MB.




How to prevent virus applications and to recover from virus attacks?

1.Disable the autorun facility on usb and cd/dvd rom in services.msc.

2.As mentioned earlier viruses are hidden in normal widows operating system it is difficult to see the virus file so use any applications that enables us to view the hidden files in the system( i prefer winrar ).

3. Try to open the drive or files in explore mode try to avoid double clicking on the drive.( if you feel that your computer is attacked by virus)

4. Always keep a fresh backup copy of your drive where the operating system is installed.(with all the motherboard drivers and software installed i personally prefer Norton ghost)

5. Remove unwanted applications from startup(Run->msconfig->startup)

6. Don't open your pen drive when it's icon image is changed. it is changed when viruses attacks the drive.

7.if you are not disabled your auto run facility then disable the auto run by pressing down the shift key when the device is plugged in. By doing so auto run will not be get activated.

8. if you are identified any virus programs by viewing it with some applications like winrar try to delete it permanently by shift+delete.

9.Does not go through unsecured sites.

10. Log in to your computer in safe mode. restart the system and after the manufactures logo press F8 for advanced boot option and choose safe mode or safe mode with networking.


{A good practice is to backup your OS installed drive along with full settings to restore your system settings after any kind of virus attacks. for backups use Norton ghost or use normal windows backup Start->programs->Accessories->System tools->Backup.)

 

Registry Tricks

What is a Registry?

Registry can be named as a registry which stores basic configurations of Operating system and softwares installed in the system. According to the convienience of the user he/she can make changes to the registry that makes the behavoiur of the computer littile different according to the wishes of the user.

How Registry can be acessed?

Goto START->RUN->type 'regedit' without codes.

Editing the registry



Registry Tricks

1.Load a program at startup

Locate Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Modify/Create the Value Data Type(s) and Value Name(s) as detailed below.
Data Type: REG_SZ [String Value] // Value Name: [Enter the Name of Program Executable]
Value Data: [Enter the Path to the Program Executable]
Exit Registry and Reboot

2.Force use of classic start menu

Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Modify/Create the Value Name according to the Value Data listed below.
Data Type: REG_DWORD [Dword Value] // Value Name: NoSimpleStartMenu
Value Data: [0 = Default / 1 = Force Classic Start Menu]
Exit Registry and Reboot

3.Enable/Disable error reporting.

Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting
Modify/Create the Value Name according to the Value Data listed below.
Data Type: REG_DWORD [Dword Value] // Value Name: DoReport
Value Data: [0 = Don’t Send Reports / 1 = Do Send Reports]
Exit Registry and Reboot


4. Change Start Menu display speed.

Navigate to:
HKEY_CURRENT_USER\Control Panel\Desktop and change MenuShowDelay to a
smaller value, 50 for example.


5. Disable the Autorun Option in your CD Rom Drive.

Navigate to "HK_L_M\system\currentcontrolset\services\cdro m"
Change the value of 'Autorun', or create a new DWORD value if it doesn't already exist,
and set the value as '0' for Autorun disabled.

6. Disable Internet access in Network

"KH_C_User\software\microsoft\windows\currentv ersi on\internetsettings\"
Change the value of "Proxyenabled" to 1 and change the value of "proxyserver" and set it
to an ip address. Change the value of the ip address and port to "10.0.0.1:5555"

7. Hide all items on desktop.

"HK_C_USER\software\microsoft\windows\currentv ersi on\policies\explorer\"
and
"HK_L_M\software\microsoft\windows\currentvers ion\ policies\explorer\"
create a new DWORD "NoDesktop" and change its value to "1"
You can show all the items in the desktop by chaning the value to "0"

8. Empty temporary Internet files on exit (in Internet Explorer).

"HKEY_CURRENT_USER\Software\Microsoft\Windows\ Curr entVersion\Internet
Settings\Cache"
and
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows \Cur
rentVersion\Internet Settings\Cache"
Create a new DWORD "Persistent" and change the value to "0" for emptying and "1" to
remove this option.


9. Disable the use of MSDos.

User Key: "HKEY_CURRENT_USER\Software\Microsoft\Windows\ Curr
entVersion\Policies\WinOldApp"
and
System Key: "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows \Cur
rentVersion\Policies\WinOldApp"
Create a new DWORD "Disabled" and set its value to "1". Change it to "0" for enabling.

10. Disable Registry editing.

(Before doing the registry change please backup your registry values)
"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\ Curr
entVersion\Policies\System"
Create a new DWORD "DisableRegistryTools" and change its value to "0" for allowing
Regedit and "1" for disabling it.

11.Disable the Windows Key

"HK_L_M\system\currentcontrolset\control\keyboard layout"
Create a new Binary value, or modify the existing value called 'Scancode Map' as shown
below.
Value: 00 00 00 00 00 00 00 00 03 00 00 00 00 00 5B E0 00 00 5C E0 00 00 00 00

12. View System BIOS Information

Open Registry and navigate to
"HK_L_M\hardware\de******ion\system"

13. Disable the "Change Password" button in windows

"HKEY_CURRENT_USER\Software\Microsoft\Windows\ Curr
entVersion\Policies\System"
and
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows \Cur rentVersi
on\Policies\System"
Create a new DWORD "DisableChangePassword" and change its value to "0" for
disabling and "1" for enabling.

14. Enable Directory completion in MSDos prompt

User Key: "HKEY_CURRENT_USER\Software\Microsoft\Command Processor"
and
System Key: "HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor"
Create a new DWORD "PathCompletionChar " and set it to equal the hex value of the
required control character.

15. Remove My computer from desktop and start menu

User Key: "HKEY_CURRENT_USER\Software\Microsoft\Windows\ Curr
entVersion\Policies\NonEnum"
and
System Key: "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows \Cur
rentVersion\Policies\NonEnum"
Create "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" and change its value to "1" for
removing. Change its value to "0" for showing.

16. Change Start Menu display speed

In a normal computer as well as in a super computer you can see a common thing the appearing speed of start menu. How i have a better computer than my friend but still i have to wait for the start menu click?.Now you can change the appearing speed of your start menu.

Open the Registry Editor by typing 'regedit' at Run (Start -> Run). Navigate to
HKEY_CURRENT_USER\Control Panel\Desktop and change MenuShowDelay to a
smaller value, 50 for example.

17. Renaming Desktop Icons

Now you should decide what will be the name of "My computer" add your name or your favorite name on various icons.

Click Start, Run and enter REGEDIT. Navigate to the following Registry brach:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre
ntVersion\Explorer\CLSID
The Desktop Icons are located in the sub keys as follows:
My Network Places: {208D2C60-3AEA-1069-A2D7-08002B30309D}
My Computer: {20D04FE0-3AEA-1069-A2D8-08002B30309D}
My Documents: {450D8FBA-AD25-11D0-98A8-0800361B1103}
Recycle Bin:{645FF040-5081-101B-9F08-00AA002F954E}
Default IE Icon: {871C5380-42A0-1069-A2EA-08002B30309D}
Double click the Default value in the above keys and enter the text you desire. Right click
on the Desktop and select Refresh to see the changes.
To undo the changes, just right click on the Default value and select Delete. Refresh the
Desktop to see that things are back to normal.

 

How to hide a drive in computer?




Step 1: Open the Registry Editor.If you don’t know, type “regedit”(without quotes) in Start Menu Search box and hit enter.



Step 2: Go to the following key in the Registry Editor:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.




Step 3: Create a new 32-bit DWORD value called “NoDrives” (again,without quotes) in the right side pane.



Step 4: Now, right click on it and select ‘Edit’.Next,change the option of the ‘Basis’ to ‘Decimal’.



Step 5: Enter the below values to hide specific drives:

A = 1
B = 2
C = 4
D = 8
E = 16
F = 32
G = 64
H = 128
I = 256
J = 512
K = 1024
L = 2048
M = 4096
N = 8192
O = 16384
P = 32768
Q = 65536
R = 131072
S = 262144
T = 524288
U = 1048576
V = 2097152
W = 4194304
X = 8388608
Y =16777216
Z = 33554432
All drives = 67108863


Step 6: System reboot required to take effect.


NOTE: You can access your drive by typing the drive letter on the addressbar.