Monday, November 17, 2014

How to check if "jdk" is installed on your system?
1. Go to start -> run -> cmd
2. In cmd write "java -version"
If jdk is installed it will show you the version of jdk installed.

Saturday, January 25, 2014

Disk Defragmentation in Windows 7

What is disk defragmentation ?
Disk defragmentation is the process of combining fragmented data as a whole on a disk so that is could work more efficiently.
Disk defragmenter could be used for fragmentation in windows 7
Steps to be followed are :
  1. Open Disk Defragmenter by clicking the Start button Picture of the Start button. In the search box, type Disk Defragmenter, and then, in the list of results, click Disk Defragmenter.
  2. Under Current status, select the disk you want to defragment.
  3. To determine if the disk needs to be defragmented or not, click Analyze disk. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
    Once Windows is finished analyzing the disk, you can check the percentage of fragmentation on the disk in the Last Run column. If the number is above 10%, you should defragment the disk.
  4. Click Defragment disk. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

    Note

    • If the disk is already in exclusive use by another program or is formatted using a file system other than NTFS file system, FAT, or FAT32, it can't be defragmented.
    • Network locations can't be defragmented.
    • If a disk that you're expecting to see under Current status is not showing up there, it might be because it contains an error. Try to repair the disk first, then return to Disk Defragmenter to try again.

Friday, December 27, 2013

HOW TO BLOCK USB drives (do it with care)

1. Go to Start –> Run, type Regedit.
2. Go to HKEY_LOCAL_MACHINE\System\CurrentControlset\Servic es\USBStor
3. In the right pane, look for value Start and have value as 0000000(3)
4. Double click on that and change that value to 4. it required to restart the PC, USB is now blocked.

In case if you want to get the USB unblocked, just change the value again to 3.

Monday, April 8, 2013

Tuesday, April 2, 2013

Good to Understand 

Difference between C & C++



How to Block a website without any tool in a PC :

1) Go to "My Computer"
2) In "C drive" go to the following path :
        C:\WINDOWS\system32\drivers\etc
3) In "etc" folder a file named "hosts" is there.
4) Open the file with notepad and write the following.
          #block
          127.0.0.15      www.anyname.com