WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

OLE COM ADO CDO ADSI LDAP
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Install CAPICOM on Win7

 Keywords:  Install CAPICOM Windows 7 Win7 Server 2003 SP2 

Question:

In order to use:
ObjectCreate("CAPICOM.Certificate") and CreateObject( "CAPICOM.Store.2" )
we need to install the CAPICOM.I did some research on the web and got some articles such as: http://social.technet.microsoft.com/Forums/windows/en-US/b977ef42-7b65-439e-a95b-5d4d204501fd/installing-capicomdll-on-windows-7

I have tried several download but still failed to create the CAPICOM.Certificate.

I have windows 7 and Server 2003 SP2.

What can I do to be able to run : http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WIL~Extenders/ADSI+COM~-~Active~Directory~Published~Certificates~Info~.txt and http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/OLE~COM~ADO~CDO~ADSI~LDAP/Samples~from~Users+Enumerate~Certificates.txt

Answer:

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

CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, Windows XP.

If you insist on using CAPICOM on Windows 7, you might try these steps...

  1. Log in as Administrator.
  2. Download and install the CAPICOM.dll: Microsoft Platform SDK Redistributable: CAPICOM (http://www.microsoft.com/en-us/download/details.aspx?id=25281)
  3. Because the dll is 32-bit, copy the dll from C:\Program Files (x86)\Microsoft CAPICOM 2.1.0.2 SDK\Lib\X86\capicom.dll to the folder C:\Windows\SysWOW64\capicom.dll .
  4. Start CMD, via right click, by choosing Run as Administrator. Answer a UAC prompt. Your command window will have the necessary administrator permissions to do privileged operation of registering a DLL.
  5. Register the dll using this Command:
    %windir%\syswow64\regsvr32.exe %windir%\syswow64\capicom.dll
Alternatively you might consider using

User Reply:

With your detailed instruction I was able to implement CAPICOM on my Win7, I still have some programs using CAPICOM that you have showed me how to do few years ago, they are very valuable.
Article ID:   W18020
Filename:   Install CAPICOM on Win7.txt
File Created: 2014:07:18:09:51:38
Last Updated: 2014:07:18:09:51:38