Enabling Unified Write Filter (UWF) leads to reboot loop that runs CheckDisk (ChkDsk)

JL 0 Reputation points
2024-04-22T12:32:54.4966667+00:00

We are experiencing file system corruption on Windows 10 after power loss in some rare cases. As a possible solution for this we have started testing out UWF to reduce the risk of corruption. However, after enabling UWF and letting a device power power cycle a large number of time, the device will launch check disk on startup, and now the device is stuck in a loop:

  1. The device starts
  2. Chkdsk runs to completion
  3. Go to step 1

Is this expected behavior? Does UWF "protect" the flag that marks the disk as dirty?

If the device is booted into a recovery disk through USB and a chkdsk is being run from there, the device starts up normally again, without running checkdisk in the boot sequence.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,531 questions
Windows for IoT
Windows for IoT
A family of Microsoft operating systems designed for use in Internet of Things (IoT) devices.
401 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sean Liming 4,601 Reputation points
    2024-04-22T16:35:48.17+00:00

    I set up systems by ignoring boot failures by running this command before enabling UWF:

    bcdedit /set {current} bootstatuspolicy ignoreallfailures


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.