none
Installing capicom.dll on Windows 7

    Question

  • When I download and install capicom.dll on Windows 7, the final step of installation is to get in the capicom.dll directory and run:

    regsvr32 capicom.dll

    I get this error message:

    "The module capicom.dll was loaded but the call to DllRegisterServer failed with error code 0x80070005. For more information about this problem, search online using the error code as a search term."

    When I search online, it says this error code occurs when the user does not have Administrator privileges when running regsvr32.exe. However, I have only one login to my Windows 7 box, and Control Panel confirms that is is an Administrator account.

    CAPICOM.DLL was deprecated from the SDK but supposedly can be downloaded and installed on Windows 7. I need to access an old government system that requires it.

    Has anyone successfully installed capicom.dll on a Windows 7 box? Any ideas about the error?

    Thanks in advance.
    Friday, January 22, 2010 5:42 PM

Answers

All replies

  • Was there a reason you needed a different verison on your system? I have version 2.1.0.2 already on my Windows 7 machine and generally Office software installs it. Its in my windows/system32 folder.  date modified 12/10/2008 which is when I think I installed Office 2003 which would have been right after I installed Windows 7 Enterprise on this laptop.


    Was there some program you installed prior to trying to install capicom.dll? Have you tried accessing the govt system. I too work for the government and didn't have to do anything special.

    MCSE, MCSA, MCDST [If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.]
    Friday, January 22, 2010 6:11 PM
  • I was following instructions that said nothing about the possibility that capicom.dll would already be installed on Windows 7. In fact, I searched and found it in two places (not the place you listed), so I will assume that it is installed and working.

    I suppose that the regsvr32.exe error code was due to the fact that capicom.dll was already installed?  It would be unfortunate to have an error code mean widely different things.

    Is there any way to find out if a DLL is registered already?

    Thanks for your help.
    Saturday, January 23, 2010 7:45 PM
  • To answer your original question, you would want to start CMD by choosing Run as Administrator (right click to access this feature).  You'll have to answer a UAC prompt, but then your command window will have the necessary administrator permissions to do privileged operations such as registering a DLL.

    For what it's worth, there is no capicom.dll in my Windows 7 x64 installation, though I found a copy in my 32 bit Windows 7 virtual machine here:

    C:\Windows\system32>dir c:\capicom.dll /s
     Volume in drive C has no label.
     Volume Serial Number is 1860-6ACE

     Directory of c:\Program Files\Common Files\microsoft shared\CAPICOM

    06/06/2009  02:47 PM           511,328 CapiCom.dll

    By the way "capicom" stands for Cryptography Application Programming Interface, Common Object Model.

    Some interesting info here:  http://blogs.msdn.com/karinm/archive/2009/01/19/capicom-dll-removed-from-windows-sdk-for-windows-7.aspx

    -Noel

    • Proposed as answer by Noel Carboni Saturday, January 23, 2010 10:54 PM
    Saturday, January 23, 2010 10:54 PM
  • Why you would like to register CAPICOM.DLL? Please just install the following package.

    Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 

    Did you try to download Platform SDK Redistributable: CAPICOM? It is not compatible with Windows 7.


    Arthur Xie - MSFT
    Tuesday, January 26, 2010 3:28 AM
  • Why you would like to register CAPICOM.DLL? Please just install the following package.

    Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1

    Did you try to download Platform SDK Redistributable: CAPICOM ? It is not compatible with Windows 7.


    Arthur Xie - MSFT

    We use capicom in VBScript to access local certificate store and certificate store on AD.
    Is there a way that we can use classes from .Net Framework 3.5 do the same thing?

    Is there a way that make capicom support win7 64bit?
    Tuesday, February 02, 2010 2:51 PM
  • Why you would like to register CAPICOM.DLL? Please just install the following package.

    Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1

    Did you try to download Platform SDK Redistributable: CAPICOM ? It is not compatible with Windows 7.


    Arthur Xie - MSFT

    We use capicom in VBScript to access local certificate store and certificate store on AD.
    Is there a way that we can use classes from .Net Framework 3.5 do the same thing?

    Is there a way that make capicom support win7 64bit?


    Hi,

    Since it is a software development related question, please discuss in our MSDN forum.

    .NET Framework Developer Center


    Arthur Xie - MSFT
    Wednesday, February 03, 2010 6:48 AM
  • Hi,

     

    I installed

    Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1

    and no CAPICOM.dll has been installed and worse I`m having the same message ...

     

     

    Friday, February 18, 2011 11:57 AM
  • This is what you need to do, as capicom.dll is essentially depricated.

    • Download the capicom SDK here - http://www.microsoft.com/downloads/en/details.aspx?FamilyId=860EE43A-A843-462F-ABB5-FF88EA5896F6&displaylang=en
    • Then extract the MSI - using command line use the following command to unpackage the msi -

      msiexec /a PathToMSIFile /qb TARGETDIR=DirectoryToExtractTo
    • Then find the capicom.dll file and use the regsvr32 to register it in Windows 7. You'll have to use elevated privelages to register the dll. So probably easiest to open the command prompt as Administrator(right click on CMD and say "Open as administrator") then register the dll with the following command:

      C:\Windows\System32\regsvr32.exe Pathtofile\capicom.dll

    Thats it!

    • Proposed as answer by navin_l Wednesday, March 28, 2012 3:44 PM
    Monday, March 07, 2011 7:25 AM
  • Step1: Download the capicom.dll

    Step2: Copy the dll to the folder C:\Windows\System32.

    Step3: Register the dll with regsvr32.exe X64 version.

    %windir%\syswow64\regsvr32.exe /s %windir%\syswow64\capicom.dll

    Pls try again, waiting for your good news.

    • Proposed as answer by sbnatiker Tuesday, May 08, 2012 12:36 PM
    Friday, March 18, 2011 6:37 AM
  • I can install capicom.dll!!

    THANX

    Tuesday, April 12, 2011 4:36 AM
  • ya...some of them installed but i don't know why im getting error code

    Tuesday, May 08, 2012 12:28 PM
  • Worked for me on Windows 7 64-bit to fix problem with old 32-bit Eudora v7.1 and its S/MIME plug-in. Thank you so

    >C:\Apps\Microsoft\CapicomSDK\Lib\X86>c:\Windows\system32\regsvr32.exe c:\Apps\Microsoft\CapicomSDK\Lib\x86\capicom.dll

    Sunday, December 02, 2012 2:09 AM
  • Thanks thanks a lot.. i have tried many times but it was throwing an error.

    It has to be run as administrator.

    Thanks Noel. :)

    Wednesday, May 29, 2013 6:49 AM
  • Yes., It was an update that installed on this machine.

    Now it has a problem whe the PC Boots up. Looks like its finishing an update, boots about 3 or 4 times and those boot up are actually a finish of an Update, but crashes everytime and never finishes/.\

    I ran a log file with the Filter of (ERROR) only and it doesn't seem to be Capicon. but it is listed as an error./

    Monday, November 04, 2013 5:56 PM