Wednesday, February 4, 2015

Disable\Enable the USB drive in Windows 7

Sometimes it is necessary to Block or Disable the USB to prevent your PC from viruses and Trojans especially when it is in a crowded area like in Office, School or College.
Here, I'm gonna show you a simple trick to Disable/Enable the USB drive in your PC without any third party software by simply making changes in the Windows registry.


  • Open registry. Window Key+R > type regedit
  • Navigate to the following registryHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
  • There in the right content pane search for REG_DWORD Start

  • Double click on it and a new small pop box will appear.

  • Change its value to 4 to Disable the USB
  • Change its value to 3 to Enable the USB
  • Sometimes a reboot will be required for the changes to take effect
Alternative Method:

Open Notepad

Copy the following code

reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 4 /f

Save it as > block.bat
Again open notepad
Copy the following code

reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d 3 /f

Save it as unblock.bat

Click block.bat file > run as administrator to disable the USB drive.

Click on unblock.bat file > run as administrator to enable the USB drive.

Manually remove the shortcut virus from USB

Hi guys. Sometimes its very irritating when you insert any USB and it shows many shortcuts of My Documents and all the important data and files become invisible. This is due to a shortcut virus. It is usually present in many computers of office, college or cyber cafes. Many of my friends are facing the problems with this virus. So here is a simple trick by which you can remove this virus from your pen drive.
  • Open command prompt. go to start >run > type cmd.
  • Insert your USB flash drive. Assuming it is the drive I:
  • In the command prompt window type the following code and hit enter
attrib -h -r -s /s /d I:\*.*

          here replace I: with your drives name.
  • That's it. Now you can see the magic that all your invisible files are back now. 
You have successfully removed the shortcut virus from your pen drive.

Windows Server 2008 R2 0x80072F8F Windows Activation Error.

  The Windows activation error code 0x80072F8F may occurred while trying to activate Windows 7 or Windows Vista. As Microsoft says the error...