How to Open a Dll File in Windows 10
Register or Unregister ActiveX DLL or OCX Files
Sometimes "application extension" files (.DLL or .OCX) must be manually registered to properly support functions in a program such as CTI Navigator. A variety of ActiveX, Automation, or "Run-time" type errors can result when associated application extension files (also called ActiveX controls) are not registered in Windows for use by the requesting program.
Click on the appropriate topic in the list below to go directly to information relevant to that topic:
- Register dll or ocx file in Windows Vista, 7, 8.1, or 10
- Register dll or ocx file in Windows XP (or earlier Windows)
- Un-register dll or ocx files
- Security and Active X Controls
- Enable ActiveX Specifically for CTI Navigator
To register an ActiveX control (dll or ocx) file in Windows Vista, 7, 8.1 or 10:
- Open the Windows Command Prompt
- in Windows Vista or 7 :
- Select Start > All Programs > Accessories
- Right-click on "Command Prompt" in the Accessories
- Click " Run as Administrator "
- in Windows 8.1:
- Open the "Quick Link" menu (by holding down the Windows 8 logo key and pressing the X key)
- Select "Command Prompt (Admin)"
- Select "Yes" to allow changes
- in Windows 10 :
- Right-click on the Start icon
- Select "Command Prompt (Admin)"
- in Windows Vista or 7 :
- To register a dll or ocx Windows System file in a 32-bit version (older) of Windows (Vista, 7, 8.1, or 10),
- Type cd\ [then press Enter]
- Go to step 5 below
- To register a 32-bit dll or ocx Windows System file in a 64-bit version of Windows (10, 8.1, 7, or Vista),
- Type cd \Windows\SysWOW64 [then press Enter] {see note 1 below}
- Go to step 5 below
- To register a dll file in CTI Navigator
- in a 32-bit version of Windows, type cd\Program Files\Cti Navigator [then press Enter]
- in a 64-bit version of Windows, type cd\Program Files (x86)\Cti Navigator [then press Enter]
- Type regSvr32 {fileName.dll} [or regSvr32 {fileName.ocx} as appropriate] - see note 2 below
- For example,
- to register the Microsoft "msi.dll" file in the Windows\System32 folder of a 32-bit version of Windows, type cd\ and press ENTER; then type regsvr32 msi.dll and press ENTER;
- to register the Microsoft "ScrRun.dll" file in the Windows\SysWOW64 folder of a 64-bit version of Windows, type cd \Windows\SysWOW64 and press ENTER; then type regsvr32 scrrun.dll and press ENTER;
- to register the CTIAnnouncement.dll file in the CTI Navigator folder in a 32-bit version of Windows, type cd\Program Files\CTI Navigator and press ENTER; then type regsvr32 ctiannouncement.dll and press ENTER;
- to register the CTI Announcement.dll file in the CTI Navigator folder in a 64-bit version of Windows, type cd\Program Files (x86)\ CTI Navigator and press ENTER; then type regsvr32 ctiannouncement.dll and press ENTER.
- For example,
- A message indicating "DllRegisterServer in... succeeded" should appear.
Note 1: In a 64-bit version of Windows, 32-bit versions of Windows system files and DLL libraries (such as used by CTI Navigator) are in the "Windows\SysWOW64" folder, and 64-bit versions of Windows system files and DLL libraries are in the "Windows\System32" folder. In a 32-bit version of Windows, the Windows system files and DLLs are in the "Windows\System32" folder (and there is no SysWOW64 folder).
Note 2: Substitute the name of the file to be registered for "fileName" and do not type the {} braces. Also, place one space between regsvr32 and the fileName. See format used in examples.
Note 3: If you are using Windows Vista, you can add a file to the Windows Vista registry that will allow you to right-click on any DLL file and simply select Register or Unregister (without going through the detailed commands). To add the Register and Unregister command to your right-click menu, go to www.ctimls.com/Downloads/Windows/Vista/VistaDll.reg > click Save > right-click on the saved file in your Vista > select Merge > accept the registry change notice. To also add a file to the Windows Vista registry that will allow you to right-click on any OCX file to register or unregister it, go to www.ctimls.com/Downloads/Windows/Vista/VistaOcx.reg > click Save > right-click on the saved file in your Vista > select Merge > accept the registry change notice. Warning : Before making any registry changes, Microsoft highly recommends that you make a backup of your registry (see related article below).
▲ Back to the top of this web page
In versions of Windows prior to Vista , or with User Account Control (UAC) turned off in Windows Vista, 7, or 8, ActiveX files (such as .dll or .ocx) can be registered by double-clicking on the filename in Windows Explorer ("File Explorer" in Windows 8). If opening, running, or double-clicking on a file with a .dll extension (Dynamic Link Library) or an.ocx extension (OLE Control Extension) brings up an "Open With" screen: click "Select the program from a List" and click OK > click the "Browse" (or "Other") button on the lower right of the screen > progressively select directories and change the "Look-in" box on the next screen to C:\Windows\System32\regsvr32.exe > double-click on regsvr32.exe (or click the Open button) > verify that "Microsoft Register Server" is highlighted in the Programs list > verify that a check mark is in the "Always Use" box on the lower left of the Open With screen > click the OK button on the "Open With" screen. A message should appear indicating that the registration succeeded. Click the OK button on the RegSvr32 message screen.
▲ Back to the top of this web page
Sometimes files need to be un-registered and then re-registered to operate properly. To un-register a 32-bit Windows system file and then re-register it in a version of Windows without User Account Control (prior to Vista) or with UAC turned off (in a 32-bit version of Windows Vista, 7, or 8):
- Select Start > Run (or in Windows 8, 7 or Vista press the Windows logo key + R key )
- Type Regsvr32 /u {Filename.ocx} [There is one space both before and after /u. Do not type the {} braces. Also see note 4 below.]
- Click the OK button. A message indicating DllUnregisterServer... succeeded will appear.
- Then re-register the file by runningRegsvr32 {Filename.ocx or .dll} (as described above. See also note 5 below)
In a 64-bit version of Windows Vista, 7, or 8 (see note 1 above):
- Select Start > Run (or in Windows 8, 7 or Vista press the Windows logo key + R key )
- Type cd \Windows\SysWOW64 Regsvr32 /u {Filename.ocx} [There is one space both before and after /u. Do not type the {} braces. Also see note 4 below.]
- Click the OK button. A message indicating DllUnregisterServer... succeeded will appear.
- Then re-register the file by runningcd \Windows\SysWOW64 Regsvr32 {Filename.ocx or .dll} (as described above. See also note 5 below)
Note 4: If regsvr32.exe is not in your Windows\System32 folder, Browse to the Windows\System folder (in Windows 98), or use the Search function in Windows to find the regsvr32.exe file.
Note 5: To register or unregister a file not in the Windows system folder using the Windows Run command, you must enter the full path to the file enclosed by quotation marks after the Regsvr32 or Regsvr32 /u command. For example, to register the Announcement file in CTI Navigator run Regsvr32 " C:\Program Files\Cti Navigator\CtiAnnouncement.dll" . Ensure that you type the correct drive letter and the correct folder (Program Files or Program Files (x86)) in the path.
Security and ActiveX Controls
ActiveX controls are not inherently unsafe when used appropriately by trusted developers (such as Creative Technology, Adobe, and Apple - see examples below). Problems can occur when Internet Explorer is set to allow ActiveX controls to download and activate from any web page (including unknown and non-trusted sites). Some (non-trusted) web pages may contain undesirable or malicious ActiveX controls (such as spyware or adware). To avoid accidentally downloading undesirable ActiveX controls, it is recommended that Internet Explorer be configured to not install ActiveX controls from un-trusted sites.
To enable ActiveX specifically for CTI Navigator (regardless of settings for other websites):
- Open the Windows Control Panel (or in Internet Explorer select Tools)
- Select Internet Options
- Click the Security tab
- Select Trusted Sites
- Click Sites button > un -check "Require server verification (https:)... "
- Click in the "Add this website to the zone" box and type ctimls.com
- Click the Add button
- Click the close button.
See the related article " Configure Security settings in Windows ... " for additional instructions on setting ctimls.com as a Trusted site in Windows.
To restrict running possibly unsafe ActiveX controls in Internet Explorer:
- Open Internet Options (in Windows Control Panel or in Internet Explorer Tools)
- Select the Security tab
- Click the Custom Level button
- Disable "Download unsigned ActiveX controls"
- Disable "Initialize & script ActiveX controls not marked as safe".
As long as the above restrictions are set in Internet Options, the following "Custom Level" Security settings are typically considered safe:
- Enable " Run ActiveX controls and plug-ins"
- Enable "Script ActiveX controls marked safe for scripting"
- Prompt "Download signed ActiveX controls".
Example programs using trusted ActiveX controls: Adobe Reader, Apple QuickTime Player, CTI Navigator, Macromedia Flash Player, Microsoft Windows Media Player, Real Networks RealPlayer, Sun Java Virtual Machine.
▲ Back to the top of this web page
Related articles and Internet links:
- ActiveX Control in Wikipedia Internet encyclopedia
- Configure Security Settings in Windows
- How to Back up and Restore the Registry in Windows (Microsoft instructions)
- How to use the Regsvr32 tool and troubleshoot Regsvr32 error messages (Microsoft instructions)
To return to CTI's menu of Help & Tutorials, click here or use the back arrow at the top of your Internet browser.
To go to CTI's menu of Instructions to Fix Errors, click here.
rev. 12.11.2015
How to Open a Dll File in Windows 10
Source: http://www.ctimls.com/Support/KB/How%20To/Register_dll.htm