How to disable USB sticks on windows without software for free
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