To stop access to your Drive do following step.
- First goto Run, then type gpedit.msc and click on Ok. It will open the Group Policy wizard.
- Now select Windows Explorer In User Configuration > Administrative Templates > Windows Components.
- Now in right side setting wizard click on Prohibit access to the drives from My Computer. A new wizard shown.
- Suppose we want to prevent access to C Drive. Select Enable radial button and select Restrict C Drive only from drop down list and Click on Apply and Ok.