{"id":10416,"date":"2019-07-11T10:49:24","date_gmt":"2019-07-11T08:49:24","guid":{"rendered":"http:\/\/159.69.82.204\/win\/?p=10416"},"modified":"2019-08-19T00:37:22","modified_gmt":"2019-08-18T22:37:22","slug":"windows-july-9-2019-updates-breaks-sfc","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2019\/07\/11\/windows-july-9-2019-updates-breaks-sfc\/","title":{"rendered":"Windows: July 9, 2019 Updates breaks sfc"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline;\" src=\"http:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2013\/03\/winb.jpg\" width=\"58\" height=\"58\" \/>[<a href=\"https:\/\/www.borncity.com\/blog\/2019\/07\/11\/windows-juli-2019-updates-machen-probleme-mit-sfc\/\" target=\"_blank\" rel=\"noopener noreferrer\">German<\/a>]After Microsoft released its Windows Update for July 9, 2019, the system file checker (sfc) command to repair broken files under Windows finds some damaged files, but can't fix them. But an analysis shows, that it's not caused by Windows 10 security updates released in July 2019. It seems that an updated signature file for Windows Defender is causing this issue since July 10, 2019.<\/p>\n<p><!--more--><\/p>\n<h2>What is sfc about?<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vg01.met.vgwort.de\/na\/f8495cf8142144b482eebc2f2fbf8414\" alt=\"\" width=\"1\" height=\"1\" \/>In Windows, you can use an administrative command prompt window to check the system for corrupted files. To do this, simply use the command:<\/p>\n<p><em>sfc \/scannow<\/em><\/p>\n<p>If the command finds corrupted files, the System File Checker (sfc) should be able to repair them. However, it happens again and again that this repair isn't successful. And this case happened again, after Microsoft has released the July 9, 2019 updates for Windows.<\/p>\n<blockquote><p>I already got <a href=\"https:\/\/www.borncity.com\/blog\/2018\/06\/30\/windows-server-2016-mai-2018-update-killt-sfc\/#comment-74166\" target=\"_blank\" rel=\"noopener noreferrer\">a comment<\/a> from German blog reader Marco on July 2, 2019, who posted this to my blog post <a href=\"ttps:\/\/www.borncity.com\/blog\/2018\/06\/30\/windows-server-2016-mai-2018-update-killt-sfc\/\">Windows Server 2016: Mai 2018-Update killt sfc<\/a> from June 2018 . He found uncorrectable errors with sfc:<\/p><\/blockquote>\n<blockquote><p>Status today July 2019 &#8211; just discover more problems with SFC \/scannow under Windows Server 2016 1607 (Build 14393.3025) &#8211; SFC hangs at 45% (since more than one day) &#8211; no improvement even after restart &#8211; DISM command ran before without problems &#8211; DISM \/online \/cleanup-image \/restorehealth &#8211; warnings like \"Primitive installers committed for repair\" or \"Failed to internally open package\" appear in CBS.log. HRESULT = 0x800f0805 &#8211; CBS_E_INVALID_PACKAGE]\" or \"Failed to OpenPackage using worker session [HRESULT = 0x800f0805]\"\".<br \/>\nIs anyone here familiar with anything?<\/p><\/blockquote>\n<h2>Some hints for Windows 10<\/h2>\n<p>Yesterday I noticed also some comments from users at German site deskmodder.de. The comments <a href=\"https:\/\/www.deskmodder.de\/blog\/2019\/07\/09\/kb4507453-windows-10-1903-18362-239-manueller-download-changelog-kb4506991-net-framework\/#comment-105669\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> and <a href=\"https:\/\/www.deskmodder.de\/blog\/2019\/07\/09\/kb4507453-windows-10-1903-18362-239-manueller-download-changelog-kb4506991-net-framework\/#comment-105669\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> are claiming issues with sfc. One user tried <em>sfc \/cannow <\/em>after installing the July 9, 2019 update on three Windows 10 V1903 systems and encountered issues. sfc found damaged files, but cannot fix them. Other users confirmed this in follow up comments.<\/p>\n<p>There are also comments within <a href=\"https:\/\/www.wilderssecurity.com\/threads\/system-file-check-defender-and-windows-10-1903.418588\/\" target=\"_blank\" rel=\"noopener noreferrer\">this thread at wildersecurity.com<\/a>, where several users are also describing this issue. Later I found at askwoody.com <a href=\"https:\/\/www.askwoody.com\/2019\/patch-lady-sfc-scannow-issue\/\" target=\"_blank\" rel=\"noopener noreferrer\">this post<\/a> from Susan Bradley, mentions the same issue:<\/p>\n<blockquote><p>Starting today, Windows 10 users are finding that the \/sfc scannow feature is no longer working and that it states it found, but could not fix, corrupted Windows Defender PowerShell files.<\/p>\n<p>Instead, it appears to be related to the latest definition updates for Windows Defender, which were released this morning and are version 1.297.823.0.<\/p><\/blockquote>\n<p>Susan wrote, the scan error is caused by the last signature files of Windows Defender (version 1.297.823.0). Susan refers to the article here by colleague Lawrence Abrams on Bleeping Computer (see below).<\/p>\n<h2>Also issues in Windows 7?<\/h2>\n<p>German blog reader Dennis T. has left this night <a href=\"https:\/\/www.borncity.com\/blog\/2019\/07\/10\/patchday-updates-fr-windows-7-8-1-server-9-juli-2019-2\/#comment-74586\" target=\"_blank\" rel=\"noopener noreferrer\">a comment<\/a> to my blog post <a href=\"https:\/\/www.borncity.com\/blog\/2019\/07\/10\/patchday-updates-fr-windows-7-8-1-server-9-juli-2019-2\/\" target=\"_blank\" rel=\"noopener noreferrer\">Patchday: Updates f\u00fcr Windows 7\/8.1\/Server (9. Juli 2019)<\/a>, because he run into a similar issue with Windows 7.<\/p>\n<blockquote><p>Yesterday I installed KB4507456 (Security Only) for Windows 7 for 32 bit and got an error message after running sfc \/scannow. The log contains the files \"tsgqec.dll\" and \"rdvidcrl.dll\" which cannot be repaired (hash mismatch). Before installing KB4507456, sfc \/scannow and dism \/online \/Cleanup image \/scanhealth ran through cleanly. Here is my question and request: Did or can anyone run sfc \/scannow after installing KB4507456 and tell if this is done without error message? I have tested 2 computers, both of them throw out the same error. Many thanks in advance<\/p><\/blockquote>\n<p>But I'm not sure, whether this is the same issue.<\/p>\n<h2>Analysis: Defender signature file is to blame<\/h2>\n<p>MVP colleague Lawrence Abrams has also noticed the <a href=\"https:\/\/www.wilderssecurity.com\/threads\/system-file-check-defender-and-windows-10-1903.418588\/\" target=\"_blank\" rel=\"noopener noreferrer\">comments within this thread<\/a> at wildersecurity.com. Abrams was then able to reproduce the issue in a virtual machine running Windows 10, if Windows Defender was configured as virus protection. But surprisingly he had not installed the July 2019 security updates on that machine. He described his findings within <a href=\"https:\/\/www.bleepingcomputer.com\/news\/microsoft\/windows-10-sfc-scannow-cant-fix-corrupted-files-after-update\/\" target=\"_blank\" rel=\"noopener noreferrer\">this article here<\/a>.<\/p>\n<p><a href=\"https:\/\/www.bleepstatic.com\/images\/news\/Microsoft\/Windows-10\/s\/sfc\/scannow-broken\/sfc-scannow.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" title=\"sfc \/scannow-Fehler\" src=\"https:\/\/www.bleepstatic.com\/images\/news\/Microsoft\/Windows-10\/s\/sfc\/scannow-broken\/sfc-scannow.jpg\" alt=\"sfc \/scannow-Fehler\" width=\"593\" height=\"287\" \/><\/a><br \/>\n(sfc \/scannow error, Source: Bleeping Computer, <a href=\"https:\/\/www.bleepstatic.com\/images\/news\/Microsoft\/Windows-10\/s\/sfc\/scannow-broken\/sfc-scannow.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click to zoom<\/a>)<\/p>\n<p>The above screenshot shows the error message. The sfc command stores its error messages in the following file:<\/p>\n<p><code>C:\\Windows\\Logs\\CBS\\CBS.log<\/code><\/p>\n<p>An evaluation by Abrams showed that sfc claimed, that the file hashes for the Windows Defender PowerShell component values in the folder<\/p>\n<p>C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\Modules\\Defender<\/p>\n<p>are not matching the component files in the WinSxS folder. Abrams writes that the component files are referenced via hard link. The error messages on deviating hash values are therefore not plausible.<\/p>\n<blockquote><p>The colleagues from German site deskmodder.de have also taken up the topic in <a href=\"https:\/\/www.deskmodder.de\/blog\/2019\/07\/10\/windows-10-juli-update-sfc-scannow-beschaedigte-dateien-gefunden-die-nicht-repariert-werden-koennen\/\" target=\"_blank\" rel=\"noopener noreferrer\">this article<\/a>. They write that there might be an error because the 32-bit and 64-bit hash values were wrongly compared.<\/p><\/blockquote>\n<p>In another analysis, Abrams writes that the problem is probably caused by the latest definition updates for Windows Defender to version 1.297.823.0, released on July 10, 2019. Some users then managed to repair the damaged files with the following <em>dism<\/em> commands:<\/p>\n<pre><code>DISM \/Online \/Cleanup-Image \/CheckHealth\r\nDISM \/Online \/Cleanup-Image \/ScanHealth\r\nDISM \/Online \/Cleanup-Image \/RestoreHealth<\/code><\/pre>\n<p>If that doesn't work, you have to wait and see whether Microsoft will release new definition updates for Windows Defender or otherwise correct them.<\/p>\n<p><strong>Note:<\/strong> At German site deskmodder.de user DK2000 added <a href=\"https:\/\/www.deskmodder.de\/blog\/2019\/07\/10\/windows-10-juli-update-sfc-scannow-beschaedigte-dateien-gefunden-die-nicht-repariert-werden-koennen\/#comment-105712\" target=\"_blank\" rel=\"noopener noreferrer\">this comment<\/a> with his analysis, what happened with defender signature update KB4052623. Cite:<\/p>\n<blockquote><p>The point is not that 32bit was confused with 64bit, but that KB4052623 directly updates the files in the 64bit package, cirumvents the component store, without updating the catalog. The component store doesn't know anything about the new files and still compares the old files. So sfc expects the old files here as well, just like DISM with RetoreHealth.<\/p><\/blockquote>\n<p><strong>Addendum:<\/strong>\u00a0The issue has been fixed, see\u00a0<a href=\"https:\/\/borncity.com\/win\/2019\/08\/19\/microsoft-fixes-the-windows-defender-sfc-bug-august-2019\/\" rel=\"bookmark\">Microsoft fixes the Windows Defender sfc bug (August 2019)<\/a>.<\/p>\n<p><strong>Similar articles:<br \/>\n<\/strong><a href=\"https:\/\/borncity.com\/win\/2019\/07\/10\/patchday-updates-fr-windows-7-8-1-server-9-juli-2019-2\/\">Patchday: Updates for Windows 7\/8.1\/Server (July 9, 2019)<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2019\/07\/10\/patchday-windows-10-updates-july-9-2019\/\">Patchday Windows 10 Updates (July 9, 2019)<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2018\/06\/30\/windows-server-2016-may-2018-update-bricks-sfc\/\">Windows Server 2016: May 2018 Update bricks sfc<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2017\/04\/26\/windows-10-v1703-fix-for-dism-error-0x800f081f\/\">Windows 10 V1703: Fix for DISM error 0x800F081F<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]After Microsoft released its Windows Update for July 9, 2019, the system file checker (sfc) command to repair broken files under Windows finds some damaged files, but can't fix them. But an analysis shows, that it's not caused by Windows &hellip; <a href=\"https:\/\/borncity.com\/win\/2019\/07\/11\/windows-july-9-2019-updates-breaks-sfc\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[463,22,2],"tags":[2035,166,195,194],"class_list":["post-10416","post","type-post","status-publish","format-standard","hentry","category-issue","category-update","category-windows","tag-dism","tag-issues","tag-update","tag-windows"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/10416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=10416"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/10416\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=10416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=10416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=10416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}