ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Windows의 Disk 블록 에러 확인 및 해결 방법
    Windows 2017. 11. 10. 09:18

    얼마전 사무실의 PC가 윈도우 업데이트도 안되고 프로그램 설치를 해도 계속 실패를 했어서 파악을 해봤습니다.


    위에서 처럼 윈도우 업데이트나 프로그램을 설치하면 아래와 같이 Windows Modules Installer Worker가 과도한 CPU를 점유하는 것을 확인 했습니다.



    좀 더 자세하게 프로세스 세부정보를 확인해 보니 TiWorker.exe가 과도하게 CPU를 점유하고 있었네요.


    Tiworker.exe가 뭔지 찾아보니 TrustedInstaller.exe의 부모프로세스란 것과 Windows Module Installer Service의 한 부분으로 Windows Update에 관여하고 있다고 합니다.

    "Tiworker.exe" is by Microsoft. Its parent process is "TrustedInstaller.exe". Both reside in "C:\Windows\servicing" and are part of the Windows Module Installer Service. They apply Windows Update packages to the "C:\Windows\WinSxS" component store to update OS components rather than individual files. They also update the hard links into the component store found in "C:\Windows\System32" and other Windows OS directories so that Windows runs the updated component(s). Because the CPU usage of "Tiworker.exe" when it runs just after booting up is sometimes high, online advice to disable it is frequent. It should not be disabled, deleted, or uninstalled. That will prevent proper installation of Windows Update files, which may prevent crucial security updates. (The WannaCry ransomware exploited a bug fixed in an update two months before it appeared.) Microsoft Corporation introduced "side-by-side assembly" in Windows Vista to mitigate a developing DLL version conflict problem in Windows XP.


    역시 Windows Update에 문제가 있는 듯하여 이벤트 뷰어에서 시스템 관련 로그를 확인해보니 아래와 같이 Disk 오류가 계속 올라오고 있었네요.


    근데 하드디스크를 2개 사용하고 있는 저는 이벤트 메시지에 나온 디스크 장치가 어떤것인지 알 수가 없었습니다.


    이를 확인하기 위해 Winobj를 다운로드 받습니다.

    https://docs.microsoft.com/ko-kr/sysinternals/downloads/winobj


    Winobj을 관리자 권한으로 실행합니다. 사용자 권한으로 실행하면 일부 목록이 보이지 않을 수 있습니다.

    그리고 Device 하위에 마운트 된 디스크 폴더를 클릭하면 이벤트 뷰어에서 나온 symbolicLink를 확인 할 수 있습니다.


    제 0번 디스크는 Windows가 설치된 SSD 하드인데도 베드섹터가 있나보네요.


    베드섹터를 해결 하기 위한 방법은 아래의 세가지 정도가 있네요

    • chkdsk /F /R 명령 실행
    • sfc /scannow 명령 실행
    • 디스크 교체
    다행히 저는 chkdsk에서 해결되서 디스크를 교체하는 불상사는 피할 수 있었습니다. ㅎㅎㅎ


    'Windows' 카테고리의 다른 글

    IIS 고급 로깅 설정  (0) 2017.11.16
    Windows 작업 스케줄러에 URL 실행 예약작업 등록  (4) 2017.11.14
    Windows에서 DNS 관련  (0) 2015.09.17
    원격 세션 개수 제한  (0) 2015.09.17
    윈도우 시간 동기화 주기 수정  (0) 2015.09.16
Designed by Tistory.