Prevent BSOD erros when using Exchange Server on VMware - aaqibwani/M365 GitHub Wiki
KERNEL_DATA_INPAGE_ERROR
Right-click This PC β Properties
Click Advanced system settings
Under Performance, click Settings
Go to Advanced tab
Under Virtual memory, click Change
Uncheck Automatically manage paging file size for all drives
Select C: drive
Select System managed size
Click Set
Click OK on all windows
Reboot the server
REGISTRY_FILTER_DRIVER_EXCEPTION
STEP 1 β Boot into Windows Recovery Environment (WinRE)
Reboot the server
During boot, interrupt 3 times
Go to:
Troubleshoot β Advanced options β Command Prompt
You are now offline (WdFilter is NOT loaded).
STEP 2 β Load the OFFLINE SYSTEM REGISTRY
In WinRE Command Prompt:
reg load HKLM\OFFSYS C:\Windows\System32\Config\SYSTEM
You should see:
The operation completed successfully.
STEP 3 β REMOVE WdFilter SERVICE (CRITICAL)
Run exactly:
reg delete "HKLM\OFFSYS\ControlSet001\Services\WdFilter" /f reg delete "HKLM\OFFSYS\ControlSet002\Services\WdFilter" /f
(If ControlSet002 doesnβt exist, thatβs OK.)
STEP 4 β REMOVE SENSE SERVICE TOO (SAFETY) reg delete "HKLM\OFFSYS\ControlSet001\Services\Sense" /f reg delete "HKLM\OFFSYS\ControlSet002\Services\Sense" /f
STEP 5 β UNLOAD THE HIVE (VERY IMPORTANT) reg unload HKLM\OFFSYS
STEP 6 β REBOOT NORMALLY exit
Let Windows boot normally.
STEP 7 β VERIFY (THIS IS THE MOMENT OF TRUTH)
After login, open Command Prompt (Admin):
sc query WdFilter sc query Sense
Expected result for both:
The specified service does not exist
Also verify driver is gone:
driverquery | findstr /i wd