Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
We are currently experiencing a critical issue with the booting time in our project environment, and we require urgent assistance to address the matter.
Issue Description:Our project involves the use of the UWF (Unified Write Filter) with the state set to ON. Our primary objective is to achieve an OS boot time of less than 20 seconds. Under normal circumstances, when we perform a proper shutdown, the system adheres to this requirement and boots into the OS within the specified timeframe.
However, the challenge arises when we perform a force shutdown or a hard shutdown. In such cases, the boot time exceeds the desired 20 seconds, and we are unable to achieve the performance targets set for our project.
Environment Details:
Operating System: Windows 10 Enterprise (64-bit)
UWF State: ON
Desired Outcome: We seek assistance in ensuring that the system consistently boots into the OS within 20 seconds, even in scenarios involving force shutdowns. It is crucial for our project's success that the boot time remains within the specified limits under all circumstances.
Steps Taken: We have already implemented the UWF with the state set to ON and observed the desired boot time under normal shutdown conditions. However, we are currently unable to achieve the same efficiency when the system undergoes a force or hard shutdown. we tired with OS level like adding the exclusions in the UWF script and executed it doesn't work.
Additional Information: Any insights, recommendations, or guidance on configuring the UWF settings or optimizing the system for faster boot times, especially after force shutdowns, would be highly appreciated.
Upcoming OSR Seminars | ||
---|---|---|
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead! | ||
Kernel Debugging | 13-17 May 2024 | Live, Online |
Developing Minifilters | 1-5 Apr 2024 | Live, Online |
Internals & Software Drivers | 11-15 Mar 2024 | Live, Online |
Writing WDF Drivers | 26 Feb - 1 Mar 2024 | Live, Online |
Comments
Your goal is probably impossible. There aren't any guarantees about boot time. And while it is in MSFT's interest to make them 'good', it is much more in their interest to perform a checkdisk if necessary for example
I disagree. The goal isn't impossible at all, it just requires a known, immutable, system configuration. This is exactly what UWF with HORM provides. The system is going to resume from the immutable disk and immutable hibernation file. I have no idea if 20s is achievable, but within some small margin of error, something close to 20s likely is.
UWF can't virtualize all disk writes. And even if it did, something like checkdisk can be triggered from hardware indications and cause long delays
the OP probably will get better results with HORM