Open a command prompt and run as Administrator. Next execute a command like the following
icacls "D:" /T /grant Everyone:(OI)(CI)F
If you do icacls as the command prompt you will get help on the command.
You can replace Everyone with an approprate user. You can also specify less than full control.