How to disable pendrive on windows

How to disable Pendrive?
Procedure:-
Open notepad and past this code then save it with anyname.reg
Then double click on it, computer will ask Are you sure you want to add the information to registry?click YES.

You will be there
Code:
————
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
“Start”=dword:00000004
————

How to Reverse:-
And if you want to reverse it change the value “00000004” to “00000003”. The computer will show pendrive again