Microsoft MVP성태의 닷넷 이야기
오류 유형: 537. "sfc /scannow" 실행 중 시스템이 부팅되는 현상 [링크 복사], [링크+제목 복사],
조회: 11521
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 
(연관된 글이 1개 있습니다.)

"sfc /scannow" 실행 중 시스템이 부팅되는 현상

얼마 전부터 컴퓨터가 좀 이상했습니다. 대부분은 제가 최대 절전 모드로 종료를 하기 때문에 괜찮았는데, 새롭게 재부팅을 하는 경우에는 부팅 후 초기에 여러 복잡한 작업을 하면 윈도우 운영체제가 비정상 종료하는 현상이 발생합니다. 그래서, 그런 경우에는 부팅 후 잠시 자리를 비운 다음 돌아와서 작업을 했는데요... 물론 그럴 때는 또 괜찮았습니다. ^^;

아무래도 안 되겠다 싶어서, 관리자 권한의 명령행을 띄워 "sfc /scannow"를 실행했는데요. 100% 완료되기도 전에 말 그대로 ^^; 100% 확률로 컴퓨터가 강제로 재부팅이 되어버립니다. 즉 sfc 실행을 완료하지 못하는데요. 이럴 때는 안전 모드로 부팅해 "sfc /scannow"를 실행해야 합니다.

이를 위해 "msconfig.exe"를 띄워 다음 그림과 같이 "Safe boot"에 체크하고 재부팅을 하면 됩니다.

sfc_scannow_1.png

또는 현재의 부팅 설정을 복사해 새로운 부팅 항목을 생성해서,

c:\temp> bcdedit /copy {current} /d "Windows Safeboot"

"Safe boot" 전용 항목으로 설정해서 사용하는 것도 좋은 방법입니다.

sfc_scannow_2.png

이렇게 해서, 컴퓨터를 종료 후 다시 전원 버튼을 눌러 켜는 경우 최초 화면에 "Choose an operating system"이라고 묻는 단계가 나오는데 거기에 "Safe boot"로 선택했던 항목을 설정해 시작하면 됩니다.

일단 안전 모드로 부팅이 되었으면 명령행에서 "sfc /scannow"를 실행 시 정상적으로 100% 단계까지 진행하는 것을 확인할 수 있습니다. 그리고 대부분 다음과 같은 식의 메시지를 보게 될 것입니다. ^^

D:\> sfc /scannow

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection found corrupt files and successfully repaired
them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.




참고로, bcdedit 수행 시 다음과 같은 오류가 발생한다면?

C:\temp> bcdedit /copy {current} /d "Windows Safeboot"
The specified entry identifier is not valid.
The parameter is incorrect.

명령행 창을 관리자 권한으로 실행한 상태여야 합니다.




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]

[연관 글]






[최초 등록일: ]
[최종 수정일: 3/12/2020]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 61  62  63  64  65  66  67  68  69  [70]  71  72  73  74  75  ...
NoWriterDateCnt.TitleFile(s)
11892정성태5/10/201912519웹: 38. HTTP Cookie의 expires 시간 형식(RFC7231)
11891정성태5/9/201915006.NET Framework: 831. (번역글) .NET Internals Cookbook Part 12 - Memory structure, attributes, handles
11890정성태5/8/201910762개발 환경 구성: 439. "Visual Studio Enterprise is required to execute the test." 메시지와 관련된 코드 기록
11889정성태5/8/201911612개발 환경 구성: 438. mstest, QTAgent의 로그 파일 설정 방법
11888정성태5/8/201926786.NET Framework: 830. C# - 비동기 호출을 취소하는 CancellationToken의 간단한 예제 코드 [1]파일 다운로드1
11887정성태5/8/201913315.NET Framework: 829. C# - yield 문을 사용할 수 있는 메서드의 조건
11886정성태5/7/201912390오류 유형: 534. mstest.exe 실행 시 "Visual Studio Enterprise is required to execute the test." 오류 [2]
11885정성태5/7/20199351오류 유형: 533. mstest.exe 실행 시 "File extension specified '.loadtest' is not a valid test extension." 오류 발생
11884정성태5/5/201913038.NET Framework: 828. C# DLL에서 Win32 C/C++처럼 dllexport 함수를 제공하는 방법 - 두 번째 이야기
11883정성태5/3/201917339.NET Framework: 827. C# - 인터넷 시간 서버로부터 받은 시간을 윈도우에 적용하는 방법파일 다운로드1
11882정성태5/2/201914269.NET Framework: 826. (번역글) .NET Internals Cookbook Part 11 - Various C# riddles파일 다운로드1
11881정성태4/28/201914516오류 유형: 532. .NET Core 프로젝트로 마이그레이션 시 "CS0579 Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute" 오류 발생
11880정성태4/25/201911216오류 유형: 531. 이벤트 로그 오류 - Task Scheduling Error: m->NextScheduledSPRetry 1547, m->NextScheduledEvent 1547
11879정성태4/24/201916450.NET Framework: 825. (번역글) .NET Internals Cookbook Part 10 - Threads, Tasks, asynchronous code and others파일 다운로드2
11878정성태4/22/201914453.NET Framework: 824. (번역글) .NET Internals Cookbook Part 9 - Finalizers, queues, card tables and other GC stuff파일 다운로드1
11877정성태4/22/201914407.NET Framework: 823. (번역글) .NET Internals Cookbook Part 8 - C# gotchas파일 다운로드1
11876정성태4/21/201914225.NET Framework: 822. (번역글) .NET Internals Cookbook Part 7 - Word tearing, locking and others파일 다운로드1
11875정성태4/21/201914569오류 유형: 530. Visual Studo에서 .NET Core 프로젝트를 열 때 "One or more errors occurred." 오류 발생
11874정성태4/20/201914610.NET Framework: 821. (번역글) .NET Internals Cookbook Part 6 - Object internals파일 다운로드1
11873정성태4/19/201913582.NET Framework: 820. (번역글) .NET Internals Cookbook Part 5 - Methods, parameters, modifiers파일 다운로드1
11872정성태4/17/201914045.NET Framework: 819. (번역글) .NET Internals Cookbook Part 4 - Type members파일 다운로드1
11871정성태4/16/201913882.NET Framework: 818. (번역글) .NET Internals Cookbook Part 3 - Initialization tricks [3]파일 다운로드1
11870정성태4/16/201911560.NET Framework: 817. Process.Start로 실행한 콘솔 프로그램의 출력 결과를 얻는 방법파일 다운로드1
11869정성태4/15/201915418.NET Framework: 816. (번역글) .NET Internals Cookbook Part 2 - GC-related things [2]파일 다운로드2
11868정성태4/15/201913132.NET Framework: 815. CER(Constrained Execution Region)이란?파일 다운로드1
11867정성태4/15/201912150.NET Framework: 814. Critical Finalizer와 SafeHandle의 사용 의미파일 다운로드1
... 61  62  63  64  65  66  67  68  69  [70]  71  72  73  74  75  ...