I worked on a friends computer that had a hidden/system *.dll file that would pop-up a window. If you tried to close the window, it's freeze up the computer, forcing you to power it off, then on again. Couldn't find any information about that particular dll in a search on the Internet, but did figure out a way to disable it, then deleted it, problem solved. I couldn't do anything with the file while in Windows.
Using your file as an example: (ignore quotes below)
I booted into DOS mode, changed to the c:\windows\system32 folder and ran "attrib d3d.dll", found the attributes of hidden and system, which is why I couldn't delete the file while I was in Windows. I did an "attrib -h -s d3d.dll", then renamed the file, then rebooted. No pop-up window, everything worked fine, then I deleted the file.