Showing posts with label File. Show all posts
Showing posts with label File. Show all posts

Monday, 11 February 2013

Block access unwanted websites from PC


Block Websites
Sometimes it is seen that when you access some websites, other unwanted websites try to open. Sometimes you need to block some websites from children/others on your computer. Or you want to block unwanted websites. So you find some software that can block unwanted websites. But I am telling you that you need not any software for this. You can do this manually in your computer. Follow the steps below.

  • Find the hosts file. It usually located in
  • For Windows 7 : C:\Windows\System32\drivers\etc\hosts
  • For Windows XP Pro : C:\Windows\System32\drivers\etc\hosts  or  C:\winnt\system32\drivers\etc\hosts
  • Open hosts file with notepad and at the end of the file type the link below :

127.0.0.2 www.link-assistant.com 

  • Now www.link-assistant.com no longer be access.
  • For every sites that you want to block, just add '1' to the last number of the internal IP address (127.0.0.3) then a space and then type the website that you want to block.
For example:

127.0.0.3 www.example.com 127.0.0.4 www.blocksite.com
NOTE : Make sure there is no space at the beginning of each line. If you are unable to save then check User Account Control (from security) from control panel. And set it off

Block Websites by hosts file
NOTE : If you hide your IP address and use fake IP then this tricks does not work. You can open all blocked websites.

Repair corrupted or missing files in Windows XP

Windows XP
People who use Windows XP operating system often fetch a problem with corrupted files. Most of the times they reinstall the operating system to get rid from this problem. But they need to install all necessary softwares. From this tricks you can learn how to fix thecorrupted files easy. 
Follow the steps below.


  • For this a Windows XP cd required.
  • Now place the Windows XP cd in your cd/dvd drive.
  • Go to start menu and click on Run button and type sfc/scannow orchkdsk/r.
It should load all and fix all your corrupted files in Windows XP.

Delete Program Files (x86) from Windows 7

Though you did a clean install from Windows 7 (64 bit) to Windows 7 (32 bit), you still had a "Program Files (x86)" folder and a "Windows.old" folder. You are able to delete the "Windows.old" folder but the "Program Files (x86)" folder will not be deleted without trusted installer permission.
To delete this folder first you have to take ownership of this folder and then you need to give your account full control permission on this file. Then like other folder you can delete the "Program Files (x86)" folder by delete or shift+delete (parmanently delete). So follow the steps to get trusted installer permission.

  • Click on "Start" menu and type cmd into "Search programs and files" (ForWindows 7). You will see cmd icon on search result. Right click on it and Runas Administrator.
  • Into the command prompt type takeown /f "Path and file name" /r /d n and enter. And you will get ownership of the folder.
  • Now type icacls "Path and file name" /grant administrators:F /t and enter.

For example:
takeown /f "C:\Program Files (x86)" /r /d n
icacls "C:\Program Files (x86)" /grant administrators:F /t

After Successfully processed the files and like other folders, you can delete the "Program Files (x86)" folder.
Related Posts Plugin for WordPress, Blogger...