Содержание
- Регистрация DLL в 64-битной версии Microsoft Windows Server. Библиотека ComConnector comcntr.dll
- Register 32 bit COM DLL to 64 bit Windows 7
- 10 Answers 10
- How do I register a DLL file on Windows 7 64-bit?
- 15 Answers 15
- Regsvr32: Не удалось загрузить модуль в Windows 11/10
- КАК ЗАРЕГИСТРИРОВАТЬ dll библиотеку в windows

Seeing as this question is tagged «vb.net», I have to wonder why you’re trying to register a DLL you created in VB.NET. To be used with regsvr32 , a DLL must export the functions DllRegisterServer and DllUnregisterServer . There’s no register the vast majority of DLLs that you create at all.
Регистрация DLL в 64-битной версии Microsoft Windows Server. Библиотека ComConnector comcntr.dll
, то необходимо зарегистрировать библиотеку ComConnector comcntr.dll из каталога программки.
В 32-битной версии сервера неувязка отважилась бы командой
regsvr32 «C:\Program Files (x86)\1cv8\8.3 Мая 1119\bin\comcntr.dll»
но в 64-битной версии команда будет приблизительно таковой * :
C:\Windows\SysWOW64\regsvr32 «C:\Program Files (x86)\1cv8\8.3 Мая 1119\bin\comcntr.dll»
Потом перезайдите в 1С Предприятие и попытайтесь установить COM-соединение опять.
* если команда регистрации не посодействовала, то необходимо за ранее удалить регистрацию библиотеки comcntr.dll, запустив ту же команду вызова regsvr32 с ключом /u
** если и это не посодействовало, попытайтесь переустановить платформу 1С в режиме Поправить, а потом зарегте библиотеку, как написано выше
Запись размещена в рубрике Настройка, Регламенты с метками com-соединение. Добавьте в закладки постоянную ссылку.
14 комментариев на «Регистрация DLL в 64-битной версии Microsoft Windows Server. Библиотека ComConnector comcntr.dll»
Комментатор гласит:
Ошибка при вызове способа контекста (Connect): Произошла исключительная ситуация (V83.COMConnector.1): Версия составляющие ‘comcntr’ (8.3 Июля 1873) отличается от версии корневого модуля ‘core83’ (8.3 Сентября 1850)
Комментатор гласит:
В поставке 1С 8.3 есть ярлычек «Регистрация утилиты администрирования серверов x86-64», который ведёт к файлу RegMSC.cmd .
Берём этот файл и меняем в нём строчку radmin.dll на comcntr.dll.
Дальше запускаем его от имени админа. Всё.
Олег гласит:
вправду работает, круто, много времени сберег мне, спасибо
Ирке гласит:
потрясающий метод, так всегда делать буду сейчас:))) Спасибо!
Александр гласит:
вот это ты сверхразум. реально очень сберегает время и упрощает задачку!! Спасибо, что поделился способом, совершенно точно лайк.
4. Вручную выполнить регистрацию составляющие C:\Program Files (x86)\1cv8\8.3.14.1343\bin\comcntr.dll
• Заходим в Панель управления — Администрирование — Службы компонент.
• Перебегаем к ветке Компы — Мой компьютер — Приложения COM+.
• В контекстном меню избираем Сделать — Приложение. Раскроется Мастер установки приложений COM+.
• Жмем «Далее».
• Избираем «Создать новое приложение».
• Вводим имя «V83COMConnector». Устанавливаем переключатель «Серверное приложение». Жмем «Далее».
• На последующем шаге устанавливаем «Текущий пользователь». Жмем «Далее».
• Жмем «Готово».
• В показавшейся ветке V83COMConnector перебегаем к подветке Составляющие.
• В контекстном меню избираем Сделать — Компонент. Раскроется Мастер установки компонент COM+.
• Жмем «Далее».
• Избираем «Установка новых компонентов».
• Избираем файл \bin\comcntr.dll.
• Жмем «Далее» — «Готово».
• Перебегаем к ветке V83COMConnector.
• В контекстном меню избираем «Свойства». В открывшемся окне перебегаем на вкладку «Безопасность».
• Снимаем галку «Принудительная проверка доступа для приложений». Ставим галку «Применить политику программных ограничений». Устанавливаем Уровень ограничений — «Неограниченный».
• Жмем «ОК».
Евгений гласит:
«»но в 64-битной версии команда будет приблизительно таковой * :
C:\Windows\SysWOW64\regsvr32 «C:\Program Files (x86)\1cv8\8.3 Мая 1119\bin\comcntr.dll»»» Быстрее вот так, 64 bit лежит C:\Program Files\: C:\Windows\SysWOW64\regsvr32 «C:\Program Files\1cv8\8.3.XX.XXXX\bin\comcntr.dll»
Register 32 bit COM DLL to 64 bit Windows 7
I have a 32 bit COM component DLL and this DLL is written in Delphi. It’s a Win32 DLL. I want to use this DLL in my Visual C# project on .NET platform. I can’t add reference to this DLL in the project. I try to register it in Command Prompt as Administrator in Windows 7 64 bit, but I get this error:
Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of regsvr32.exe.
First I put DLL file to windows/system32 folder. Then I open Command Prompt as Administrator. I write regsvr32 huginalpha.dll and execute this command. But I get the error. what can I do?
25.8k 27 27 gold badges 120 120 silver badges 179 179 bronze badges
asked Aug 9, 2010 at 12:11
803 4 4 gold badges 15 15 silver badges 27 27 bronze badges
see this post about the 0x8007000B Error stackoverflow.com/questions/18007967/…
Apr 1, 2016 at 10:29
10 Answers 10
The problem is likely you try to register a 32-bit library with 64-bit version of regsvr32. See this KB article — you need to run regsvr32 from windows\SysWOW64 for 32-bit libraries.
answered Aug 9, 2010 at 13:24
sharptooth sharptooth
166k 99 99 gold badges 508 508 silver badges 966 966 bronze badges
+1, indeed. And that DLL should not be stored in c:\windows\system32 either, that’s for 64-bit components.
Aug 9, 2010 at 14:45
Right, so the file called 32 is actually 64 bit, and the 32-bit version is in a directory called WOW64.
Mar 25, 2017 at 21:34
Sounds like more recent versions of regsvr32 may deal with this better: stackoverflow.com/questions/18935163/…
Jan 15, 2020 at 13:12
That’s curious. It’s unclear how a 64-bit version of regsvr32 would identify that the .dll is 32-bit.
Jan 17, 2020 at 13:42
Thanks a lot for your answer ! Was struggling so much with a way to register correct a 64 bit .dll file and was using the wrong command C:\Windows\SysWOW64\regsvr32.exe .\my.dll instead of using C:\Windows\System32\regsvr32.exe .\my.dll .
How do I register a DLL file on Windows 7 64-bit?
Seeing as this question is tagged «vb.net», I have to wonder why you’re trying to register a DLL you created in VB.NET. To be used with regsvr32 , a DLL must export the functions DllRegisterServer and DllUnregisterServer . There’s no register the vast majority of DLLs that you create at all.
Feb 3, 2011 at 11:41
What do you mean by doesn’t work or isn’t useful? Do you get an error message? What does it say?

Feb 4, 2011 at 12:08
15 Answers 15
Well, you don’t specify if it’s a 32 or 64 bit dll and you don’t include the error message, but I’ll guess that it’s the same issue as described in this KB article: Error Message When You Run Regsvr32.exe on 64-Bit Windows
Quote from that article:
This behavior occurs because the Regsvr32.exe file in the System32 folder is a 64-bit version. When you run Regsvr32 to register a DLL, you are using the 64-bit version by default.
Solution from that article:
To resolve this issue, run Regsvr32.exe from the %SystemRoot%\Syswow64 folder. For example, type the following commands to register the DLL: cd \windows\syswow64 regsvr32 c:\filename.dll
26.9k 27 27 gold badges 122 122 silver badges 185 185 bronze badges
answered Feb 3, 2011 at 11:39
Hans Olsson Hans Olsson
53.9k 15 15 gold badges 92 92 silver badges 114 114 bronze badges
Why is this not the selected answer?
Apr 10, 2014 at 19:40
This really should be the correct answer. I can understand that in his original post the syntax was incorrect but Rajkumar commented that he was receiving an error message even when using the correct syntax. This takes two steps to the correct answer for someone searching instead of one. First to the answer selected as correct, then following the comment chain, ending up on this post.
Aug 21, 2014 at 15:28
If the DLL is 32 bit:
Copy the DLL to C:\Windows\SysWoW64\
In an elevated command prompt: %windir%\SysWoW64\regsvr32.exe %windir%\SysWoW64\namedll.dll
if the DLL is 64 bit:
Copy the DLL to C:\Windows\System32\
In an elevated command prompt: %windir%\System32\regsvr32.exe %windir%\System32\namedll.dll
I know it seems the wrong way round, but that’s the way it works. See:
http://support.microsoft.com/kb/249873
Quote: «Note On a 64-bit version of a Windows operating system, there are two versions of the Regsv32.exe file:
The 64-bit version is %systemroot%\System32\regsvr32.exe.
The 32-bit version is %systemroot%\SysWoW64\regsvr32.exe.
«
answered Nov 15, 2012 at 11:19
1,428 1 1 gold badge 10 10 silver badges 14 14 bronze badges
+1 for «I know it seems the wrong way round, but that’s the way it works» with link to support.microsoft.com. w/o the link it’s hard to believe.
Mar 6, 2013 at 22:06
«In elevated cmd» is very important!!
Jan 13, 2014 at 16:53
Type regsvr32 name.dll into the Command Prompt (executed in elevated mode!) and press «Enter.» Note that name.dll should be replaced with the name of the DLL that you want to register. For example, if you want to register the iexplore.dll, type regsvr32 iexplore.dll .
14.7k 38 38 gold badges 145 145 silver badges 244 244 bronze badges
answered Feb 4, 2011 at 12:01
Harold Sota Harold Sota
7,440 12 12 gold badges 57 57 silver badges 84 84 bronze badges
regsvr32 path of the .dll file with filename and extension and press enter
Feb 10, 2015 at 10:34
On a x64 system, system32 is for 64 bit and syswow64 is for 32 bit (not the other way around as stated in another answer). WOW (Windows on Windows) is the 32 bit subsystem that runs under the 64 bit subsystem).
It’s a mess in naming terms, and serves only to confuse, but that’s the way it is.
syswow64 is 32 bit, NOT 64 bit.
Regsvr32: Не удалось загрузить модуль в Windows 11/10
system32 is 64 bit, NOT 32 bit.
There is a regsrv32 in each of these directories. One is 64 bit, and the other is 32 bit. It is the same deal with odbcad32 and et al. (If you want to see 32-bit ODBC drivers which won’t show up with the default odbcad32 in system32 which is 64-bit.)
31k 21 21 gold badges 105 105 silver badges 126 126 bronze badges
answered Oct 26, 2012 at 13:11
301 3 3 silver badges 2 2 bronze badges
Why does it matter? regsvr32 will take care about the details, theoretically it will detect whether you are registering a 32 bit or 64 bit DLL: stackoverflow.com/questions/18935163/…
Jan 5, 2016 at 21:57
Open the start menu and type cmd into the search box Hold Ctrl + Shift and press Enter
This runs the Command Prompt in Administrator mode.
Now type: regsvr32 MyComobject.dll
26.5k 22 22 gold badges 72 72 silver badges 82 82 bronze badges
answered Oct 31, 2012 at 9:35

Sushant Rath Sushant Rath
81 1 1 silver badge 1 1 bronze badge
If the DLL is 32 bit:
КАК ЗАРЕГИСТРИРОВАТЬ dll библиотеку в windows
- Copy the DLL to C:\Windows\SysWoW64\
- In elevated cmd: %windir%\SysWoW64\regsvr32.exe %windir%\SysWoW64\namedll.dll
if the DLL is 64 bit:
- Copy the DLL to C:\Windows\System32\
- In elevated cmd: %windir%\System32\regsvr32.exe %windir%\System32\namedll.dll
25.3k 9 9 gold badges 51 51 silver badges 65 65 bronze badges
answered Jun 7, 2012 at 10:30
241 2 2 silver badges 6 6 bronze badges
Finally I found the solution just run CMD as administrator then write
cd \windows\syswow64
then write this
regsvr32 c:\filename.dll
I hope that answer will help you
50.2k 33 33 gold badges 88 88 silver badges 96 96 bronze badges
answered Aug 14, 2012 at 16:49
Hayder Chebaane Hayder Chebaane
61 1 1 silver badge 1 1 bronze badge
If you have already copied the filename.dll to the syswow64 folder, and you change working directory to syswow64 in command prompt, then the «c:\» in «regsvr32 c:\filename.dll» is not necessary. In short, «regsvr32 c:\filename.dll» should read «regsvr32 filename.dll»
Jan 19, 2013 at 22:51
Everything here was failing as wrong path. Then I remembered a trick from the old Win95 days. Open the program folder where the .dll resides, open C:/Windows/System32 scroll down to regsvr32 and drag and drop the dll from the program folder onto rgsrver32. Boom,done.
answered Feb 4, 2014 at 13:31
61 1 1 silver badge 1 1 bronze badge
this works but could be problematic if you need to run this as an admin.
May 30, 2014 at 20:29
And while doing this, if you get error code 0x80040201, try the solution in DllRegisterServer failed with the error code 0x80040201, but make sure, you open command prompt as Run as Administrator.
31k 21 21 gold badges 105 105 silver badges 126 126 bronze badges
answered Oct 22, 2013 at 20:57
SHAKIR SHABBIR SHAKIR SHABBIR
1,285 1 1 gold badge 14 14 silver badges 24 24 bronze badges
Knowing the error message would be rather valuable. It is meant to provide info, even though it doesn’t make any sense to you it does to us. Being forced to guess, I’d say that the DLL is a 32-bit DirectX filter. In which case this should be the proper course of action:
cd c:\windows\syswow64 move ..\system32\dllname.ax . regsvr32.exe dllname.ax
This must be run at an elevated command prompt so that UAC cannot stop the registry access that’s required. Ask more questions about this at superuser.com
answered Feb 4, 2011 at 13:51
Hans Passant Hans Passant
915k 145 145 gold badges 1674 1674 silver badges 2515 2515 bronze badges
I just tested this extremely simple method and it works perfectly—but I use the built-in Administrator account, so I don’t have to jump through hoops for elevated privileges.
The following batch file relieves the user of the need to move files in/out of system folders. It also leaves it up to Windows to apply the proper version of Regsvr32 .
INSTRUCTIONS:
-
In the folder that contains the library ( -.dll or -.ax ) file you wish to register, open a new text file and paste in ONE of the routines below :
echo BEGIN DRAG-AND-DROP %n1 REGISTRAR FOR 64-BIT SYSTEMS copy %1 C:\Windows\System32 regsvr32 "%nx1" echo END BATCH FILE pause
echo BEGIN DRAG-AND-DROP %n1 REGISTRAR FOR 32-BIT SYSTEMS copy %1 C:\Windows\SysWOW64 regsvr32 "%nx1" echo END BATCH FILE pause
- Right-click on the batch file;
- Select Create shortcut ;
- Right-click on the shortcut;
- Select Properties ;
- Click the Compatibility tab;
- Check the box labeled Run this program as administrator ;
- Drag-and-drop your -.dll or -.ax file on top of the new shortcut instead of the batch file.
That’s it. I chose COPY instead of MOVE to prevent the failure of any UAC-related follow-up attempt(s). Successful registration should be followed by deletion of the original library ( -.dll or -.ax ) file.
Don’t worry about copies мейд to the system folder ( C:\Windows\System32 or C:\Windows\SysWOW64 ) by previous passes—they will be overwritten every time you run the batch file.
Unless you ran the wrong batch file, in which case you will probably want to delete the copy мейд to the wrong system folder ( C:\Windows\System32 or C:\Windows\SysWOW64 ) before running the proper batch file, . or.
- Help Windows choose the right library file to register by fully-qualifying its directory location.
- From the right batch file copy the system folder path
- If 64-bit: C:\Windows\System32
- If 32-bit: C:\Windows\SysWOW64
- If 64-bit: regsvr32 «C:\Windows\System32\%nx1»
- If 32-bit: regsvr32 «C:\Windows\SysWOW64\%nx1»
- Paste path inside quotation marks
- Insert backslash to separate %nx1 from system folder path
- Perform cleanup of aborted registration processes
- Reverse any registration process completed by your library file;
- Delete any copies of your library file that have been saved to either system folder;
- Pause to allow you to terminate the batch file at this point (and run another if you would like).
- Attempt 64-Bit Installation on your library file
- Copy your library file to C:\Windows\System32 ;
- Register your library file as a 64-bit process;
- Pause to allow you to terminate the batch file at this point.
- Undo 64-Bit Installation
- Reverse any registration of your library file as a 64-bit process;
- Delete your library file from C:\Windows\System32 ;
- Pause to allow you to terminate the batch file at this point (and run another if you would like).
- Attempt 32-Bit Installation on your library file
- Copy your library file to C:\Windows\SystemWOW64
- Register your library file as a 32-bit process;
- Pause to allow you to terminate the batch file at this point.
- Delete original, unregistered copy of library file
Похожие статьи
-
Regsvr32 скачать для windows 7
Содержание Загрузка и исправление Regsvr32.exe.mui Обзор файла Что такое сообщения об ошибках regsvr32.exe.mui? Ошибки библиотеки динамической компоновки…
-
Regsvr32 регистрация dll для win 7
Содержание Как зарегистрировать DLL: три способа Первый способ регистрации DLL Второй способ регистрации DLL Третий способ регистрации DLL Регистрация…
-
Содержание Как зарегистрировать библиотеку DLL в Windows Почему возникает ошибка при обращении к DLL Как зарегистрировать DLL в Windows Регистрация DLL с…