Go to Folder and Search Options in Windows explorer and View tab. Click the radio button on the Show hidden files, folders, or drives. Remove check mark on Hide protected operating system files. You can also remove the check mark for Hide extensions for known file types.
Now to remove the page file on D:, Right click on Computer and select properties. On the left side of the window, click on Advanced system settings. Here go to Advanced tab and click on the Advanced tab and again click on the Settings button in Performance section. In this section click on Advanced tab. In the Virtual memory section click on Change button.
Select the D: drive and then click on the radio button next to No paging file. Press Set button and close the window. If a message appears that you should restart the system please do so.
Once you get the desktop open D: and check the contents. If you see your old database file there, take a backup of it, and delete any other extra files.
Now you can format the D: and you will have recovered the entire space.