Mattiwatti / EfiGuard

Disable PatchGuard and Driver Signature Enforcement at boot time
GNU General Public License v3.0
1.78k stars 337 forks source link

After booting from USB getting an error #96

Closed evosite2 closed 1 year ago

evosite2 commented 1 year ago

error for efidsefix.exe -d

C:\Users\swilk\EfiGuard-v1.2.1>efidsefix.exe -d Disabling DSE... CI!g_CiOptions at 0xFFFFF80149259418. Failure: NtSetSystemEnvironmentValueEx error C000000D AdjustCiOptions failed: C000000D

efidsefix.exe -i

SystemBootEnvironmentInformation:

SystemModuleInformation:

SystemCodeIntegrityInformation:

SystemKernelDebuggerInformation:

SystemKernelDebuggerInformationEx:

SharedUserData->KdDebuggerEnabled: 0x00

SystemKernelDebuggerFlags: 0x00

SystemCodeIntegrityPolicyInformation:

Mattiwatti commented 1 year ago

The version of EfiGuard you're using is out of date (v1.2.1, current latest is v1.3). I'm mentioning this to address the original title (KMODE_EXCEPTION_NOT_HANDLED) as this was most likely caused by having HVCI enabled which v1.3 will now disable for you if needed.

Your updated issue (EfiDSEFix printing C000000D, meaning STATUS_INVALID_PARAMETER) also has an updated error description in v1.3, but what this basically comes down to is the DXE driver not being loaded, or else loaded incorrectly. EfiGuard itself does not return this status under any circumstance if it was loaded during boot.