How to Prevent a User Account From Access to the D Drive
- 1). Open the "Start" menu and select the "Search" option.
- 2). Input "gpedit.msc" into the text field and hit the "Enter" key.
- 3). Open "User Configuration," left-click on the "Administrative Templates" folder and open "Windows Components."
- 4). Look to the "Group Policy" column and select "Windows Explorer."
- 5). Select "Prevent Access to Drives From My Computer," left-click on "Enable" and then hit "OK" to save the changes to your system.
Source...