To turn on memory integrity, you can follow these steps:
- Open Command Prompt as an administrator.
- Run the following command to enable memory integrity:
reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Enabled" /t REG_DWORD /d 1 /f
- If you want to enable it with UEFI lock, use:
reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Locked" /t REG_DWORD /d 1 /f
- Restart your computer for the changes to take effect.
If you are experiencing issues with memory integrity being off, it may be due to incompatible drivers or settings. You can check the Code Integrity logs in Event Viewer to see if any drivers were blocked from loading as a result of memory integrity.
Regarding the deletion of oem26.inf, you would typically need to restore it from a backup or reinstall the driver associated with that INF file. If you have a backup of your system or the specific driver, you can restore it from there. Alternatively, you might need to download the driver again from the manufacturer's website.
References: