修复第一次启动阶段安装失败错误: (Fix The Installation Failed In The First Boot Phase Error: )如果您要升级到Windows 10或从(Windows 10)Microsoft升级到新的主要更新,那么安装可能会失败,您将看到一条错误消息,上面写着“我们不能” ™ 不安装Windows 10。 ”如果您仔细观察,您会在底部发现一些附加信息,这些信息将是错误代码 0xC1900101 – 0x30018 或 0x80070004 – 0x3000D,具体取决于错误类型。因此,您可能会收到以下错误:
0x80070004 – 0x3000D
安装在FIRST_BOOT阶段失败,在(FIRST_BOOT)MIGRATE_DATE操作期间出现错误。
0xC1900101 - 0x30018
安装在FIRST_BOOT阶段失败,在SYSPREP操作期间出现错误。
0xC1900101-0x30017 FIRST_BOOT阶段
安装失败,BOOT操作出错。
现在所有上述错误都是由于注册表配置不正确或设备驱动程序冲突引起的。有时第三方软件也可能导致上述错误,因此我们需要对问题进行故障排除并修复原因以解决此错误。因此,不要浪费任何时间,让我们看看如何在下面列出的故障排除指南的帮助下实际修复第一个引导阶段错误中的(First Boot Phase Error)安装(Installation)失败。
修复第一次启动阶段安装(Installation)失败的错误(First Boot Phase Error)
确保 创建一个还原点(create a restore point),以防万一出现问题。
注意:(Note:) 确保(Make)断开连接到 PC 的所有外部设备。
方法一:暂时禁用防病毒和防火墙(Method 1: Temporarily Disable Antivirus and Firewall)
1.右键单击系统托盘中的防病毒程序图标( Antivirus Program icon),然后选择禁用。(Disable.)
2.接下来,选择防病毒软件将保持禁用的时间范围。( Antivirus will remain disabled.)
注意:选择尽可能少的时间,例如 15 分钟或 30 分钟。
3.完成后,再次尝试连接到WiFi网络并检查错误是否解决。
4.按 Windows 键 + I 然后选择控制面板。( Control Panel.)
5.下一步,点击系统和安全。( System and Security.)
6.然后点击Windows防火墙。(Windows Firewall.)
7.现在从左侧窗格中单击打开或关闭Windows 防火墙(Turn Windows Firewall)。
8.选择关闭 Windows 防火墙并重新启动您的 PC。(Select Turn off Windows Firewall and restart your PC. )再次尝试打开Google Chrome并查看您是否能够 修复在第一个引导阶段错误中安装失败的问题。(Fix The Installation Failed In The First Boot Phase Error.)
如果上述方法不起作用,请确保按照完全相同的步骤再次打开防火墙。
方法 2:检查 Windows 更新(Method 2: Check for Windows Update)
1.按Windows Key + I 然后选择 更新和安全。(Update & Security.)
2.下一步,再次单击 检查更新(Check for updates)并确保安装任何待处理的更新。
3.安装更新后重新启动您的 PC,看看您是否能够 修复在第一个启动阶段错误中安装失败的问题。(Fix The Installation Failed In The First Boot Phase Error.)
方法 3:运行官方 Windows 更新疑难解答(Method 3: Run Official Windows Update Troubleshooter)
如果到目前为止没有任何效果,那么您绝对应该尝试从 Microsoft网站本身运行(Website)Windows 更新疑难解答(Windows Update Troubleshooter from Microsoft) ,看看您是否能够修复在第一个引导阶段错误中(First Boot Phase Error)安装(Installation)失败的问题。
方法 4:在干净启动中运行 Windows 更新(Method 4: Run Windows Update in Clean Boot)
这将确保如果任何 3rd 方应用程序与Windows更新冲突,那么您将能够在Clean Boot中成功安装(Clean Boot)Windows 更新(Windows Updates)。有时,第 3 方软件可能会与Windows Update发生冲突,从而导致Windows Update(Windows Update)卡住(Stuck)。为了修复 The Installation Failed In The First Boot Phase Error(Fix The Installation Failed In The First Boot Phase Error),您需要在 PC 中执行干净启动(perform a clean boot)并逐步诊断问题。
方法 5:确保您有足够的磁盘空间(Method 5: Make sure you have enough Disc Space)
为了成功安装Windows更新/升级,您的硬盘上至少需要 20GB 的可用空间。更新不太可能会占用所有空间,但最好在系统驱动器上释放至少 20GB 的空间,以便安装完成而不会出现任何问题。
方法 6:重命名 SoftwareDistribution 文件夹(Method 6: Rename SoftwareDistribution Folder)
1.按Windows Key + X然后选择命令提示符(管理员)。(Command Prompt (Admin).)
2.现在键入以下命令以停止Windows 更新(Windows Update) 服务(Services),然后在每个命令后按 Enter :(Enter)
网络停止 wuauserv(net stop wuauserv)
网络停止 cryptSvc(net stop cryptSvc)
网络停止位(net stop bits)
网络停止 msiserver(net stop msiserver)
3.接下来,键入以下命令以重命名SoftwareDistribution 文件夹(SoftwareDistribution Folder),然后按 Enter(Enter):
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
4.最后,键入以下命令以启动Windows 更新(Windows Update) 服务(Services)并在每个命令后按 Enter :(Enter)
网络启动 wuauserv(net start wuauserv)
网络启动 cryptSvc(net start cryptSvc)
网络启动位(net start bits)
网络启动 msiserver(net start msiserver)
5.重新启动您的 PC 以保存更改。
方法 7:注册表修复(Method 7: Registry Fix)
1.按 Windows 键 + R 然后键入regedit并按Enter打开注册表编辑器(Registry Editor)。
2.导航到以下注册表项:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade
3.如果您没有找到OSUpgrade密钥,则右键单击WindowsUpdate并选择New > Key.
4.将此键命名为OSUpgrade并按 Enter。
5.现在确保您已选择OSUpgrade,然后在右侧窗格中的空白区域中的任意位置单击鼠标右键,然后选择New > DWORD (32-bit) value.
6.将此键命名为AllowOSUpgrade并双击它以将其值更改为1。
7.再次尝试安装更新或重新运行升级过程,看看您是否能够修复在第一个引导阶段错误中(First Boot Phase Error)安装(Installation)失败的问题。
方法 8:删除特定文件导致升级(Method 8: Delete a particular file messing with upgrade)
1.导航到以下目录:
C:\Users\UserName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Orbx
注意:为了查看AppData文件夹,您需要在(AppData)Folder Options中勾选显示隐藏文件和文件夹。
2.或者,您可以按Windows Key + R然后键入%appdata%\Microsoft\Windows\Start Menu\Programs\Orbx并按Enter直接打开AppData文件夹。
3.现在在Orbx文件夹下,找到一个名为Todo的文件,如果该文件存在,请确保将其永久删除。
4.重新启动您的 PC 并再次尝试升级过程。
方法 9:更新 BIOS(Method 9: Update BIOS)
执行BIOS更新是一项关键任务,如果出现问题,可能会严重损坏您的系统,因此建议专家监督。
1.第一步是识别您的BIOS版本,按 Windows Key + R然后输入“ msinfo32 ”(不带引号)并按回车键打开系统信息(System Information)。
2. 一旦系统信息( System Information)窗口打开,找到BIOS Version/Date,然后记下制造商和BIOS版本。
3.接下来,访问您的制造商网站,例如在我的情况下是戴尔(Dell),所以我将访问戴尔网站(Dell website),然后输入我的计算机序列号或单击自动检测选项。
4.现在从显示的驱动程序列表中,我将单击BIOS并下载推荐的更新。
注意:更新(Note:)BIOS时请勿关闭计算机或断开电源,否则可能会损坏计算机。在更新期间,您的计算机将重新启动,您将短暂看到黑屏。
5.下载文件后,只需双击Exe文件即可运行它。
6.最后,您已经更新了BIOS,这也可以 修复在第一个引导阶段错误中安装失败的问题。(Fix The Installation Failed In The First Boot Phase Error.)
方法 10:禁用安全启动(Method 10: Disable Secure Boot)
1.重启你的电脑。
2.当系统重新启动时,在启动过程中按一个键进入(Enter)BIOS 设置。(BIOS setup)
3.找到Secure Boot设置,如果可能,将其设置为Enabled。此选项通常位于“安全(Security)”选项卡、“引导(Boot)”选项卡或“身份验证(Authentication)”选项卡中。
#WARNING:禁用安全启动(Secure Boot)后,如果不将 PC 恢复到出厂状态,可能很难重新激活安全启动。(Secure Boot)
4.重新启动您的PC,看看您是否能够 修复在第一个启动阶段错误中安装失败的问题。(Fix The Installation Failed In The First Boot Phase Error.)
5.再次从 BIOS 设置中启用安全启动选项。(Enable the Secure Boot)
方法 11:运行 CCleaner 和 Malwarebytes(Method 11: Run CCleaner and Malwarebytes)
1.下载并安装 CCleaner & Malwarebytes。
2.运行 Malwarebytes(Run Malwarebytes)(Run Malwarebytes)并让它扫描您的系统以查找有害文件。
3.如果发现恶意软件,它将自动删除它们。
4.现在运行“ CCleaner ”,在“Cleaner”部分的“ Windows ”选项卡下,我们建议检查以下要清理的选项:
5.一旦您确定检查了正确的点,只需单击 Run Cleaner,然后让 CCleaner 运行。
6.要清理您的系统,请进一步选择注册表(Registry)选项卡并确保选中以下内容:
7.选择Scan for Issue并允许CCleaner进行扫描,然后单击 Fix Selected Issues。
8.当CCleaner 询问“您想要对注册表的更改进行备份吗?(Do you want backup changes to the registry?)— 选择是。
9.备份完成后,选择Fix All Selected Issues。
10.重新启动您的 PC 以保存更改,这将修复 The Installation Failed In The First Boot Phase Error,如果没有,则继续下一个方法。
方法 12:运行系统文件检查器和 DISM 工具(Method 12: Run System File Checker and DISM Tool)
1.按Windows Key + X然后单击命令提示符(管理员)。( Command Prompt(Admin).)
2.现在在cmd中输入以下内容并回车:
Sfc /scannow
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows (If above fails then try this one)
3.等待上述过程完成,完成后重新启动您的电脑。
4.再次打开cmd并输入以下命令并在每个命令后按回车键:
a) Dism /Online /Cleanup-Image /CheckHealth
b) Dism /Online /Cleanup-Image /ScanHealth
c) Dism /Online /Cleanup-Image /RestoreHealth
5.让DISM命令运行并等待它完成。
6. 如果上述命令不起作用,请尝试以下操作:
Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows
Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess
注意:(Note:) Â 将(Replace)C:\RepairSource\Windows 替换为修复源的位置(Windows 安装(Windows Installation)或恢复光盘(Recovery Disc))。
7.重新启动您的 PC 以保存更改。
方法 13:故障排除(Method 13: Troubleshooting)
1.按Windows Key + X然后选择命令提示符(管理员)。(Command Prompt (Admin).)
2.在cmd中键入以下命令(复制并粘贴)并在每个命令后按Enter :
takeown /f C:\$Windows.~BT\Sources\Panther\setuperr.log\setuperr.log
icacls C:\$Windows.~BT\Sources\Panther\setuperr.log\setuperr.log /reset /T
notepad C:\$Windows.~BT\Sources\Panther\setuperr.log
3.现在导航到以下目录:
C:\$Windows.~BT\Sources\Panther
注意:您需要在“文件夹(Folder)选项”中选中(Options)“显示隐藏的文件和文件夹”(Show hidden files and folders)并取消选中“隐藏操作系统文件(Hide operating system files)”才能看到上述文件夹。
4.双击文件setuperr.log,打开它。
5.错误文件会有这样的信息:
2017-07-07 13:24:01, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: LoadRegFromFile :: OpenFile error (C:\$WINDOWS.~BT\Work\MachineIndependent\Working\srcworking\agentmgr\CCSIAgent\005A4BDD\HKLM-E0xxxx04IME.reg) gle=2
2017-07-07 13:24:07, Error SP Error WRITE, 0x00000005 while gathering/applying object: File, C:\Windows\System32\Tasks [avast! Emergency Update]. Will return 0[gle=0x00000005]
2017-07-07 13:24:07, Error MIG Error 5 while applying object C:\Windows\System32\Tasks\avast! Emergency Update. Shell application requested abort[gle=0x00000005]
2017-07-07 13:24:07, Error [0x08097b] MIG Abandoning apply due to error for object: C:\Windows\System32\Tasks\avast! Emergency Update[gle=0x00000005]
2017-07-07 13:24:08, Error Apply failed. Last error: 0x00000000
2017-07-07 13:24:08, Error SP pSPDoOnlineApply: Apply operation failed. Error: 0x0000002C
2017-07-07 13:24:09, Error SP Apply: Migration phase failed. Result: 44
2017-07-07 13:24:09, Error SP Operation failed: OOBE boot apply. Error: 0x8007002C[gle=0x000000b7]
2017-07-07 13:24:09, Error SP Operation execution failed: 13. hr = 0x8007002C[gle=0x000000b7]
2017-07-07 13:24:09, Error SP Operation execution failed.[gle=0x000000b7]
2017-07-07 13:24:09, Error SP CSetupPlatformPrivate::Execute: Failed to deserialize/execute pre-OOBEBoot operations. Error: 0x8007002C[gle=0x000000b7]
2017-07-07 17:24:01, Error [SetupHost.Exe] ReAgentXMLParser::ParseConfigFile (xml file: C:\$WINDOWS.~BT\Sources\SafeOS\ReAgent.xml) returning 0X2
2017-07-07 17:24:06, Error SP CInstallDUUpdatesOffline::FindOperation: No info found in section DynamicUpdate.Drivers of file C:\$Windows.~BT\Updates\Critical\SetupPlatform.ini[gle=0x00000002]
2017-07-07 17:24:06, Error SP CInstallDUUpdatesOffline::FindOperation: No info found in section DynamicUpdate.GDRs of file C:\$Windows.~BT\Updates\Critical\SetupPlatform.ini[gle=0x00000002]
2017-07-07 17:24:06, Error SP CInstallDUUpdatesOffline::FindOperation: No info found in section DynamicUpdate.Langpacks of file C:\$Windows.~BT\Updates\Critical\SetupPlatform.ini[gle=0x00000002]
2017-07-07 17:24:06, Error SP CInstallDUUpdatesOffline::FindOperation: No info found in section DynamicUpdate.FeaturesOnDemand of file C:\$Windows.~BT\Updates\Critical\SetupPlatform.ini[gle=0x00000002]
2017-07-08 13:30:12, Error SP pSPRemoveUpgradeRegTree: failed to delete reg tree HKLM\SYSTEM\Setup\Upgrade[gle=0x00000005]
2017-07-08 13:30:19, Error [0x080831] MIG CSIAgent: Invalid xml format: FormatException: "id" attribute is mandatory. void __cdecl Mig::CMXEMigrationXml::LoadSupportedComponent(class UnBCL::XmlNode *,int,class Mig::CMXEMigrationXml *,class Mig::CMXEXmlComponent *)
2017-07-08 13:30:21, Error [0x080831] MIG CSIAgent: Invalid xml format: FormatException: Component with display name: Plugin/{39CC25F3-AF21-4C42-854D-0524249F02CE} already loaded __cdecl Mig::CMXEMigrationXml::CMXEMigrationXml(class Mig::CPlatform *,class UnBCL::String *,class UnBCL::XmlDocument *,class UnBCL::String *,class UnBCL::String *)
2017-07-08 13:30:40, Error [0x0808fe] MIG Plugin {65cbf70b-1d78-4cac-8400-9acd65ced94a}: CreateProcess(s) failed. GLE = d
2017-07-08 13:31:32, Error [0x0808fe] MIG Plugin {526D451C-721A-4b97-AD34-DCE5D8CD22C5}: [shmig] Failed to get preferred homegroup with hr=0x80070490
2017-07-08 13:31:32, Error [0x0808fe] MIG Plugin {ee036dc0-f9b7-4d2d-bb94-3dd3102c5804}: BRIDGEMIG: CBrgUnattend::CollectBridgeSettings failed: 0x1, 0
2017-07-08 13:31:38, Error [0x0808fe] MIG Plugin {D12A3141-A1FF-4DAD-BF67-1B664DE1CBD6}: WSLicensing: Failed to read machine binding, hr=0x80070002
2017-07-08 13:31:38, Error [0x0808fe] MIG Plugin {D12A3141-A1FF-4DAD-BF67-1B664DE1CBD6}: WSLicensing: Error reading Server Info hr=0x80070490
2017-07-08 13:31:41, Error CSetupAutomation::Resurrect: File not found: C:\$Windows.~BT\Sources\Panther\automation.dat[gle=0x00000002]
2017-07-08 13:31:41, Error SP CSetupPlatform::ResurrectAutomation: Failed to resurrect automation: 0x80070002[gle=0x00000002]
2017-07-08 13:32:03, Error MOUPG CSetupHost::ReportEventW(1618): Result = 0x8024F005
2017-07-08 13:32:03, Error MOUPG SetupHost: Reporting pending reboot event failed: hr = [0x8024F005]
2017-07-08 13:32:03, Error MOUPG CDlpManager::AsyncSerializeDisable(471): Result = 0x80070216
6.找出停止安装的原因,通过卸载、禁用或更新来解决它,然后重试安装。
7.在上面的文件中,如果您仔细观察,问题是由Avast创建的,因此卸载它可以解决问题。
为你推荐:(Recommended for you:)
就是这样,您已成功修复在第一个引导阶段错误中的安装失败,(Fix The Installation Failed In The First Boot Phase Error)但如果您对本指南仍有任何疑问,请随时在评论部分询问他们。
Fix The Installation Failed In The First Boot Phase Error
Fix The Installation Failed In The First Boot Phase Error: If you are upgrading to Windows 10 or upgrading to a new major update from Microsoft then chances are the installation may fail and you will be left with an error message saying “We couldn’t install Windows 10.” If you look closely you will find some additional information at the bottom which would be an error code 0xC1900101 – 0x30018 or 0x80070004 – 0x3000D depending upon the type of error. So these are the following error which you can receive:
0x80070004 – 0x3000D
The installation failed in the FIRST_BOOT phase with an error during MIGRATE_DATE operation.
0xC1900101 – 0x30018
The installation failed in the FIRST_BOOT phase with the error during SYSPREP operation.
0xC1900101-0x30017
The installation failed in the FIRST_BOOT phase with an error during BOOT operation.
Now all the above errors are either caused due to incorrect registry configuration or due to device drivers conflict. Sometimes 3rd party software can also cause the above errors, so we need to troubleshoot the issue and fix the cause in order to resolve this error. So without wasting any time let’s see how to actually Fix The Installation Failed In The First Boot Phase Error with the help of below-listed troubleshooting guide.
Fix The Installation Failed In The First Boot Phase Error
Make sure to create a restore point just in case something goes wrong.
Note: Make sure to disconnect any external devices connected to PC.
Method 1: Temporarily Disable Antivirus and Firewall
1.Right-click on the Antivirus Program icon from the system tray and select Disable.
2.Next, select the time frame for which the Antivirus will remain disabled.
Note: Choose the smallest amount of time possible for example 15 minutes or 30 minutes.
3.Once done, again try to connect to the WiFi network and check if the error resolves or not.
4.Press Windows Key + I then select Control Panel.
5.Next, click on System and Security.
6.Then click on Windows Firewall.
7.Now from the left window pane click on Turn Windows Firewall on or off.
8.Select Turn off Windows Firewall and restart your PC. Again try to open Google Chrome and see if you’re able to Fix The Installation Failed In The First Boot Phase Error.
If the above method doesn’t work make sure to follow the exact same steps to turn on your Firewall again.
Method 2: Check for Windows Update
1.Press Windows Key + I then select Update & Security.
2.Next, again click Check for updates and make sure to install any pending updates.
3.After the updates are installed reboot your PC and see if you’re able to Fix The Installation Failed In The First Boot Phase Error.
Method 3: Run Official Windows Update Troubleshooter
If nothing works till now then you should definitely try running Windows Update Troubleshooter from Microsoft Website itself and see if you’re able to Fix The Installation Failed In The First Boot Phase Error.
Method 4: Run Windows Update in Clean Boot
This would make sure that if any 3rd party application is conflicting with Windows update then you will be able to successfully install Windows Updates inside Clean Boot. Sometimes 3rd party software can conflict with Windows Update and therefore cause Windows Update to be Stuck. In order Fix The Installation Failed In The First Boot Phase Error, you need to perform a clean boot in your PC and diagnose the issue step by step.
Method 5: Make sure you have enough Disc Space
In order to install Windows update/upgrade successfully, you will need at least 20GB of free space on your hard disk. It not likely that the update will consume all the space but it’s a good idea to free at least 20GB of space on your system drive in order for the installation to complete without any problems.
Method 6: Rename SoftwareDistribution Folder
1.Press Windows Key + X then select Command Prompt (Admin).
2.Now type the following commands to stop Windows Update Services and then hit Enter after each one:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
3.Next, type the following command to rename SoftwareDistribution Folder and then hit Enter:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
4.Finally, type the following command to start Windows Update Services and hit Enter after each one:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
5.Reboot your PC to save changes.
Method 7: Registry Fix
1.Press Windows Key + R then type regedit and hit Enter to open Registry Editor.
2.Navigate to the following registry key:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade
3.If you don’t find the OSUpgrade key then right-click on WindowsUpdate and select New > Key.
4.Name this key as OSUpgrade and hit Enter.
5.Now make sure you have selected OSUpgrade and then in the right window pane right-click anywhere in the empty area and select New > DWORD (32-bit) value.
6.Name this key as AllowOSUpgrade and double click on it to change it’s value to 1.
7.Again try to install the updates or re-run the upgrade process and see if you’re able to Fix The Installation Failed In The First Boot Phase Error.
Method 8: Delete a particular file messing with upgrade
1.Navigate to the following directory:
C:\Users\UserName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Orbx
Note: In order to see AppData folder you need to check mark show hidden files and folders from Folder Options.
2.Alternatively, you could press Windows Key + R then type %appdata%\Microsoft\Windows\Start Menu\Programs\Orbx and hit Enter to directly open AppData folder.
3.Now under Orbx folder, find a file called Todo, if the file exists make sure to permanently delete it.
4.Reboot your PC and again try the upgrade process.
Method 9: Update BIOS
Performing BIOS update is a critical task and if something goes wrong it can seriously damage your system, therefore, an expert supervision is recommended.
1.The first step is to identify your BIOS version, to do so press Windows Key + R then type “msinfo32” (without quotes) and hit enter to open System Information.
2.Once the System Information window opens locate BIOS Version/Date then note down the manufacturer and BIOS version.
3.Next, go to your manufacturer’s website for e.g in my case it’s Dell so I will go to Dell website and then I will enter my computer serial number or click on the auto detect option.
4.Now from the list of drivers shown I will click on BIOS and will download the recommended update.
Note: Do not turn off your computer or disconnect from your power source while updating the BIOS or you may harm your computer. During the update, your computer will restart and you will briefly see a black screen.
5.Once the file is downloaded, just double-click on the Exe file to run it.
6.Finally, you have updated your BIOS and this may also Fix The Installation Failed In The First Boot Phase Error.
Method 10: Disable Secure Boot
1.Restart your PC.
2.When the system restart Enter the BIOS setup by pressing a key during the bootup sequence.
3.Find the Secure Boot setting, and if possible, set it to Enabled. This option is usually in either the Security tab, the Boot tab, or the Authentication tab.
#WARNING: After disabling Secure Boot it may be difficult to re-activate Secure Boot without restoring your PC to the factory state.
4.Restart your PC and see if you’re able to Fix The Installation Failed In The First Boot Phase Error.
5.Again Enable the Secure Boot option from BIOS setup.
Method 11: Run CCleaner and Malwarebytes
1.Download and install CCleaner & Malwarebytes.
2.Run Malwarebytes and let it scan your system for harmful files.
3.If malware is found it will automatically remove them.
4.Now run CCleaner and in the “Cleaner” section, under the Windows tab, we suggest checking the following selections to be cleaned:
5.Once you’ve made certain the proper points are checked, simply click Run Cleaner, and let CCleaner run its course.
6.To clean your system further select the Registry tab and ensure the following are checked:
7.Select Scan for Issue and allow CCleaner to scan, then click Fix Selected Issues.
8.When CCleaner asks “Do you want backup changes to the registry?” select Yes.
9.Once your backup has completed, select Fix All Selected Issues.
10.Restart your PC to save changes and this would Fix The Installation Failed In The First Boot Phase Error, if not then continue with the next method.
Method 12: Run System File Checker and DISM Tool
1.Press Windows Key + X then click on Command Prompt(Admin).
2.Now type the following in the cmd and hit enter:
Sfc /scannow
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows (If above fails then try this one)
3.Wait for the above process to finish and once done restart your PC.
4.Again open cmd and type the following command and hit enter after each one:
a) Dism /Online /Cleanup-Image /CheckHealth
b) Dism /Online /Cleanup-Image /ScanHealth
c) Dism /Online /Cleanup-Image /RestoreHealth
5.Let the DISM command run and wait for it to finish.
6. If the above command doesn’t work then try on the below:
Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows
Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess
Note: Replace the C:\RepairSource\Windows with the location of your repair source (Windows Installation or Recovery Disc).
7.Reboot your PC to save changes.
Method 13: Troubleshooting
1.Press Windows Key + X then select Command Prompt (Admin).
2.Type the following command into cmd as it (copy and paste it) and hit Enter after each one:
takeown /f C:\$Windows.~BT\Sources\Panther\setuperr.log\setuperr.log
icacls C:\$Windows.~BT\Sources\Panther\setuperr.log\setuperr.log /reset /T
notepad C:\$Windows.~BT\Sources\Panther\setuperr.log
3.Now navigate to the following directory:
C:\$Windows.~BT\Sources\Panther
Note: You need to check mark “Show hidden files and folders” and uncheck “Hide operating system files” in Folder Options in order to see the above folder.
4.Double click on the file setuperr.log, in order to open it.
5.The error file will have information like this:
2017-07-07 13:24:01, Error [0x0808fe] MIG Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: LoadRegFromFile :: OpenFile error (C:\$WINDOWS.~BT\Work\MachineIndependent\Working\srcworking\agentmgr\CCSIAgent\005A4BDD\HKLM-E0xxxx04IME.reg) gle=2
2017-07-07 13:24:07, Error SP Error WRITE, 0x00000005 while gathering/applying object: File, C:\Windows\System32\Tasks [avast! Emergency Update]. Will return 0[gle=0x00000005]
2017-07-07 13:24:07, Error MIG Error 5 while applying object C:\Windows\System32\Tasks\avast! Emergency Update. Shell application requested abort[gle=0x00000005]
2017-07-07 13:24:07, Error [0x08097b] MIG Abandoning apply due to error for object: C:\Windows\System32\Tasks\avast! Emergency Update[gle=0x00000005]
2017-07-07 13:24:08, Error Apply failed. Last error: 0x00000000
2017-07-07 13:24:08, Error SP pSPDoOnlineApply: Apply operation failed. Error: 0x0000002C
2017-07-07 13:24:09, Error SP Apply: Migration phase failed. Result: 44
2017-07-07 13:24:09, Error SP Operation failed: OOBE boot apply. Error: 0x8007002C[gle=0x000000b7]
2017-07-07 13:24:09, Error SP Operation execution failed: 13. hr = 0x8007002C[gle=0x000000b7]
2017-07-07 13:24:09, Error SP Operation execution failed.[gle=0x000000b7]
2017-07-07 13:24:09, Error SP CSetupPlatformPrivate::Execute: Failed to deserialize/execute pre-OOBEBoot operations. Error: 0x8007002C[gle=0x000000b7]
2017-07-07 17:24:01, Error [SetupHost.Exe] ReAgentXMLParser::ParseConfigFile (xml file: C:\$WINDOWS.~BT\Sources\SafeOS\ReAgent.xml) returning 0X2
2017-07-07 17:24:06, Error SP CInstallDUUpdatesOffline::FindOperation: No info found in section DynamicUpdate.Drivers of file C:\$Windows.~BT\Updates\Critical\SetupPlatform.ini[gle=0x00000002]
2017-07-07 17:24:06, Error SP CInstallDUUpdatesOffline::FindOperation: No info found in section DynamicUpdate.GDRs of file C:\$Windows.~BT\Updates\Critical\SetupPlatform.ini[gle=0x00000002]
2017-07-07 17:24:06, Error SP CInstallDUUpdatesOffline::FindOperation: No info found in section DynamicUpdate.Langpacks of file C:\$Windows.~BT\Updates\Critical\SetupPlatform.ini[gle=0x00000002]
2017-07-07 17:24:06, Error SP CInstallDUUpdatesOffline::FindOperation: No info found in section DynamicUpdate.FeaturesOnDemand of file C:\$Windows.~BT\Updates\Critical\SetupPlatform.ini[gle=0x00000002]
2017-07-08 13:30:12, Error SP pSPRemoveUpgradeRegTree: failed to delete reg tree HKLM\SYSTEM\Setup\Upgrade[gle=0x00000005]
2017-07-08 13:30:19, Error [0x080831] MIG CSIAgent: Invalid xml format: FormatException: "id" attribute is mandatory. void __cdecl Mig::CMXEMigrationXml::LoadSupportedComponent(class UnBCL::XmlNode *,int,class Mig::CMXEMigrationXml *,class Mig::CMXEXmlComponent *)
2017-07-08 13:30:21, Error [0x080831] MIG CSIAgent: Invalid xml format: FormatException: Component with display name: Plugin/{39CC25F3-AF21-4C42-854D-0524249F02CE} already loaded __cdecl Mig::CMXEMigrationXml::CMXEMigrationXml(class Mig::CPlatform *,class UnBCL::String *,class UnBCL::XmlDocument *,class UnBCL::String *,class UnBCL::String *)
2017-07-08 13:30:40, Error [0x0808fe] MIG Plugin {65cbf70b-1d78-4cac-8400-9acd65ced94a}: CreateProcess(s) failed. GLE = d
2017-07-08 13:31:32, Error [0x0808fe] MIG Plugin {526D451C-721A-4b97-AD34-DCE5D8CD22C5}: [shmig] Failed to get preferred homegroup with hr=0x80070490
2017-07-08 13:31:32, Error [0x0808fe] MIG Plugin {ee036dc0-f9b7-4d2d-bb94-3dd3102c5804}: BRIDGEMIG: CBrgUnattend::CollectBridgeSettings failed: 0x1, 0
2017-07-08 13:31:38, Error [0x0808fe] MIG Plugin {D12A3141-A1FF-4DAD-BF67-1B664DE1CBD6}: WSLicensing: Failed to read machine binding, hr=0x80070002
2017-07-08 13:31:38, Error [0x0808fe] MIG Plugin {D12A3141-A1FF-4DAD-BF67-1B664DE1CBD6}: WSLicensing: Error reading Server Info hr=0x80070490
2017-07-08 13:31:41, Error CSetupAutomation::Resurrect: File not found: C:\$Windows.~BT\Sources\Panther\automation.dat[gle=0x00000002]
2017-07-08 13:31:41, Error SP CSetupPlatform::ResurrectAutomation: Failed to resurrect automation: 0x80070002[gle=0x00000002]
2017-07-08 13:32:03, Error MOUPG CSetupHost::ReportEventW(1618): Result = 0x8024F005
2017-07-08 13:32:03, Error MOUPG SetupHost: Reporting pending reboot event failed: hr = [0x8024F005]
2017-07-08 13:32:03, Error MOUPG CDlpManager::AsyncSerializeDisable(471): Result = 0x80070216
6.Find out what is stopping the install, address it by uninstalling, disabling or updating and retry the installation.
7.In the above file if you will look closely the issue is created by Avast and hence uninstalling it fixed the issue.
Recommended for you:
That’s it you have successfully Fix The Installation Failed In The First Boot Phase Error but if you still have any queries regarding this guide then feel free to ask them in the comment’s section.