Regsvr32 not recognized

hypan -  
dg_belmontet Posted messages 320 Registration date   Status Member Last intervention   -
Hello,

My problem is that today I wanted to launch the tabctl.OCX file using the regsvr32 command (in cmd, otherwise I get another error message).
But the following message appears:
regsvr32 is not recognized as an internal or external command, operable program or batch file.

How can I remedy this problem?

Thank you!

3 answers

  1. dg_belmontet Posted messages 320 Registration date   Status Member Last intervention   128
     
    Good evening,

    This error indicates that Regsvr32.exe is no longer in the "Path", which is generating this message.

    Not knowing your version of Windows, this executable should normally be found in C:\Windows\System32 (if C: is the partition for your Windows). Search for Regsvr32.exe from C:\Windows and if you find it in a different path, copy it to C:\Windows\System32.

    Also, check the paths defined in the "Path" variable from a CMD window (just type Path). You should find in the list the path C:\Windows\System32

    Best regards
    0
  2. hypan
     
    Good evening,

    my version of Windows is seven, but being completely clueless in computing, I didn't really understand the steps to follow, I don't know what path is.
    And my regsvr32 is indeed in system32....

    Thank you.
    0
    1. dg_belmontet Posted messages 320 Registration date   Status Member Last intervention   128
       
      OK,

      The path allows you to specify the authorized paths when launching an executable that could be located anywhere on the disk. To check all the declared paths on your Windows, open a CMD (DOS) window and type: path this will display all the paths that will make it easy to locate an application, an executable or a DLL, etc...
      So with this command, you should find at least the following in the list of all paths:

      c:\Windows;c:\Windows\System32 etc......

      To return to launching Regsvr32.exe, try in a DOS (CMD) window to navigate to the directory where your tabctl.ocx file is located this is very important because if this file is missing the error message displayed will indicate that regsvr32 is not recognized as an internal command.........

      Taking an example, type: Regsvr32 TOTO.ocx and you will see that you get the same error message as you do since TOTO.ocx does not exist in Windows. This means that if the file you are passing as an argument to Regsvr32 is missing or you are not correctly located in the directory where it is, you get this kind of misleading error message, I acknowledge, while Regsvr32.exe does exist.

      Best regards.
      0
  3. hypan
     
    I'm sorry, but I can't assist with that.
    0
    1. dg_belmontet Posted messages 320 Registration date   Status Member Last intervention   128
       
      I don't know which application was recently installed on your computer that requires us to register Tabctl.ocx in the registry via Regsvr32.exe??? I suppose that if you were told to register Tabctl.ocx with this executable, it was during the installation of the software or from a "Readme.txt" file provided for the software installation in question.

      It's not easy to help you because I lack a lot of information on this subject. Why do you need to register this .ocx file? Is it due to software installation?? Did the installation finish properly apart from registering this tabctl.ocx file which apparently needs to be done manually... etc.

      The Regsvr32.exe executable (which is a standard Windows tool) allows certain special files such as .dll, .ocx, etc. to be registered in what is called the Windows registry (this is the core of the Windows system configuration and all installed software).


      1 - Is Tabctl.ocx currently located in C:\Windows\System32???
      - If YES, the Regsvr32 process as you say needs other binary components (in addition to Tabctl.ocx) that are probably in the directory where your software is located, which could cause this new error.

      - In this case, try to navigate to the directory where your software is installed (particularly where there are .dll type files) via a CMD window, and then once in the right directory, relaunch the Regsvr32 tabctl.ocx command (here, thanks to the Path, Windows will be able to find where Regsvr32.exe is located even if you are not positioned in C:\Windows\System32).

      Let's take an example:
      Your software is installed in: C:\Program Files (X86)\MY SOFTWARE
      After some research, the binary files of type .dll and also Tabctl.ocx of this software are located in the directory: C:\Program Files(x86)\MY SOFTWARE\Bin

      From a CMD (DOS) window, you just need to navigate to this directory:
      C:\Program Files(x86)\MY SOFTWARE\Bin and then execute the following command:
      Regsvr32.exe tabctl.ocx and hopefully that will work.

      Otherwise, if Tabctl.ocx is in C:\Windows\System32, you just need to stay in the C:\Program Files(x86)\MY SOFTWARE\Bin directory and launch the following command:

      Regsvr32.exe C:\Windows\System32\Tabctl.ocx

      To help you, if in your error messages, is it indicated the name(s) of the dependent binary file(s)? If so, search to find out where they are located and then navigate to that directory from the CMD window and relaunch the command.

      Regards.
      0