Update auditbreak

This commit is contained in:
Calyx Hikari 2025-10-07 15:25:00 +08:00 committed by GitHub
parent 8cd6209fc0
commit e0a7f158ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,7 @@ $tempRegPath = "$env:TEMP\AuditBreak.reg"
$regContent | Out-File -FilePath $tempRegPath -Encoding ASCII
# Check Audit Mode
$auditKey = "HKLM\SYSTEM\Setup\Status"
$auditKey = "HKLM:\SYSTEM\Setup\Status"
$auditValue = "AuditBoot"
$auditStatus = Get-ItemProperty -Path $auditKey -Name $auditValue -ErrorAction SilentlyContinue