How to disable USB sticks on windows without software for free

Posted on February 4, 2012 in Security, Tutorials

I was at a client, he asked me how to disable USB sticks/storage – he was using some third party paid software that installs as a service on startup and he wanted an alternative.

Since this is one of the most basic security procedure to disable storage for “users” , i turned to my human Siri aka @battikh000 - and he gave me the following tip

copy and paste this into the command line:

REG ADD “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR” /v Start /t REG_DWORD /d 4 /f

You will need to run cmd as administrator – start, cmd, right click, run as administrator.

and yes, that’s it, it simply works.

I know i am disabling my USB ports and keeping the script handy because i am fedup of people inserting stuff into my ports ;p

Share Button

3 Comments

  1. this is not really true. If you enter a new (never used on that pc) usb stick you will see that the usb stick becomes available.
    Maybe have a look at this post. You should block out the usbstor process
    http://diaryproducts.net/about/operating_systems/windows/disable_usb_sticks

Leave a Comment

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>