Windows 업그레이드 로그 파일

참고

이 문서는 400개 수준 문서(고급)입니다.

이 섹션의 전체 문서 목록은 Windows 업그레이드 오류 해결 을 참조하세요.

업그레이드 프로세스의 각 단계에서 여러 로그 파일이 만들어집니다. 업그레이드 문제를 해결하려면 이러한 로그 파일이 필요합니다. 기본적으로 이러한 로그 파일이 포함된 폴더는 업그레이드 대상 컴퓨터에 숨겨져 있습니다. 로그 파일을 보려면 숨겨진 항목을 보도록 Windows 탐색기를 구성하거나, 이러한 로그를 자동으로 수집하는 도구를 사용합니다. 가장 유용한 로그는 setupact.log입니다. Windows 설치 프로그램 단계에 따라 로그 파일이 저장된 폴더가 다릅니다. 확장 코드에서 단계를 확인할 수 있습니다.

참고

오류 코드 및 로그 파일 찾기에 대한 도움말은 이 섹션의 Windows 오류 보고 문서를 참조하세요.

다음 표에서는 일부 로그 파일과 이를 문제 해결에 사용하는 방법을 설명합니다.

로그 파일 단계: 위치 설명 사용해야 하는 경우
setupact.log 하위 수준:
$Windows.~BT\Sources\Panther
하위 수준 단계의 설치 작업에 대한 정보를 포함합니다. 롤백 조사를 위해 모든 하위 수준 실패 및 시작점이 포함됩니다.
Setup.act는 설치 문제를 진단하는 데 가장 중요한 로그입니다.
setupact.log OOBE:
$Windows.~BT\Sources\Panther\UnattendGC
OOBE 단계의 작업에 대한 정보를 포함합니다. OOBE 단계 및 작업 중에 실패한 롤백 조사 - 0x4001C, 0x4001D, 0x4001E, 0x4001F.
setupact.log 롤백:
$Windows.~BT\Sources\Rollback
롤백 중에 수행된 작업에 대한 정보를 포함합니다. 일반 롤백을 조사합니다(0xC1900101).
setupact.log 초기화 이전(하위 수준 이전):
Windows
설치 초기화에 대한 정보를 포함합니다. 설치 프로그램이 시작되지 않은 경우에 해당합니다.
setupact.log 업그레이드 이후(OOBE 이후):
Windows\Panther
설치 중에 수행된 설치 작업에 대한 정보를 포함합니다. 업그레이드 이후 관련 문제를 조사합니다.
setuperr.log setupact.log와 같습니다. 설치 중에 발생한 설치 오류에 대한 정보를 포함합니다. 설치 단계에서 발생한 모든 오류를 검토합니다.
miglog.xml 업그레이드 이후(OOBE 이후):
Windows\Panther
설치 중에 마이그레이션된 항목에 대한 정보를 포함합니다. 업그레이드 이후 데이터 마이그레이션 문제를 확인합니다.
BlueBox.log 하위 수준:
Windows\Logs\Mosetup
및 Windows 업데이트 간의 setup.exe 정보 통신을 포함합니다. WSUS 및 Windows 업데이트 하위 수준 오류 중에 사용하거나 0xC1900107.
추가 롤백 로그:
Setupmem.dmp
setupapi.dev.log
이벤트 로그(*.evtx)
$Windows.~BT\Sources\Rollback 롤백 중에 수집된 추가 로그입니다. Setupmem.dmp: 업그레이드하는 동안 OS 버그가 확인되면 설치 프로그램에서 미니 덤프를 추출하려고 시도합니다.
Setupapi: 장치 설치 문제 - 0x30018
이벤트 로그: 일반 롤백(0xC1900101) 또는 예기치 않은 다시 시작.

로그 항목 구조

또는 setupact.logsetuperr.log 항목에는 다음 요소가 포함됩니다.

  1. 날짜 및 시간 - 2023-09-08 09:20:05

  2. 로그 수준 - 정보, 경고, 오류, 심각한 오류

  3. 로깅 구성 요소 - CONX, MOUPG, PANTHR, SP, IBSLIB, MIG, DISM, CSI, CBS

로깅 구성 요소 SP(설치 플랫폼), MIG(마이그레이션 엔진) 및 CONX(호환성 정보)는 Windows 설치 프로그램 오류 문제를 해결하는 데 유용합니다.

  1. 메시지 - 작업이 성공적으로 완료되었습니다.

다음 예제를 참조하세요.

날짜/시간 로그 수준 구성 요소 메시지
2023-09-08 09:23:50, 경고 MIG 개체 C:\Users\name\Cookies를 바꿀 수 없습니다. 대상 개체는 제거할 수 없습니다.

로그 파일 분석

다음 지침은 IT 전문가를 위한 것입니다. 또한 결과코드에 익숙해지고 코드를 확장하려면 이 가이드의 오류 코드 업그레이드 섹션을 참조하세요.

Windows 설치 프로그램 로그 파일을 분석하려면:

  1. Windows 설치 프로그램 오류 코드를 확인합니다. 업그레이드 프로세스에 성공하지 못한 경우 Windows 설치 프로그램에서 오류 코드를 반환해야 합니다.

  2. 오류 코드의 확장 코드 부분에 따라 조사할 로그 파일의 형식과 위치를 결정합니다.

  3. 메모장 등의 텍스트 편집기에서 로그 파일을 엽니다.

  4. Windows 설치 프로그램 오류 코드의 결과 코드 부분을 사용하여 파일에서 결과 코드를 검색하고 코드의 마지막 항목을 찾습니다. 또는 아래 7단계에서 설명된 "abort" 및 abandoning" 텍스트 문자열을 검색합니다.

  5. 결과 코드의 마지막 항목을 찾으려면

    1. 파일 아래쪽으로 스크롤하고 마지막 문자 뒤를 선택합니다.
    2. 편집을 선택합니다.
    3. 찾기를 선택합니다.
    4. 결과 코드를 입력합니다.
    5. 방향에서 위쪽을 선택합니다.
    6. 다음 찾기를 선택합니다.
  6. 결과 코드가 마지막으로 나타나는 경우 파일의 이 위치에서 몇 줄을 스크롤하고 결과 코드를 생성하기 전에 실패한 프로세스를 검토합니다.

  7. 다음과 같은 중요한 텍스트 문자열을 검색합니다.

    • Shell application requested abort
    • Abandoning apply due to error for object
  8. 이 섹션에 나타나는 Win32 오류를 디코딩합니다.

  9. 이 섹션에서 관찰된 오류의 타임스탬프를 적어 둡니다.

  10. 다른 로그 파일에서 이러한 타임스탬프나 오류와 일치하는 추가 정보를 검색합니다.

예를 들어 오류에 대한 오류 코드가 0x2000D 0x8007042B 가정합니다. 8007042B를 검색하면 파일의 다음 콘텐츠가 setuperr.log 표시됩니다.

참고

다음 텍스트의 일부 줄은 가독성을 향상시키기 위해 단축됩니다. 예를 들면 다음과 같습니다.

  • 각 줄의 시작 날짜 및 시간(예: 2023-10-05 15:27:08)이 분 및 초로 단축됩니다.
  • 긴 텍스트 문자열인 인증서 파일 이름은 "CN"으로 단축됩니다.

setuperr.log 콘텐츠:

27:08, Error           SP     Error READ, 0x00000570 while gathering/applying object: File, C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN]. Will return 0[gle=0x00000570]
27:08, Error           MIG    Error 1392 while gathering object C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN]. Shell application requested abort![gle=0x00000570]
27:08, Error                  Gather failed. Last error: 0x00000000
27:08, Error           SP     SPDoFrameworkGather: Gather operation failed. Error: 0x0000002C
27:09, Error           SP     CMigrateFramework: Gather framework failed. Status: 44
27:09, Error           SP     Operation failed: Migrate framework (Full). Error: 0x8007042B[gle=0x000000b7]
27:09, Error           SP     Operation execution failed: 13. hr = 0x8007042B[gle=0x000000b7]
27:09, Error           SP     CSetupPlatformPrivate::Execute: Execution of operations queue failed, abandoning. Error: 0x8007042B[gle=0x000000b7]

첫 번째 줄은 C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN] 파일로 0x00000570 오류가 있음을 나타냅니다.

27:08, Error           SP     Error READ, 0x00000570 while gathering/applying object: File, C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN]. Will return 0[gle=0x00000570]

오류 0x00000570 ERROR_FILE_CORRUPT: 파일 또는 디렉터리가 손상되어 읽을 수 없음에 해당하는 Win32 오류 코드입니다.

따라서 손상된 파일 C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18[CN]을 마이그레이션할 수 없어 Windows 설치 프로그램이 실패했습니다. 이 파일은 로컬 시스템 인증서이고 안전하게 삭제할 수 있습니다. 파일을 검색하여 setupact.log 자세한 내용을 검색하면 Shell 애플리케이션에서 중단을 요청한 문구가 의 줄 setuperr.log과 동일한 타임스탬프가 있는 위치에 있습니다. 이 분석은 이 파일이 업그레이드 실패의 원인이라는 의혹을 확인합니다.

setupact.log 콘텐츠:

27:00, Info                   Gather started at 10/5/2023 23:27:00
27:00, Info [0x080489] MIG    Setting system object filter context (System)
27:00, Info [0x0803e5] MIG    Not unmapping HKCU\Software\Classes; it is not mapped
27:00, Info [0x0803e5] MIG    Not unmapping HKCU; it is not mapped
27:00, Info            SP     ExecuteProgress: Elapsed events:1 of 4, Percent: 12
27:00, Info [0x0802c6] MIG    Processing GATHER for migration unit: <System>\UpgradeFramework (CMXEAgent)
27:08, Error           SP     Error READ, 0x00000570 while gathering/applying object: File, C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN]. Will return 0[gle=0x00000570]
27:08, Error           MIG    Error 1392 while gathering object C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 [CN]. Shell application requested abort![gle=0x00000570]
27:08, Info            SP     ExecuteProgress: Elapsed events:2 of 4, Percent: 25
27:08, Info            SP     ExecuteProgress: Elapsed events:3 of 4, Percent: 37
27:08, Info [0x080489] MIG    Setting system object filter context (System)
27:08, Info [0x0803e5] MIG    Not unmapping HKCU\Software\Classes; it is not mapped
27:08, Info [0x0803e5] MIG    Not unmapping HKCU; it is not mapped
27:08, Info            MIG    COutOfProcPluginFactory::FreeSurrogateHost: Shutdown in progress.
27:08, Info            MIG    COutOfProcPluginFactory::LaunchSurrogateHost::CommandLine: -shortened-
27:08, Info            MIG    COutOfProcPluginFactory::LaunchSurrogateHost: Successfully launched host and got control object.
27:08, Error                  Gather failed. Last error: 0x00000000
27:08, Info                   Gather ended at 10/5/2023 23:27:08 with result 44
27:08, Info                   Leaving MigGather method
27:08, Error           SP     SPDoFrameworkGather: Gather operation failed. Error: 0x0000002C

setupapi.dev.log 콘텐츠:

>>>  [Device Install (UpdateDriverForPlugAndPlayDevices) - PCI\VEN_8086&DEV_8C4F]
>>>  Section start 2023/09/26 20:13:01.623
      cmd: rundll32.exe "C:\WINDOWS\Installer\MSI6E4C.tmp",zzzzInvokeManagedCustomActionOutOfProc SfxCA_95972906 484 ChipsetWiX.CustomAction!Intel.Deployment.ChipsetWiX.CustomActions.InstallDrivers
     ndv: INF path: C:\WINDOWS\TEMP\{15B1CD41-69F5-48EA-9F45-0560A40FE2D8}\Drivers\lynxpoint\LynxPointSystem.inf
     ndv: Install flags: 0x00000000
     ndv: {Update Device Driver - PCI\VEN_8086&DEV_8C4F&SUBSYS_05BE1028&REV_04\3&11583659&0&F8}
     ndv:      Search options: 0x00000081
     ndv:      Searching single INF 'C:\WINDOWS\TEMP\{15B1CD41-69F5-48EA-9F45-0560A40FE2D8}\Drivers\lynxpoint\LynxPointSystem.inf'
     dvi:      {Build Driver List} 20:13:01.643
     dvi:           Searching for hardware ID(s):
     dvi:                pci\ven_8086&dev_8c4f&subsys_05be1028&rev_04
     dvi:                pci\ven_8086&dev_8c4f&subsys_05be1028
     dvi:                pci\ven_8086&dev_8c4f&cc_060100
     dvi:                pci\ven_8086&dev_8c4f&cc_0601
     dvi:           Searching for compatible ID(s):
     dvi:                pci\ven_8086&dev_8c4f&rev_04
     dvi:                pci\ven_8086&dev_8c4f
     dvi:                pci\ven_8086&cc_060100
     dvi:                pci\ven_8086&cc_0601
     dvi:                pci\ven_8086
     dvi:                pci\cc_060100
     dvi:                pci\cc_0601
     sig:           {_VERIFY_FILE_SIGNATURE} 20:13:01.667
     sig:                Key      = lynxpointsystem.inf
     sig:                FilePath = c:\windows\temp\{15b1cd41-69f5-48ea-9f45-0560a40fe2d8}\drivers\lynxpoint\lynxpointsystem.inf
     sig:                Catalog  = c:\windows\temp\{15b1cd41-69f5-48ea-9f45-0560a40fe2d8}\drivers\lynxpoint\LynxPoint.cat
     sig:                Success: File is signed in catalog.
     sig:           {_VERIFY_FILE_SIGNATURE exit(0x00000000)} 20:13:01.683
     dvi:           Created Driver Node:
     dvi:                HardwareID   - PCI\VEN_8086&DEV_8C4F
     dvi:                InfName      - c:\windows\temp\{15b1cd41-69f5-48ea-9f45-0560a40fe2d8}\drivers\lynxpoint\lynxpointsystem.inf
     dvi:                DevDesc      - Intel(R) QM87 LPC Controller - 8C4F
     dvi:                Section      - Needs_ISAPNP_DRV
     dvi:                Rank         - 0x00ff2001
     dvi:                Signer Score - WHQL
     dvi:                DrvDate      - 04/04/2016
     dvi:                Version      - 10.1.1.18
     dvi:      {Build Driver List - exit(0x00000000)} 20:13:01.699
     ndv:      Searching currently installed INF
     dvi:      {Build Driver List} 20:13:01.699
     dvi:           Searching for hardware ID(s):
     dvi:                pci\ven_8086&dev_8c4f&subsys_05be1028&rev_04
     dvi:                pci\ven_8086&dev_8c4f&subsys_05be1028
     dvi:                pci\ven_8086&dev_8c4f&cc_060100
     dvi:                pci\ven_8086&dev_8c4f&cc_0601
     dvi:           Searching for compatible ID(s):
     dvi:                pci\ven_8086&dev_8c4f&rev_04
     dvi:                pci\ven_8086&dev_8c4f
     dvi:                pci\ven_8086&cc_060100
     dvi:                pci\ven_8086&cc_0601
     dvi:                pci\ven_8086
     dvi:                pci\cc_060100
     dvi:                pci\cc_0601
     dvi:           Created Driver Node:
     dvi:                HardwareID   - PCI\VEN_8086&DEV_8C4F
     dvi:                InfName      - C:\WINDOWS\System32\DriverStore\FileRepository\lynxpointsystem.inf_amd64_cd1e518d883ecdfe\lynxpointsystem.inf
     dvi:                DevDesc      - Intel(R) QM87 LPC Controller - 8C4F
     dvi:                Section      - Needs_ISAPNP_DRV
     dvi:                Rank         - 0x00ff2001
     dvi:                Signer Score - WHQL
     dvi:                DrvDate      - 10/03/2016
     dvi:                Version      - 10.1.1.38
     dvi:      {Build Driver List - exit(0x00000000)} 20:13:01.731
     dvi:      {DIF_SELECTBESTCOMPATDRV} 20:13:01.731
     dvi:           Default installer: Enter 20:13:01.735
     dvi:                {Select Best Driver}
     dvi:                     Class GUID of device changed to: {4d36e97d-e325-11ce-bfc1-08002be10318}.
     dvi:                     Selected Driver:
     dvi:                          Description - Intel(R) QM87 LPC Controller - 8C4F
     dvi:                          InfFile     - c:\windows\system32\driverstore\filerepository\lynxpointsystem.inf_amd64_cd1e518d883ecdfe\lynxpointsystem.inf
     dvi:                          Section     - Needs_ISAPNP_DRV
     dvi:                {Select Best Driver - exit(0x00000000)}
     dvi:           Default installer: Exit
     dvi:      {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 20:13:01.743
     ndv:      Currently Installed Driver:
     ndv:           Inf Name       - oem1.inf
     ndv:           Driver Date    - 10/03/2016
     ndv:           Driver Version - 10.1.1.38
     ndv: {Update Device Driver - exit(00000103)}
!    ndv: No better matching drivers found for device 'PCI\VEN_8086&DEV_8C4F&SUBSYS_05BE1028&REV_04\3&11583659&0&F8'.
!    ndv: No devices were updated.
<<<  Section end 2019/09/26 20:13:01.759
<<<  [Exit status: FAILURE(0xC1900101)]

이 분석은 파일을 삭제하여 Windows 업그레이드 오류를 해결할 수 있음을 C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18\[CN] 나타냅니다.

참고

이 예제에서 전체 파일 이름은 입니다 C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18\be8228fb2d3cb6c6b0ccd9ad51b320b4_a43d512c-69f2-42de-aef9-7a88fabdaa3f.