Disabling USB ports on a Windows machine


If for some reason you want to disable your USB ports, maybe for security reasons, you can do this with a simple registry hack.

  1. Launch your registry editor, by pressing WIN+R and typing regedit.
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
  3. Change the value of the start key to 4
  4. Reboot your machine
Your USB ports will now be disabled completely.
Advertisements

Restore Start Menu in Windows 8 Developer Preview (or how to disable Metro)


If, like me, you do not really like the Metro-styled Windows 8 start menu, you can restore the Window 7 classic style menu with a simple registry tweak, as follows

  • Runregedit‘ from your WIN+R dialog
  • Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
  • Set RPEnabled to 0
  • Reboot :)
The inverse (setting to 1) will restore your metro-styled ui.
Do note that this will disable Metro!