How to hide/disable checkboxes for the folders

Hello,

is it possible somehow to disable checkboxes for the folders? I will really appreciate any answer.