Showing posts with label how. Show all posts
Showing posts with label how. Show all posts

Tuesday, January 25, 2011

Disable or Enable USB port or device

Steps to disable or enable USB port or device

USB Devices are portable enough to carry the data from one computer to another , It is always risky to enable USB ports of computers in large organizations , data center and cyber cafes since it can be the gateway for virus and malwares. You can disable or enable USB port or device in two ways :-

Enable / Disable USB port and device in BIOS
It can be enabled or disabled in BIOS where the peripheral device setting is configured. While booting the system you will be getting an option to configure BIOS settings. But only problem is you will not be able to use those USB ports for any purpose like connecting USB keyboards or mouse or any devices.

Enable / Disable USB port and device using registry hack in windows
Another effective way to enable or disable USB port or device is to hack registry entry in windows , it will allow you to use your USB port for other functions like connecting keyboard or mouse but you can restrict the data storage through USB port

A. Click on Start –> Run –> regedit [enter]
B. Search for the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
C. Select the key UsbStor, double clicks on Start value.
D. In “Value data” enter 4 to disable USB storage, or enter 3 to enable USB storage on windows system

                                 

Sunday, January 23, 2011

How to Block a Website

How to Block a Website :-

To block websites on your home computer without investing in expensive software, here’s the trick (for Windows PCs):

Step 1:  Click the Start button and select Run. Now type the following text in that Run box:

notepad c:\WINDOWS\system32\drivers\etc\hosts

Step 2: You will see a new notepad window on your screen containing some cryptic information. Don’t panic. Just goto the last line of the file, hit the enter key and type the following: 

127.0.0.1 orkut.com
127.0.0.1 facebook.com
127.0.0.1 myspace.com 

Save the file and exit. That’s it. None of the above sites will now open on your computer. 

You can block as many websites as you like with the above technique. If you want to remove the ban later, open the same file as mentioned in Step 1 and delete the above lines. 

i.e.

1. Block website in all web browsers

Browse C:\WINDOWS\system32\drivers\etc , find file hosts and open that file with notepad
block site

In notepad file find 127.0.0.1 localhost and below add something like 127.0.0.1 blockedsitename.com and 127.0.0.1 http://www.blockedsitename.com . My blocked sites looks like this



Then select File and click Save or press Ctrl+S



After this will be blocked certain website in all web browsers.