Hello friend my self vishal singh an ethical hacker .so now i tell u how u block USB port if u want u do'nt share ur data with ur friend's so u do them .. i tell u this by using c progrmm ,so we start trick- firstly u open c compiler and type code...:crazy: Code: Code: #include<stdio.h> void main() { system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 4 \/f"); }
A usb can be block? :crazy: i think it will be very useful to protect our computer from viruses without the help of antiviruses.
how deactivate this usb block "c" programe i ran this just but how deactivate this "c" programe pls tell me
You can also simply make a batch file to do the same thing, like so: 1) Open Notepad Code: @echo off reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 4 \/f PAUSE 2) Paste the code in notepad 3) Save as... usbBlock.bat NOTE** Change *.txt file type to 'All Files' Pause to see if the operation carried out successfully. All the best.
The Article you posted is same as the opening post. At least I did not see any difference. Also for submitting articles please read the Article Guidelines in the FAQ as well.