Oct 13, 2010

How To Disable Someone's USB Ports

Ever tried to plug in your flash drive and it just wouldn't load? Now you can cause this annoyance to your friends or enemies too. Or maybe you just want to disable your USB ports for safety reasons. Whatever it is, continue reading please!





We will be using the C programming language to create this virus. If you aren't familiar with this, it's no problem! Just follow the steps below.

Method 1

1. Download "Usb_Block.rar"

It contains the following files:

block_usb.c
unblock_usb.c

2. Compile the two source codes. Learn how to compile here.

3. Once they're compiled you should get "block_usb.exe" and "unblock_usb.exe".
Click on "block_usb.exe" and it will disable your USB ports. Put in a flashdrive and try it out.

4. Double click on "unblock_usb.exe" to re-enable your ports.


Method 2

The following method consists of modifying your registy, which if done wrong, can harm your computer, and you may need to reinstall you Windows operating system. So follow these steps exactly!

1. Go to Start --> Run --> and type "regedit"

2. In the Registry Editor window, navigate to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor


3. Right click the file and select "Modify".

4. In the value data box, change the value from "3" to "4".

5. Make sure "Hexadecimal" is selected.

6. To re-enable your USB ports, follow the steps above, but change the value data of "UsbStor" back to "3". (Again, make sure "Hexadecimal" is selected)

Enjoy!

No comments:

Post a Comment

Write A Comment!