The title of the question pretty much tells what is going on. If I disable the Unified Write Filter (UWF) on my Windows 10 IoT device the startup happens without any problem. It takes at most a minute, maybe a little bit more.
The problem happens when I have UWF enable. It takes at least 10 minutes to complete its startup sequence. It gets stuck at a screen saying "Please Wait" for almost the entire time. I can also see that it comes online fairly quickly. I can ping to it within the first minute.
At first I thought that it has something to do with the task I created in the task scheduler (since the enabling/disabling of the UWF happens via software), but when disable the task and turn UWF on manually via the command line this problem still occurs.
Is this problem directly related with the write filter? In any case, I have to use UWF (it is a work-related problem).
After doing some fixes (mostly related to a damaged disk), the boot time has shrunken to a little more than 5 minutes.
Update: I recreated an image following those exact steps, and this problem doesn't appear on the new image. Guess Windows is being Windows again!