Skip to content

Commit

Permalink
fix: duplicate line
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyueta authored Jul 25, 2023
1 parent 2a3c31b commit 4e44f87
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v "Di

:: Set default mitigations
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v "MitigationAuditOptions" /f > nul 2>&1
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v "MitigationAuditOptions" /f > nul 2>&1
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel" /v "MitigationOptions" /f > nul 2>&1

:: Set Virtualization Based Protection Of Code Integrity to default
Expand All @@ -44,4 +43,4 @@ reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization" /v

echo Finished, please reboot your device for changes to apply.
pause
exit /b
exit /b

0 comments on commit 4e44f87

Please sign in to comment.