Ошибка 372 failed to load control commondialog from comdlg32 ocx

Обновлено: 25.06.2024

I've had the error: "Component 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid. Here are some things I've tried that have not worked:

A. Using a Windows 10 ISO on an Installation Disc

B. An in-place upgrade/repair using the Media Creation Tool

C. Unregistering the files in command prompt

D. Other commands such as dism /online /cleanup-image /restorehealth, sfc /scannow, Get-AppXPackage -AllUsers |Where-Object | Foreach

What I'd be interested in is a safe way to replace my entire System32 folder to restore it to defaults (which none of these methods have done, it appears), but I'm open to other fixes.

Also, I'd really appreciate it if you could keep checking this post for replies to help me after your initial post (I've had to make 5 different posts prior to this one because none of the support engineers would reply to my posts when I needed further assistance).

Thanks in advance.

This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.

Report abuse

Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.

Thank you for posting your query in Microsoft Community.

Regrets the inconvenience you have experienced. Let me help you in this regard.

Try the below mentioned steps and check if they helps.

Method 1:

Execute the below command line using Elevated Command.

Press CTRL+Shift+ESC to open Task Manager.

Click File > Run New Task

Make sure you have a check mark beside “Create this task with administrative privileges”

Type CMD and hit Enter key

Type or copy/paste the following commands at the CMD prompt:

regsvr32 /u Comdlg32.ocx
regsvr32 /i Comdlg32.ocx

On executing the above command it should shoot the message as DllRegisterServer in comdlg32.ocx succeeded.

Method 2:

Let's perform a clean boot in Windows and check in case any application causing the issue.

A clean boot is performed to start Windows by using a minimal set of drivers and startup programs. This helps eliminate software conflicts that occur when you install a program or an update or when you run a program. Follow the below mentioned steps to perform Clean Boot:

a. Press Windows Key , t ype msconfig in the search box, and hit Enter.

b. On the Services tab of the System Configuration dialog box, tap or click to select the Hide all Microsoft services check box, and then tap or click Disable all .

c. On the Startup tab of the System Configuration dialog box, tap or click Open Task Manager .

d. On the Startup tab in Task Manager, for each startup item, select the item and then click Disable .

e. Close Task Manager.

f. On the Startup tab of the System Configuration dialog box, tap or click OK , and then restart the computer.

If a service is causing issue, I suggest you turn on 5 services at a time, reboot and then see if the problem reappears, keep repeating this until you find a group of 5 services, which are causing this issue, then check the one by one, till you find the one which is causing your issue. Perform the same divide and apply for Startup's too.

Note: After you finish troubleshooting, refer "How to reset the computer to start normally after clean boot

troubleshooting" from the same article.

Method 3:

Add another Microsoft account by following the steps mentioned below to the if problem still occurs.

* Click Start,

* Navigate to Settings/>Accounts/>Your Account/> Family & other users.

* On the right pane click Add someone else to this PC under Other users.

* If you have another Microsoft account try to use that or else follow the steps to sign-up for new and switch with new Microsoft account.

* Sign-out from the old and Login with new Microsoft account.

Once you're sign-in with new User Profile, then try upgrading your PC using that User Profile.

Moreover, ensure that your system is up to date with Windows Updates. Go to Start Button/>Settings/>Update & Security/> Windows Update and check for any available updates. Also suggest you to check and install all latest and compatible windows 10 drivers from Manufacture's website for your device. Most probably it will fix all issues.

Keep us posted if your require further assistance with windows, we're glad to assist you.

MyProgramms_If_Not_Work.zip (197,1 KiB, 26 107 скачиваний)

Далее необходимо компонент зарегистрировать:

Для владельцев Widows младше Vista:

    Файл COMDLG32.OCX копируем в папку:

Win XP - C:\Windows\System32

95/98/Me - C:\Windows\System

Win NT/2000 - C:\WINNT\System32

Для счастливых обладателей Windows7 и Windows Vista:
Для версии 32-Бита

  1. Файл COMDLG32.OCX копируем в папку C:\Windows\System32
  2. Далее. Заходите в папку WINDOWS\System32 находитеcmd.exe. Правый клик мыши на нем - Запуск от имени администратора. В черном окне написать(путь C:\WINDOWS\System32 будет уже прописан там - не надо пытаться удалить)regsvr32 COMDLG32.OCX. Затем нажать Enter.

Для версии 64-Бита

  1. Файл COMDLG32.OCX копируем в папку C:\Windows\SysWOW64
  2. Заходите в папку WINDOWS\SysWOW64 находите cmd.exe. Правый клик мыши на нем - Запуск от имени администратора. В черном окне написать:
    C:\windows\syswow64\Regsvr32 COMDLG32.OCX. Затем нажать Enter. При невозможности написания данной команды выполнить данный пункт так же, как и для версии 32-Бита(файл в папку WINDOWS\System32, в cmd.exe - regsvr32 COMDLG32.OCX

Возможно, после всех этих действий для работоспособности программы потребуется перезагрузить компьютер.

При необходимости повторить эти действия с файлом comdlg32.dll

MyProgramms_If_Not_Work.zip (197,1 KiB, 26 107 скачиваний)

Далее необходимо компонент зарегистрировать:

Для владельцев Widows младше Vista:

    Файл COMDLG32.OCX копируем в папку:

Win XP - C:\Windows\System32

95/98/Me - C:\Windows\System

Win NT/2000 - C:\WINNT\System32

Для счастливых обладателей Windows7 и Windows Vista:
Для версии 32-Бита

  1. Файл COMDLG32.OCX копируем в папку C:\Windows\System32
  2. Далее. Заходите в папку WINDOWS\System32 находитеcmd.exe. Правый клик мыши на нем - Запуск от имени администратора. В черном окне написать(путь C:\WINDOWS\System32 будет уже прописан там - не надо пытаться удалить)regsvr32 COMDLG32.OCX. Затем нажать Enter.

Для версии 64-Бита

  1. Файл COMDLG32.OCX копируем в папку C:\Windows\SysWOW64
  2. Заходите в папку WINDOWS\SysWOW64 находите cmd.exe. Правый клик мыши на нем - Запуск от имени администратора. В черном окне написать:
    C:\windows\syswow64\Regsvr32 COMDLG32.OCX. Затем нажать Enter. При невозможности написания данной команды выполнить данный пункт так же, как и для версии 32-Бита(файл в папку WINDOWS\System32, в cmd.exe - regsvr32 COMDLG32.OCX

Возможно, после всех этих действий для работоспособности программы потребуется перезагрузить компьютер.

При необходимости повторить эти действия с файлом comdlg32.dll

Статья помогла? Сделай твит, поделись ссылкой с друзьями!

А если дело происходит на виртуальной машине, которая крутится на x64 хосте? Какие особенности? Ибо не ставится по инструкции :(

Не понял, что Вы вообще имеете ввиду. Что такое х64 хост? И что за виртуальная машина? И почему про их особенности Вы спрашиваете нас, если все это у Вас? :-)

Спасибо Вам огромное, я все загрузила, прописывала COMDLG32.OCX в C:\Windows\System32 и в C:\Windows\syswow64, все заработало. После того, как все прописала, все заработало. Обязательно перезагружать компьютер. Низкий Вам поклон! Очень надо было! Кстати, у меня Windows XP.
Вы даже не представляете сколько я мучалась, но в один вечер села, излазила весь интернет, наткнулась на умных опытных людей и все получилось, конечно очень помог муж с его золотой головой. Люблю тебя мой дорогой!

Куда копировали файл? Как запускали?(от имени администратора из WINDOWS\System32?

1. What program are you trying to install?
2. Have you logged in to the computer as an administrator?

Step 1:

Try to re-register the comdlg32.ocx file and check if you are able to install the program.

a. Click on Start>run.
b. Type cmd.exe in the search box.
c. At the Command Prompt, type the below command:
regsvr32 comdlg32.ocx
d. Try to install the program.

Step 2:

If the issue still persists, try installing the program as an administrator and check if you come across the error.

a. Right click on the program you want to install.
b. Select ‘Run as administrator’.
c. Check if you come across the error.

Читайте также: