Access denied

Here you can find everything you need to know about Dll-Files. You can also share your knowledge regarding the topic.

Moderators: DllAdmin, DLLADMIN ONLY

Post Reply
GamerX20
Posts: 1
Joined: 13 Mar 2016, 11:30

Access denied

Post by GamerX20 »

When extracting the dll d3dx9_25.dll into C:\Windows\System32 it gives access denied and when running cmd regsvr32 d3dx9_25.dll it gives the entry point DLLRegisterServer not found. make sure d3dx9_25 is a valid DLL or OCX file. What to do?

DllAdmin
Site Admin
Posts: 462
Joined: 17 Mar 2011, 12:32
Contact:

Re: Access denied

Post by DllAdmin »

Hi,

Instead of extracting directly to \System32\, first extract the file somewhere else, f.ex. your desktop. Then move or copy the file to where you want it.

On a 64bit version of Windows, the default folder for 32bit dll-files is C:\Windows\SysWOW64\ , and for 64bit dll-files C:\Windows\System32\ .

To successfully register a dll file;

For 32bit dll-files on a 32bit Windows, and for 64bit dll-files on a 64bit Windows:
Open an elevated command prompt.
To do this, click Start, click All Programs, click Accessories, right-click "Command Prompt", and then click Run as administrator.
In Windows 8, go to the Start screen. Start typing cmd and Windows will find "Command Prompt". Right click "Command Prompt" and choose "Run as administrator.
If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.

Type regsvr32 "filename".dll and press Enter.

Registering 32bit dll-files on a 64bit windows:
Open an elevated command prompt, as instructed above.
In the command prompt, start by typing :
cd c:\windows\syswow64\
and press enter.
then type the following and press enter:
regsvr32 c:\windows\syswow64\"filename".dll

Post Reply