An unexpected error occurred during installation

I am trying to perform a brand new installation of DPM 2012 SP1 onto a new server (which will become our secondary DPM server) but I am running into problems with the installation.  The first time I ran it, the setup had problems setting the values on a number of registry keys - I didn't get the exact error at the time and just decided to abort the install.
  • Remove From My Forums
  • Question

  • I am trying to perform a brand new installation of DPM 2012 SP1 onto a new server (which will become our secondary DPM server) but I am running into problems with the installation.  The first time I ran it, the setup had problems setting the values
    on a number of registry keys — I didn’t get the exact error at the time and just decided to abort the install.

    Thinking it would be a good idea to fully patch the server, I’ve tried to run the install again and now can’t even start it, getting the error «A unexpected error occurred during the insatllation».

    Looking in the DPM setup log I can see the following:

    Information : Check attributes of the directory
    [31/01/2013 19:45:04] Data : Folder Path = C:Program FilesMicrosoft System Center 2012DPMDPMDPMDB
    [31/01/2013 19:45:04] * Exception : Ignoring the following exception intentionally => System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:Program FilesMicrosoft System Center 2012DPMDPMDPMDB’.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.GetAttributes(String path)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [31/01/2013 19:45:04] Information : Query free disk space
    [31/01/2013 19:45:04] Data : Folder Path = C:Program FilesMicrosoft System Center 2012DPMDPMDPMDB
    [31/01/2013 19:45:04] Data : Free Space = 446284
    [31/01/2013 19:45:04] Information : Caught Exception DatabaseInfoRegKey RegKey shouldn’t be null, set DPM DB name to default value
    [31/01/2013 19:45:06] Information : Check if the media is removable
    [31/01/2013 19:45:06] Data : Folder Path = C:Program FilesMicrosoft System Center 2012DPM
    [31/01/2013 19:45:06] Data : Drive Name = C:
    [31/01/2013 19:45:06] Data : Drive Type = 3
    [31/01/2013 19:45:06] Information : Check attributes of the directory
    [31/01/2013 19:45:06] Data : Folder Path = C:Program FilesMicrosoft System Center 2012DPM
    [31/01/2013 19:45:06] Data : File Attributes = Directory
    [31/01/2013 19:45:06] Information : Check if the media is removable
    [31/01/2013 19:45:06] Data : Folder Path = C:Program FilesMicrosoft System Center 2012DPMDPMDPMDB
    [31/01/2013 19:45:06] Data : Drive Name = C:
    [31/01/2013 19:45:06] Data : Drive Type = 3
    [31/01/2013 19:45:06] Information : Check attributes of the directory
    [31/01/2013 19:45:06] Data : Folder Path = C:Program FilesMicrosoft System Center 2012DPMDPMDPMDB
    [31/01/2013 19:45:06] * Exception : Ignoring the following exception intentionally => System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:Program FilesMicrosoft System Center 2012DPMDPMDPMDB’.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.GetAttributes(String path)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [31/01/2013 19:45:06] Information : Caught Exception DatabaseInfoRegKey RegKey shouldn’t be null, set DPM DB name to default value
    [31/01/2013 19:45:06] Information : Check the filesystem on which DPM and prerequisites are installed
    [31/01/2013 19:45:06] Information : C:Program FilesMicrosoft System Center 2012DPM
    [31/01/2013 19:45:06] Information : C:Program FilesMicrosoft System Center 2012DPMDPMDPMDB
    [31/01/2013 19:45:06] Information : 
    [31/01/2013 19:45:06] Information : 
    [31/01/2013 19:45:06] Information : c:Program FilesMicrosoft SQL ServerMSRS11.MSDPM2012Reporting ServicesReportServer
    [31/01/2013 19:45:06] Information : C:Windowssystem32
    [31/01/2013 19:45:06] *** Error : Application_ThreadException

    Server OS is Windows Server 2012. SQL version is also 2012.

    Does anybody know what is going wrong and how I can fix it?

    • Edited by

      Thursday, January 31, 2013 7:52 PM

Answers

  • No database there… I managed to fix it in the end by installing a SQL 2008 R2 instance.  Something about SQL 2012 it didn’t like, although what I don’t know.

    • Marked as answer by
      adamf83
      Saturday, February 2, 2013 5:37 PM

This is a short blog post about my experience in deploying System Center Data Protection Manager 2016.

I am involved currently with several DPM projects on upgrading System Center Data Protection Manager 2012 R2 to 2016.

For more information, please check my recent DPM articles here.

While installing DPM 2016 (greenfield deployment) on top of Windows Server 2016 and SQL Server 2014 SP2, I came across a very strange issue!

The error is the following:

DPM2016-InstallationError-02

5 Common Cat Behaviours And What Th…

Please enable JavaScript

First things first is to look at the error logs file.

As you can see below, all the errors are related to System.IO.FileNotFoundException.

This led me to think it could disk error or volume.

I scanned all the disks, even I created a new virtual machine and tried again, but still I received the same error!

DPM2016-InstallationError-03

The next thing is to look online… Bing it… Google it… Search engine failed on me to return any result regarding this error!

…I did recently many successful deployments without any error, so what is the difference in this environment versus the others?

In this particular deployment, I downloaded the DPM installation media from the Internet. However, in the other installation, I copied the media over the network.

Could it be that Windows blocked the setup files that came from the Internet to help protect this machine…

So let’s double check!

DPM2016-InstallationError-04

As you can see, one of the file is blocked. In fact, I noticed that all setup files are blocked and not only the .exe or .dll files.

So how can we unblock 677 files?

DPM2016-InstallationError-05

With PowerShell of course!

Get-Childitem -Path 'D:SC 2016 SCDPM' -Recurse | Unblock-File -Confirm:$false –Verbose

DPM2016-InstallationError-06

Let’s try the installation again now…

And here you go Smile

DPM2016-InstallationError-07

Hope that helps!

With that I will sign-off for 2016.

I want to thank the Community, Followers, Readers, Microsoft Product Groups, MVP Award Program, MVP’s, Developers and ITPro’s!

Until then… see you in 2017…

Happy Holidays!

An Unexpected Error Occurred During DPM 2016 Installation ID: 4387 #SysCtr #SCDPM 2

Cheers,
-Ch@rbel-

Photo of author

About the Author

Charbel Nemnom

Charbel Nemnom is a Senior Cloud Architect, Swiss Certified ICT Security Expert, Certified Cloud Security Professional (CCSP), Certified Information Security Manager (CISM), Microsoft Most Valuable Professional (MVP), and Microsoft Certified Trainer (MCT).
He has over 20 years of broad IT experience serving on and guiding technical teams to optimize the performance of mission-critical enterprise systems with extensive practical knowledge of complex systems build, network design, business continuity, and cloud security.

Related Posts

by Loredana Harsana

Loredana is a passionate writer with a keen interest in PC software and technology. She started off writing about mobile phones back when Samsung Galaxy S II was… read more


Published on April 6, 2021

  • The Solarwinds unexpected error that occurred during the agent deployment and/or installation has to do with the A/V and permissions to the directory.
  • Monitoring the network is an essential aspect that needs to work flawlessly in order to ensure the correct functionality of all devices.
  • Using a dedicated tool that is error-free and reliable is the easiest way of ensuring no functionality errors will happen in the future.
  • If you encounter Solarwinds unexpected error occurred out of memory error, be sure to try these solutions as well.

solarwinds unexpected error occurred during the agent deployment installation

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer’s security and performance
  • Restoro has been downloaded by 0 readers this month.

Solarwinds is a great tool for network monitoring but it does come with its share of error messages.

Users report getting the error:

An unexpected exception occurred during installation

Most often the cause of this error has to do with A/V and permissions to the directory.

In this article we will explore the easiest way to fix this error, so make sure to keep on reading.

How can I fix Solarwinds unexpected error during installation?

1. Use a specialized software

monitoring software snmp error request timed out

When it comes to network monitoring, considering how any error can impact all the devices, making sure the tool you are using is error-free comes without saying.

PRTG Network Monitor is a great tool, recommended by the amazing features that are integrated and the hardware availability monitoring features.

This tool also allows for custom alerts, meaning that you can receive immediate alters if anything is going wrong with the network.

PRTG Network Monitor

PRTG Network Monitor

Use an error free and specialized tool monitoring and stay updated with everything that happens.

2. Modify the restriction policies

  1. Open Start, type local security policy and select Local Security Policy.
  2. In the left pane, click Software Restriction Policies.
  3. If no software restrictions are defined, right-click Software Restriction Policies in the left pane, and then click New Software Restriction Policy.
  4. Next, click on Enforcement and select All users except local administrators.
  5. Click OK and reboot your SolarWinds server.

Solarwinds unexpected error occurred during the agent deployment and/or installation is an error message that can be solved in just a few easy steps.

Make sure to follow the exact indications we have presented in this article and you will surely fix this problem.

If you have additional recommendations and suggestions, please share them in the comments section below.

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven’t solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

newsletter icon

Newsletter

В некоторых случаях во время чистой установке системы, выполнении обновления до новой Windows 11, при установке очередного билда (версии) Windows 10 или при создании эталонного образа с помощью sysprep может появиться ошибка «Компьютер неожиданно перезагрузился, или возникла непредвиденная ошибка. Невозможно продолжить установку Windows». При нажатии кнопки OK, компьютер опять перезагружается, и снова появляется окно с этой же ошибкой, и так по кругу… Что делать в таком случае, как продолжить установку Windows?

Данная проблема может появится после очередной перезагрузки системы в процессе одного из этапов установки (или обновления) ОС и выглядит следующим образом:

  • В русской версии Windows 10:

    Компьютер неожиданно перезагрузился, или возникла непредвиденная ошибка. Невозможно продолжить установку Windows. Чтобы установить Windows нажмите кнопку «ОК» для перезагрузки компьютера, а затем перезапустите установку. Компьютер неожиданно перезагрузился, или возникла непредвиденная ошибка. Невозможно продолжить установку Windows

  • В английской:

    The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed. To install Windows, click “OK” to restart the computer, and then restart the installation. The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed - windows 10

Как я уже говорил, при появлении этой ошибки не помогает ни нажатие на кнопку OK, ни повторный запуск установки системы – ошибка все равно зацикливается.
Чтобы исправить проблему нужно, не закрывая окно с ошибкой:

  1. Прямо на экране с ошибкой нажать сочетание клавиш Shift + F10 (на ноутбуках эта комбинация может не работать, попробуйте Shift+FN+F10 вместо нее, либо отключите в настройках BIOS опцию System Configuration -> Action Keys Mode = Disabled);


  2. В открывшемся окне командной строки нужно запустить редактор реестра, выполнив команду
    regedit
    shift+f10 - regedit
  3. В окне реестра перейдите в раздел HKEY_LOCAL_MACHINESYSTEMSetupStatusChildCompletion;
  4. В правой панели нужно найти параметр setup.exe. Скорее всего он равен 1. Измените его значение на 3 и сохраните изменение.

    Примечание. Тем самым мы принудительно указываем установщику Windows, что нужно перейти на следующую фазу установки системы.

    HKEY_LOCAL_MACHINESYSTEMSetupStatusChildCompletionsetup.exe 3

  5. Нужно закрыть редактор реестра, и перезагрузить Windows нажав OK в окне ошибки, или выполнить команду перезагрузки компьютера:
    shutdown -r -t 0
    (или командой
    wpeutil reboot
    )

После перезагрузки процесс установки/обновления Windows должен нормально продолжиться.

подождите - продолжить процесс установки windows 10

Данная проблема характерна не только для Windows 10 и Windows 11. Этот способ решения проблемы с прерванной установки операционной системы одинаково эффективно работает как в Windows 7 и Windows 8.1, так и в Windows Server.

Возможные проблемы и решения при автоматической перезагрузке компьютера:

Проблема: Компьютер автоматически перезагружается, и вы не успеваете внести изменения в реестр.

Причнна: На компьютере срабатывает функция автоматической перезагрузки при ошибках или BSOD.

Решение: внести изменение в реестр системы на диске в офлайн режиме, загрузившись с установочного или загрузочного диска.

    1. Загрузитесь любого установочного диска Windows;
    2. На экране начала установки нажмите
      Shift+F10
      чтобы открыть командную строку;
    3. Нужно определить букву жесткого диска, на которой находится ваша Windows, которую нужно починить;
    4. Выполните команды:
      Diskpart
      List vol


      В моем примере судя по размерам разделов, Windows находится на разделе Volume 1. Этому разделу не назначена бука диска. Назначим ему букву W вручную:
      Assign letter=w:
      exit


      winpe diskpart определить и назначить букву диска офлайн образу windows
  1. Теперь выполните
    regedit
    и загрузите ветку реестра HKEY_LOCAL_MACHINESYSTEM вашего офлайн образа Windows;
  2. В редакторе реестра выберите раздел HKEY_LOCAL_MACHINE и в меню выберите File -> Load Hive. Выберите файл W:WindowsSystem32ConfigSystemзагрузить реестра офлайн копии windows с диска через load hive
  3. Укажите имя ветки (
    mylocal
    ). В результате в редакторе реестра у вас загрузится офлайн копия реестра вашей Windows;
  4. Перейдите в раздел HKEY_LOCAL_MACHINEMylocalSetupStatusChildCompletion и измените значение параметра setup.exe на 3;изменить параметр реестра ChildCompletion setup.exe на 3
  5. Чтобы записать изменения в файл нужно выгрузить ветку реестра File-> Unload Hive;unload hive - выгрузить файл реестра и сохранить его на диск
  6. Переключитье в окно командной строки и отправьте компьютер в перезагрузку командой wpeutil reboot;
  7. После этого установка Windows будет продолжена в нормальном режиме.

Проблема: Установка Windows продолжается, но на 64% процентов компьтер автоматически перезагружается, и так по кругу.установка windows зависает на 64 процентах

Причнна: Чаще всего дело в некорректном установочном образе Windows.

Решение: запишите установочный образ Windows с помощью официальной утилиты Media Creation Tool (как создать установочную флешку с Windows 10 для UEFI компьютера). Запустите чистую установка Windows с новой загрузочной флешки, обязательно удалите все разделы на диске, на который вы хотите установить Windows (если на диске есть ваши данные, скопируйте их перед удалением разделов). Устанавливайте Windows в неразмеченную область (Unallocated space). Установщик Windows сам создаст все необходимые системные разделы (подробнее про системные EFI и MSR разделы в Windows 10).

установка windows в неразмеченую область

Также:

  • проверьте диск на ошибки с помощью chkdsk:
    chkdsk W: /F /R
  • Отключите все лишние USB устройства (в том числе временно отключите клавиатуру, флешку и мышь), отключите LAN и Wi-FI сетевые карты (физически или в BIOS/UEFI)

Microsoft System Center Data Protection Manager (DPM) officially supports SQL 2016 with UR2.  But, like previous System Center products, the only installer is pre-UR2, so SQL 2016 is not «officially» supported for an initial install, only as an upgrade install.  This is particularly annoying because it means you have to do a SQL 2014 installation, DPM installation, DPM upgrade to UR2, then a SQL upgrade to 2016.

The good news is that despite it not being officially supported, you can install DPM 2016 RTM with SQL 2016 already installed, then apply UR2. 

However, there is a big gotcha.

One I discovered is that if you have SQL 2016 SP1 installed, the DPM installer crashes with the error «An unexpected error occurred during the installation.  For more details, check the DPM Setup error logs. ID: 4387»

The logs aren’t helpful at all.  There are numerous errors in the logs, that are actually safe to ignore, which causes a lot of false positives in your investigation.  At the very end there is a line that says «*** Error : CurrentDomain_UnhandledException» followed by an exception that appears after the installer is closed.

[2/8/2017 6:42:16 PM] * Exception : Invoking Watson with Exception:  => System.ArgumentNullException: Value cannot be null.
Parameter name: input
   at System.Version.Parse(String input)
   at System.Version..ctor(String version)
   at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectPrerequisites.CheckSqlServerTools(InspectContext context)
   at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.Inspect.InitializeContext(String sqlMachineName, String sqlInstanceName, String reportingMachineName, String reportingInstanceName, ConnectionOptions wmiSqlConnectionOptions, ConnectionOptions wmiReportingConnectionOptions, Boolean isRemoteDb, Boolean isSqlClustered, List`1 sqlClusterNodes, Boolean isRemoteReporting, String oldSqlMachineName, String oldSqlInstanceName, ProductNameEnum productName, InspectModeEnum inspectMode, Boolean remoteTriggerJob)
   at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.Inspect..ctor(String reportFilePath, String sqlMachineName, String sqlInstanceName, String reportingMachineName, String reportingInstanceName, ConnectionOptions wmiSqlConnectionOptions, ConnectionOptions wmiReportingConnectionOptions, Boolean isRemoteDb, Boolean isSqlClustered, List`1 sqlClusterNodes, Boolean isRemoteReporting, String oldSqlMachineName, String oldSqlInstanceName, InspectModeEnum inspectMode, InspectSkuEnum inspectSku, ProductNameEnum productName, InspectCCModeEnum ccMode, Boolean remoteTriggerJob)
   at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.InstantiateInspect(String inspectFile, String sqlMachineName, String sqlInstanceName, String reportingMachineName, String reportingInstanceName, ConnectionOptions wmiSqlConnectionOptions, ConnectionOptions wmiReportingConnectionOptions)
   at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InspectPage.RunInspect()
   at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InspectPage.InspectThreadEntry()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart()

So I tried a lot of different things like different versions of SSMS (management tools), manually installing the Hyper-V PowerShell components, making sure all the WMI classes are registered (mofcomp all the .mof files manually), and the tips are this link.

What’s happening as far as I can tell is that the installer’s prerequisite checks fail due to an unexpected response from SP1.  The only way to get around this is to install SQL Server 2016 RTM, then install DPM 2016, then install DPM’s UR2, then install SQL’s SP1.  Done in that order, it works in my tests.

It’s not as bad as having to install SQL 2014 first, then upgrade to 2016, but still a pain.  I wish Microsoft would released System Center products with updated installers for major milestones, like when a new version of SQL is supported.

Ошибка при установке Windows

Во время обновления Windows 10 до Creators Update, моргнул свет и отключился компьютер, после чего вышла ошибка:
The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed. To install Windows, click “OK” to restart the computer, and then restart the installation.

error windows install

Дословно текст ошибки можно перевести так:
Компьютер неожиданно перезапускается или возникла непредвиденная ошибка. Невозможно продолжить установку Windows. Чтобы установить Windows, нажмите кнопку “ОК” для перезагрузки компьютера, а затем перезапустите установку.

Не забудьте подписаться на наш Дзен

В следствие чего машина ушла в циклическую перезагрузку и не стартовала. Для решения проблемы, можно поковырять реестр, предварительно сделав его копию, через «Файл»-«Экспорт».

Замена значения в реестре

  • после появления ошибки жмите Shift + F10 (если ноутбук, возможно дополнительно нужно нажать Fn), откроется командная строка;
  • в командной строке введите «regedit» (без кавычек) и нажмите ввод, откроется редактор реестра;
  • сделайте копию реестра;
  • в редакторе реестра проходим по ветке HKEY_LOCAL_MACHINESYSTEMSetupStatusChildCompletion;
  • в правой части окна дважды кликните на setup.exe, значение 1 изменяем на 3;
  • закрывайте редактор реестра, закрывайте командную строку, кликайте на кнопку «OK» в окне ошибки;
  • после перезагрузки установка должна продолжиться.

windows install error

Способ работает с Windows 7, 8 и 10. В комментариях пишите помог ли способ, если нет, попытаюсь помочь советом.

Понравилась статья? Поделить с друзьями:

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

  • An internal error has occurred while attempting to perform this command
  • An internal error has occurred socket failed eperm operation not permitted
  • An internal error has occurred please contact your administrator
  • An internal error has occurred please contact the support
  • An internal error has occurred mathcad

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии