find and solve || findandsolve.com
Please wait.....

Welcome back.






Before Read Terms of use

How to Register a DLL file on Windows 10 64-bit or windows 32 bit?

Hello, I am tried adding a DLL file in Windows 10 by copying to system32 folder, but I couldn't as Access Was Denied. Actually there is an existing DLL file and I'm trying to replace it. How can I do this in Windows 10?

cd c:\windows\system32

regsvr32.exe dllname.exe


Answer


Option 1.

If you need to register a DLL due to some sort of corruption or installation failure, you can do it manually by following the method outlined below.

Step 1: First click on Start, then Run(Open command promot)

 

Step 2: Now all you have to do to register a DLL file is to type in the regsvr32 command, followed by the path of the DLL file.

 regsvr32 “C:\Windows\System32\yourfile.dll”

Step 3: After Enter and you should get a confirmation message that the DLL has been registered successfully.

 

Option 2.

Open your command promot and use this code as given below

Windows XP---32-bit

  1. Closing all the related your softwares and servers.
  2. Copying all yourdllfile.dll files to C:\WINDOWS\system32
  3. Opening cmd.exe and inputting regsvr32.exe %windir%\system32\yourdllfilename.dll

Windows XP---64-bit

  1. Closing all the related your softwares and servers.
  2. Copying all yourdllfile.dll files to C:\WINDOWS\sysWOW64
  3. Opening cmd.exe and inputting %windir%\syswow64\regsvr32.exe %windir%\syswow64\yourdllfilename.dll

Windows 7/Windows 8 /Server 2008---32-bit

  1. Closing all the related your softwares and servers.
  2. Copying all yourdllfile.dll files to C:\WINDOWS\system32
  3. Running cmd.exe as Administratorand inputting regsvr32.exe %windir%\system32\yourdllfilename.dll then Enter

Windows 7/Windows 8/ Server 2008---64-bit 

  1. Closing all the related your softwares and servers.
  2. Copying all yourdllfile.dll files to C:\WINDOWS\sysWOW64
  3. Running cmd.exe as Administrator and inputting %windir%\syswow64\regsvr32.exe %windir%\syswow64\yourdllfilename.dll then Enter


Option 3.

 32 bit:

Copy the DLL to C:\Windows\SysWoW64\

In an elevated command prompt: %windir%\SysWoW64\regsvr32.exe %windir%\SysWoW64\yourdll.dll

64 bit:

Copy the DLL to C:\Windows\System32\

In an elevated command prompt: %windir%\System32\regsvr32.exe %windir%\System32\yourdll.dll

http://support.microsoft.com/kb/249873

Quote: "Note On a 64-bit version of a Windows operating system, there are two versions of the Regsv32.exe file:

The 64-bit version is %systemroot%\System32\regsvr32.exe.

The 32-bit version is %systemroot%\SysWoW64\regsvr32.exe.


Option 4.

Type regsvr32 yourdllfilename.dll into the Command Prompt (executed in elevated mode!) and press "Enter." Note that yourfilename.dll should be replaced with the name of the DLL that you want to register. For example, if you want to register the yourfilename.dll, type regsvr32 yourfilename.dll.


Option 5.

To register a comm .dll or .ocx on Windows 7 32-bit, do the following:

  1. Copy .dll or .ocx to c:\windows\system32
  2. Type cmd in Run menu, it will search cmd.exe, right click and click Run as Administrator
  3. It will show a prompt at c:\windows\system32
  4. Type regsvr32 ocxname.ocx to register .ocx

or

type regsvr32 dllname.dll to register .dll


Mahira  khanna

Mahira khanna

I have the skills you need for you company blog, website, or other content materials

Comments



Report Response