How To Check If Dll Is Registered
Download Article
Download Article
This wikiHow teaches you lot how to register a DLL file, which creates a path from the file to the Windows registry. Registering a DLL tin set startup issues for some programs, but well-nigh DLL files either don't support registration or are already registered. Go along in mind that you lot cannot annals DLLs that came pre-installed on your Windows calculator, as these DLLs are vital to Windows' operation and Windows updates will fix any out-of-date or malfunctioning DLLs.
-
1
Understand how this method works. Yous can use a combination of the "regsvr" command and a DLL file'due south name to register the DLL if the DLL file supports the Annals Server export control. This will create a path from the Windows registry to the DLL file, making it easier for Windows processes to detect and use the DLL file.
- You'll well-nigh commonly need to utilize this method to register DLLs which came with third-party programs that are supposed to interface directly with system-level resources (eastward.1000., Control Prompt).
-
2
Know what the "entry betoken" error means. If the DLL is already registered, it doesn't support the Register Server export command, or its code doesn't permit it to be connected to the Windows registry, y'all'll receive an fault which says, "The module [DLL name] was loaded simply the entry point DllRegisterServer was non constitute". If you see this error bulletin occur, the DLL cannot be registered.
- The "entry betoken" error isn't then much a trouble as information technology is a confirmation, as seeing this error means that your DLL doesn't need to be registered.
Advertisement
-
iii
Find the DLL you desire to register. Go to the folder location of the DLL that yous want to annals. Once you lot've constitute the DLL file that you want to annals, you can proceed.
- If you lot installed a program for which you want to register a DLL, for example, you lot would go to the programme'due south installation folder (e.g., "C:\Program Files\[programme proper name]").
-
4
Open up the DLL's Backdrop. Right-click the DLL file, then click Properties in the drop-down carte du jour. A pop-up window will open.
-
5
Note the DLL's proper noun. In the text box at the top of the Properties window, you'll run into the DLL's total proper name. This is the name you'll demand to enter later.
- Since well-nigh DLLs have difficult-to-recall names, consider leaving up the Properties window when you're done here; that fashion, you'll be able to copy the name later.
-
six
Copy the DLL'due south path. Click and elevate your cursor across the string of text to the right of the "Location" heading, and then printing Ctrl+C to copy the folder path to the DLL.
-
seven
Open up Starting time . Click the Windows logo in the bottom-left corner of the screen.
-
8
Search for Command Prompt. Blazon command prompt into the Start search bar. You should see the Control Prompt icon appear at the top of the window.
-
9
Open Command Prompt in administrator mode. To practise so:
- Correct-click Command Prompt.
- Click Run as administrator
- Click Yep when prompted.
-
10
Switch to the DLL'southward directory. Blazon in cd and type a space, printing Ctrl+V to paste in the path to the DLL file, and printing ↵ Enter .
- For example, if your DLL file is in the "SysWOW64" folder that's inside the stock "Windows" folder, your control would look like this:
cd C:\Windows\SysWOW64
- For example, if your DLL file is in the "SysWOW64" folder that's inside the stock "Windows" folder, your control would look like this:
-
11
Enter the "regsvr" command and the DLL's proper name. Type in regsvr32 and type a space, then blazon in your DLL's proper name (complete with the ".dll" extension) and press ↵ Enter . If your DLL can exist registered, doing this will result in a confirmation message.[one]
- For example, if the DLL'southward name is "usbperf.dll", your command would expect similar this:
regsvr32 usbperf.dll
- To copy the DLL'south name at this point, re-open the binder with the DLL in information technology (the Properties window should pop up), and then highlight the name in the text box and press Ctrl+C . You can then paste the name into Command Prompt past pressing Ctrl+V .
- If the DLL is either already registered or unable to exist registered, yous'll encounter the "entry point" fault pop upward instead of a confirmation message.
- For example, if the DLL'southward name is "usbperf.dll", your command would expect similar this:
-
12
Try unregistering the DLL and then re-registering information technology. If entering the "regsvr" command results in an fault that isn't the "entry point" error, you may need to unregister the DLL before you can actually register it:
- Blazon in regsvr32 /u proper noun.dll and press ↵ Enter . Make certain to supervene upon "name" with the DLL's proper noun.
- Blazon in regsvr32 name.dll and press ↵ Enter , again remembering to replace "proper noun" with the DLL's name.
Advertisement
-
i
Understand how this method works. Past creating a list of your computer'south DLL files and running the list as a BAT file, you can automatically register all of your calculator's DLL files. This is optimal if y'all don't have a specific DLL that you want to register.
-
2
Open First . Click the Windows logo in the bottom-left corner of the screen.
-
3
Search for Control Prompt. Blazon command prompt into the Beginning search bar. You should see the Command Prompt icon appear at the top of the window.
-
iv
Open Control Prompt in administrator manner. To do and then:
- Right-click Control Prompt.
- Click Run as administrator
- Click Yes when prompted.
-
five
Switch to the Windows directory. Type in cd c:\Windows and press ↵ Enter . This volition tell Control Prompt to execute the next control inside of the "Windows" folder.
-
6
Create a DLL list file. Type dir *.dll /s /b > C:\regdll.bat into Control Prompt, then printing ↵ Enter . Doing so allows Command Prompt to create a file listing the location and name of every DLL in the Windows directory.
-
7
Close Command Prompt. Once you encounter the "c:\Windows>" line of text appear below the control yous entered, you lot're free to exit Command Prompt and proceed.
-
viii
Get to the listing file'south location. You lot tin can find it from within File Explorer:
- Open File Explorer (or press ⊞ Win+Due east ).
- Click This PC on the left side of the window.
- Double-click your calculator'due south OS (C:) hard drive.
- Coil down (if necessary) until you meet a file named "regdll".
-
ix
Re-create the file onto your desktop. In order to salvage your changes, you'll need to identify a re-create of the "regdll" file on your desktop:
- Click the file once to select it.
- Printing Ctrl+C .
- Click the desktop.
- Press Ctrl+5 .
-
x
Open the listing file in Notepad. Click the file on your desktop once to select it, and so do the post-obit:
- Right-click the "regdll" file.
- Click Edit in the drib-downwards carte du jour.
-
11
Remove unnecessary DLL locations. While optional, completing this step will cut down significantly on the amount of time it takes to register the DLL files. You tin can delete whatsoever lines of text which have the following locations:[ii]
- C:\Windows\WinSXS — The bottom quarter or and then of the text document will contain these lines of text.
- C:\Windows\Temp — You'll find these near the department where the "WinSXS" lines were.
- C:\Windows\$patchcache$ — These are harder to notice. You can run a search by pressing Ctrl+F , typing in $patchcache$, and clicking Find adjacent.
-
12
Add the "regsvr" control to each line of text. You can do this by using Notepad's "Find and Replace" characteristic:
- Click Edit.
- Click Replace... in the drop-downwards menu.
- Type c:\ into the "Find what" text box.
- Type Regsvr32.exe /s c:\ into the "Replace with" text box.
- Click Replace All
- Go out the window.
-
13
Salve your changes and go out Notepad. Press Ctrl+S to salve your changes, then click the Ten in the top-right corner of the Notepad window to shut it. At this point, you're set up to run the "regdll.bat" file.
-
14
Run the file. Right-click the "regdll.bat" file, click Run equally administrator, and click Aye when prompted to run information technology in Command Prompt. Doing and so will allow Command Prompt to brainstorm registering every available DLL; this process can accept a long time to complete, so merely make sure your figurer is on and plugged in for the duration.
-
15
Exit Command Prompt. Once the process finishes running, you can close Command Prompt. Your estimator'south DLL files should now be registered.
Advertisement
Add together New Question
-
Question
What do I exercise if the "annals" push button will non work?
War_lizard
Community Reply
Refresh the page or restart the computer.
Enquire a Question
200 characters left
Include your electronic mail address to get a bulletin when this question is answered.
Submit
Advertisement
-
Unregistering a DLL is helpful if you want to delete information technology, every bit every registered DLL is considered "read-only" and thus impossible to delete without unregistering start.
Ad
-
DLLs are essential for Windows to run properly. While nigh incommunicable to practise, accidentally deleting or changing a organization DLL volition harm your computer.
Advertisement
About This Article
Article Summary X
The easiest way to annals a DLL is by updating your Windows reckoner to the latest version of its operating system. If you want to register DLLs manually instead, you lot tin can generate a list of all DLLs on your reckoner from within Command Prompt, after which bespeak you can open up the list in Notepad. Later on removing unnecessary entries from the list and adding commands before the DLLs you want to register, you can save the Notepad file every bit a Windows Batch (.bat) file and then execute information technology by double-clicking it. This will result in all of the selected DLL files on your computer beingness re-registered.
Did this summary help yous?
Thanks to all authors for creating a page that has been read 2,133,041 times.
Is this article up to date?
Source: https://www.wikihow.com/Register-a-DLL
Posted by: yeagereimstand.blogspot.com
0 Response to "How To Check If Dll Is Registered"
Post a Comment