Buggy chkdsk in Windows update that caused boot failures and damaged file systems has been fixed

Improving Windows' quality by making it not boot?


A Windows 10 update rolled out by Microsoft contained a buggy version of chkdsk that damaged the file system on some PCs and made Windows fail to boot.

The updates that included the fault are KB4586853 and KB4592438. Microsoft's notes on these updates now incorporate a warning: "A small number of devices that have installed this update have reported that when running chkdsk /f, their file system might get damaged and the device might not boot."

The notes further reveal: "This issue is resolved and should now be prevented automatically on non-managed devices," meaning PCs that are not enterprise-managed. On managed PCs Microsoft recommended a group policy setting that rolls back the faulty update. If there are devices that have already hit the issue, Microsoft has listed troubleshooting steps which it says should fix the problem.

The chkdsk utility itself is not listed in the files that are patched by these updates, suggesting that the problem is with other system files called by chkdsk.

The problem was described by users in a German forum, as mentioned on a site run by Windows expert Günter Born here. An administrator for a school IT system ran chkdsk after installing updates, rendering seven PCs unbootable. All the affected systems had SATA SSD drives, causing speculation that it is related to SSD issues. "The /f option of chkdsk probably destroyed the NTFS file system," said the report. "Further analysis of the RAW partition with chkdsk in offline mode revealed errors with a corrupted 'file 9' and an error in the BITMAP attribute of the Master File Table. These could be corrected with chkdsk in offline mode."

Earlier this month, Microsoft said that KB4586853 fixed a compatibility issue with Thunderbolt NVMe SSDs. It is always possible that fixing one problem introduced another.

Microsoft does not publish full details of what is fixed in its updates, only noting key changes or highlights, and the list of changed files. Administrators have to put up with generic descriptions like "this security update includes quality improvements." Although it is always possible that an update will break a working system, the security risks of not updating are greater in most cases.

The original chkdsk goes back to the earliest days of DOS. It can be used either just to scan, or to scan and attempt to fix file system errors. In Windows 10, chkdsk may run automatically at boot if file system errors are detected.

The success of the Windows-as-a-Service concept depends on reliable updates, though given the huge diversity of PC hardware occasional issues like this one are unsurprising. The timing and content of Windows updates is complex and can be configured in various ways, as described here. ®

Similar topics


Other stories you might like

  • Experts: AI should be recognized as inventors in patent law
    Plus: Police release deepfake of murdered teen in cold case, and more

    In-brief Governments around the world should pass intellectual property laws that grant rights to AI systems, two academics at the University of New South Wales in Australia argued.

    Alexandra George, and Toby Walsh, professors of law and AI, respectively, believe failing to recognize machines as inventors could have long-lasting impacts on economies and societies. 

    "If courts and governments decide that AI-made inventions cannot be patented, the implications could be huge," they wrote in a comment article published in Nature. "Funders and businesses would be less incentivized to pursue useful research using AI inventors when a return on their investment could be limited. Society could miss out on the development of worthwhile and life-saving inventions."

    Continue reading
  • Declassified and released: More secret files on US govt's emergency doomsday powers
    Nuke incoming? Quick break out the plans for rationing, censorship, property seizures, and more

    More papers describing the orders and messages the US President can issue in the event of apocalyptic crises, such as a devastating nuclear attack, have been declassified and released for all to see.

    These government files are part of a larger collection of records that discuss the nature, reach, and use of secret Presidential Emergency Action Documents: these are executive orders, announcements, and statements to Congress that are all ready to sign and send out as soon as a doomsday scenario occurs. PEADs are supposed to give America's commander-in-chief immediate extraordinary powers to overcome extraordinary events.

    PEADs have never been declassified or revealed before. They remain hush-hush, and their exact details are not publicly known.

    Continue reading
  • Stolen university credentials up for sale by Russian crooks, FBI warns
    Forget dark-web souks, thousands of these are already being traded on public bazaars

    Russian crooks are selling network credentials and virtual private network access for a "multitude" of US universities and colleges on criminal marketplaces, according to the FBI.

    According to a warning issued on Thursday, these stolen credentials sell for thousands of dollars on both dark web and public internet forums, and could lead to subsequent cyberattacks against individual employees or the schools themselves.

    "The exposure of usernames and passwords can lead to brute force credential stuffing computer network attacks, whereby attackers attempt logins across various internet sites or exploit them for subsequent cyber attacks as criminal actors take advantage of users recycling the same credentials across multiple accounts, internet sites, and services," the Feds' alert [PDF] said.

    Continue reading

Biting the hand that feeds IT © 1998–2022