Browse Source

add audit mode detection

get-smart v0.99
piper 3 weeks ago
parent
commit
4e13f7e64a
Signed by: piper GPG Key ID: 4F535F1953E9B3AE
  1. 9
      WindowsSpecifications.ps1

9
WindowsSpecifications.ps1

@ -50,19 +50,22 @@ $badKeys = @(
'HKLM:\SOFTWARE\Policies\Microsoft\Windows\PreviewBuilds\',
'HKLM:\SYSTEM\Setup\LabConfig\',
'HKLM:\SYSTEM\Setup\LabConfig\',
'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\'
'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\',
'HKLM:\SYSTEM\Setup\Status\'
)
$badValues = @(
'AllowBuildPreview',
'BypassTPMCheck',
'BypassSecureBootCheck',
'NoAutoUpdate'
'NoAutoUpdate',
'AuditBoot'
)
$badRegExp = @(
'Insider builds are set to: ',
'Windows 11 TPM bypass set to: ',
'Windows 11 SecureBoot bypass set to: ',
'Windows auto update is set to: '
'Windows auto update is set to: ',
'Audit Boot is set to: '
)
$badHostnames = @(
'ATLASOS-DESKTOP',

Loading…
Cancel
Save