1

I am experimenting with a custom storage class filter driver (based on diskperf.sys that comes with WDK 8). When I install this custom filter driver and reboot the machine, Windows 10 displays INACCESSIBLE_BOOT_DEVICE screen of death and won't boot.

Safe Mode, Last Known Good Configuration, System Restore, Boot Logging nothing seems to work. It just keeps showing me the Advance Boot Options menu after each try.

I tried to get rid of the installed driver from command line using the original installation inf file and I believe the driver was removed but the system still won't boot. My only resort is to reinstall Windows when this happens. I've already done that twice but I need a quicker way to get my Windows running when this happens.

1

Boot your computer from a WinPE disk, then load the SYSTEM registry hive that could be located in Windows\System32\Config directory.

Next navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e967-e325-11ce-bfc1-08002be10318}. Remove only diskperf from the UpperFilters value.

Save your changes and reboot. The system should boot successfully.

  • you sir are a savior! – Madhur Apr 11 '17 at 19:26
  • now, is there a way to install diskperf.sys only on my secondary drive? I tried using addfilter utility but that shows up a yellow exclamation mark and doesn't seem to be working. Right click INF -> Install works but it installs the driver to all the drives on my sysem. – Madhur Apr 11 '17 at 19:35
  • The default .INF should only install and copy diskperf.sys to your system partition, not all drives. What type of function do you want to achieve with diskperf.sys driver? – Charles32 Apr 13 '17 at 14:40
  • I am trying to customize the driver so I can pause OS Reads/Writes to my secondary drive when required. Since it is a class driver, right click -> install, installs the driver to all disk drives. – Madhur Apr 13 '17 at 19:11
  • Each disk drive has a disk number that you can get from both Windows application and diskperf driver. In the driver's read/write routine, you can decide to deny or allow read/write request by the disk number. – Charles32 Apr 14 '17 at 16:14
0

Use virtual machine for such experiments. you can try https://www.virtualbox.org/ , it is free.

It will not help your restore Windows, but will help you to prevent such situation in future. Virtual machine support snapshooting, or you can simply delete/install new.

Regards, Michael

  • Can you explain how to resolve OP's problem? – bertieb Apr 11 '17 at 8:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.