Difference between revisions of "Windows bootloop"

From OpenZFS on OS X
Jump to: navigation, search
m
(rename when access denied)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
== Windows Boot Crashes ==
 
== Windows Boot Crashes ==
  
If you find that ZFSin is crashing everytime you boot Windows, you can remove the kernel extension part.
+
If you find that OpenZFS is crashing everytime you boot Windows, you can remove the kernel extension part.
 +
 
 +
Enter the recovery CMD shell - you can use boot media as well
  
 
* When booting, once you get to the spinning dots part - turn off your PC - either by holding power button for 10s, or cutting power.
 
* When booting, once you get to the spinning dots part - turn off your PC - either by holding power button for 10s, or cutting power.
 
* Doing that 2 times in a row, Windows will ask if you have boot issues.
 
* Doing that 2 times in a row, Windows will ask if you have boot issues.
 
* Enter Troubleshoot, Advanced Options, then Command Prompt.
 
* Enter Troubleshoot, Advanced Options, then Command Prompt.
 +
 +
Remove the driver
 
* Navigate to your hard disk, which might not be C: during boot command console. Change drive letter, and issue "dir" until you recognise your disk.
 
* Navigate to your hard disk, which might not be C: during boot command console. Change drive letter, and issue "dir" until you recognise your disk.
 
* cd into Windows\System32\Drivers
 
* cd into Windows\System32\Drivers
* dele openzfs.sys
+
* delete or rename openzfs.sys
 
* exit command prompt
 
* exit command prompt
 
* use menus to boot normally.
 
* use menus to boot normally.
 +
 +
If you get access denied when you want to rename the drivers (fileowner is trustedinstaller)
 +
* take ownership (current user) of openzfs drivers: takeown /F \windows\system32\drivers\open*.sys
 +
* extend permissions (ex user administrator): icacls \windows\system32\drivers\open*.sys /grant administrator:f

Latest revision as of 09:53, 1 April 2025

Windows Boot Crashes[edit]

If you find that OpenZFS is crashing everytime you boot Windows, you can remove the kernel extension part.

Enter the recovery CMD shell - you can use boot media as well

  • When booting, once you get to the spinning dots part - turn off your PC - either by holding power button for 10s, or cutting power.
  • Doing that 2 times in a row, Windows will ask if you have boot issues.
  • Enter Troubleshoot, Advanced Options, then Command Prompt.

Remove the driver

  • Navigate to your hard disk, which might not be C: during boot command console. Change drive letter, and issue "dir" until you recognise your disk.
  • cd into Windows\System32\Drivers
  • delete or rename openzfs.sys
  • exit command prompt
  • use menus to boot normally.

If you get access denied when you want to rename the drivers (fileowner is trustedinstaller)

  • take ownership (current user) of openzfs drivers: takeown /F \windows\system32\drivers\open*.sys
  • extend permissions (ex user administrator): icacls \windows\system32\drivers\open*.sys /grant administrator:f