mirror of
https://github.com/msvc-win/get.msvc.win.git
synced 2025-12-16 13:17:26 +00:00
Update auditbreak
This commit is contained in:
parent
8cd6209fc0
commit
e0a7f158ca
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ $tempRegPath = "$env:TEMP\AuditBreak.reg"
|
||||||
$regContent | Out-File -FilePath $tempRegPath -Encoding ASCII
|
$regContent | Out-File -FilePath $tempRegPath -Encoding ASCII
|
||||||
|
|
||||||
# Check Audit Mode
|
# Check Audit Mode
|
||||||
$auditKey = "HKLM\SYSTEM\Setup\Status"
|
$auditKey = "HKLM:\SYSTEM\Setup\Status"
|
||||||
$auditValue = "AuditBoot"
|
$auditValue = "AuditBoot"
|
||||||
$auditStatus = Get-ItemProperty -Path $auditKey -Name $auditValue -ErrorAction SilentlyContinue
|
$auditStatus = Get-ItemProperty -Path $auditKey -Name $auditValue -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue