This commit is contained in:
Greg Lindsay
2016-10-05 10:30:57 -07:00
parent 4738df6758
commit 8bf35d6d08

View File

@ -32,7 +32,7 @@ The following topics and procedures are provided in this guide:
- [Common error codes](#common-error-codes): Causes and mitigation procedures associated with some common error codes. - [Common error codes](#common-error-codes): Causes and mitigation procedures associated with some common error codes.
- [0xC1900101](#0xC1900101): Information about the 0xC1900101 result code. - [0xC1900101](#0xC1900101): Information about the 0xC1900101 result code.
- [0x800xxxxx](#0x800xxxxx): Information about result codes that start with 0x800. - [0x800xxxxx](#0x800xxxxx): Information about result codes that start with 0x800.
- [Other error codes](#less-common-error-codes): Some additional causes and mitigation procedures associated with various error codes. - [Other error codes](#less-common-error-codes): Some causes and mitigation procedures are provided for other error codes.
## The Windows 10 upgrade process ## The Windows 10 upgrade process
@ -60,21 +60,25 @@ WIM = Windows image (Microsoft)
The following steps can resolve many common Windows upgrade problems. The following steps can resolve many common Windows upgrade problems.
1. Attept to repair system files by typing the following commands at an elevated command prompt. It may take several minutes for the command operations to be completed. <OL>
<LI>Attept to repair system files by typing the following commands at an elevated command prompt. It may take several minutes for the command operations to be completed.</LI>
``` ```
DISM.exe /Online /Cleanup-image /Restorehealth DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow sfc /scannow
``` ```
2. Update Windows so that all available recommended updates are installed. <LI>Update Windows so that all available recommended updates are installed.</LI>
3. Uninstall non-Microsoft antivirus software. <LI>Uninstall non-Microsoft antivirus software.
<BR> - Use Windows Defender for protection during the upgrade. <UL>
<BR> - Verify compatibility information and re-install antivirus applications after the upgrade. <LI>Use Windows Defender for protection during the upgrade.
4. Uninstall all nonessential software. <LI>Verify compatibility information and re-install antivirus applications after the upgrade.</LI></LI>
5. Remove nonessential external hardware. </UL>
6. Update firmware and drivers. <LI>Uninstall all nonessential software.</LI>
7. Ensure that "Download and install updates (recommended)" is accepted at the start of the upgrade process. <LI>Remove nonessential external hardware.</LI>
<LI>Update firmware and drivers.</LI>
<LI>Ensure that "Download and install updates (recommended)" is accepted at the start of the upgrade process.</LI>
</OL>
## Upgrade error codes ## Upgrade error codes
@ -242,27 +246,27 @@ To analyze Windows Setup log files:
For example, assume that searching for the result code "8007042B" reveals the following content from the setuperr.log file: For example, assume that searching for the result code "8007042B" reveals the following content from the setuperr.log file:
>Some lines in the text below are shortened for readability. The date and time at the start of each entry, which is formatted as: 2016-09-08 09:20:05, is replaced with [##].
```text ```text
2016-09-08 09:20:05, Error SP Error READ, 0x00000002 while gathering/applying object: apply-success, Action,CMXEPlugin,C:\$WINDOWS.~BT\Sources\ReplacementManifests,Microsoft-Windows-DirectoryServices-ADAM-Client\adammigrate.dll,{43CCF250-2A74-48c6-9620-FC312EC475D6},Apartment. Will return 2[gle=0x000000cb] [##], Error SP Error READ, 0x00000002 while gathering/applying object:
2016-09-08 09:23:33, Error MIG COnlineWinNTPlatform::AddPathToSearchIndexer - Failed to create CSearchManager instance, error: 0x80070422[gle=0x000003f0] [##], Error MIG COnlineWinNTPlatform::AddPathToSearchIndexer - Failed to create CSearchManager instance, error: 0x80070422[gle=0x000003f0]
2016-09-08 09:23:50, Error SP Error WRITE, 0x00000497 while gathering/applying object: File, C:\Users\user1\Cookies. Will return 0 [##], Error SP Error WRITE, 0x00000497 while gathering/applying object: File, C:\Users\user1\Cookies. Will return 0
2016-09-08 09:23:50, Error MIG Error 1175 while applying object C:\Users\user1\Cookies. Shell application requested abort [##], Error MIG Error 1175 while applying object C:\Users\user1\Cookies. Shell application requested abort
2016-09-08 09:23:50, Error [0x08097b] MIG Abandoning apply due to error for object: C:\Users\user1\Cookies [##], Error [0x08097b] MIG Abandoning apply due to error for object: C:\Users\user1\Cookies
2016-09-08 09:23:51, Error Apply failed. Last error: 0x00000000 [##], Error Apply failed. Last error: 0x00000000
2016-09-08 09:23:51, Error SP pSPDoOnlineApply: Apply operation failed. Error: 0x0000002C [##], Error SP pSPDoOnlineApply: Apply operation failed. Error: 0x0000002C
2016-09-08 09:23:52, Error SP Apply: Migration phase failed. Result: 44 [##], Error SP Apply: Migration phase failed. Result: 44
2016-09-08 09:23:52, Error SP Operation failed: OOBE boot apply. Error: 0x8007042B[gle=0x000000b7] [##], Error SP Operation failed: OOBE boot apply. Error: 0x8007042B[gle=0x000000b7]
2016-09-08 09:23:52, Error SP Operation execution failed: 13. hr = 0x8007042B[gle=0x000000b7] [##], Error SP Operation execution failed: 13. hr = 0x8007042B[gle=0x000000b7]
2016-09-08 09:23:52, Error SP Operation execution failed.[gle=0x000000b7] [##], Error SP Operation execution failed.[gle=0x000000b7]
2016-09-08 09:23:52, Error SP CSetupPlatformPrivate::Execute: Failed to deserialize/execute pre-OOBEBoot operations. Error: 0x8007042B[gle=0x000000b7] [##], Error SP CSetupPlatformPrivate::Execute: Failed to deserialize/execute pre-OOBEBoot operations. Error: 0x8007042B[gle=0x000000b7]
``` ```
In the previous text, the third line indicates there was an error **0x00000497** with the folder **C:\Users\user1\Cookies**: In the previous text, the third line indicates there was an error **0x00000497** with the folder **C:\Users\user1\Cookies**:
```text ```text
2016-09-08 09:23:50, Error SP Error WRITE, 0x00000497 while gathering/applying object: File, C:\Users\user1\Cookies. Will return 0 2016-09-08 09:23:50, Error SP Error WRITE, 0x00000497 while gathering/applying object: File, C:\Users\user1\Cookies. Will return 0
``` ```
</B>The error 0x00000497 is a [Win32 error code](https://msdn.microsoft.com/en-us/library/cc231199.aspx) corresponding to: </B>The error 0x00000497 is a [Win32 error code](https://msdn.microsoft.com/en-us/library/cc231199.aspx) corresponding to:
@ -270,19 +274,19 @@ In the previous text, the third line indicates there was an error **0x00000497**
Therefore, Windows Setup failed because it was not able to migrate the **C:\Users\user1\Cookies** folder. Searching the setupact.log file for additional details, the following text is found: Therefore, Windows Setup failed because it was not able to migrate the **C:\Users\user1\Cookies** folder. Searching the setupact.log file for additional details, the following text is found:
```text ```text
2016-09-08 09:23:50, Warning RECAPPLY: Error while moving \\?\C:\Windows.old\Users\user1\Cookies to \\?\C:\Users\user1\Cookies. Error: 0x000000B7 [##], Warning RECAPPLY: Error while moving \\?\C:\Windows.old\Users\user1\Cookies to \\?\C:\Users\user1\Cookies. Error: 0x000000B7
2016-09-08 09:23:50, Info MIG Cannot apply recursively object: C:\Users\user1\Cookies: Win32Exception: Cannot create a file when that file already exists. [0x000000B7] void __cdecl Mig::CUpgradeTransportStreamProxy::CreateFolder(class UnBCL::String *,int,int *,struct ILocalProgress *) [##], Info MIG Cannot apply recursively object: C:\Users\user1\Cookies: Win32Exception: Cannot create a file when that file already exists.
2016-09-08 09:23:50, Warning MIG Could not replace object C:\Users\user1\Cookies. Target Object cannot be removed. Exception class Mig::TargetExistsException: (no exception message provided) void __cdecl Mig::CFileDataStore::Create(class Mig::CDataUnit *) [##], Warning MIG Could not replace object C:\Users\user1\Cookies. Target Object cannot be removed.
2016-09-08 09:23:50, Info MIG Error 1175 during apply of object C:\Users\user1\Cookies. Will ask shell application for resolution. [##], Info MIG Error 1175 during apply of object C:\Users\user1\Cookies. Will ask shell application for resolution.
2016-09-08 09:23:50, Error SP Error WRITE, 0x00000497 while gathering/applying object: File, C:\Users\user1b\Cookies. Will return 0 [##], Error SP Error WRITE, 0x00000497 while gathering/applying object: File, C:\Users\user1b\Cookies. Will return 0
2016-09-08 09:23:50, Error MIG Error 1175 while applying object C:\Users\user1\Cookies. Shell application requested abort [##], Error MIG Error 1175 while applying object C:\Users\user1\Cookies. Shell application requested abort
2016-09-08 09:23:50, Error [0x08097b] MIG Abandoning apply due to error for object: C:\Users\user1\Cookies [##], Error [0x08097b] MIG Abandoning apply due to error for object: C:\Users\user1\Cookies
``` ```
The setupact.log file also contains information detailing the configuration of files and folders. By searching for "C:\Users\user1\Cookies" we are able to determine that this folder is not installed in the default location: The setupact.log file also contains information detailing the configuration of files and folders. By searching for "C:\Users\user1\Cookies" we are able to determine that this folder is not installed in the default location:
```text ```text
2016-09-08 08:49:12, Info MIG Known folder CSIDL_COOKIES: C:\Users\user1\Cookies, default location: No [##], Info MIG Known folder CSIDL_COOKIES: C:\Users\user1\Cookies, default location: No
``` ```
This error can be resolved by configuring the folder to use its default location. This error can be resolved by configuring the folder to use its default location.