1, Desktop click "Win + R" button, bring up "run window, input" Gpedit.msc "after Click" OK ";
2, in the Local Group Policy Editor, select User Configuration, Administrative Templates, Windows components, Windows Explorer;;
3, find to prevent from "My Computer" access to drive options, double-click to open it;
4, select "Enabled", select the option for the partition you want to disable, click "OK";
5. After restarting the computer, or by using the command "Gpupdate/force" to refresh the Group Policy, opening the partition again prompts for restricted access.