mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-24 07:03:02 +02:00
fix: remove service restart from AuditFilter setting command in WELA.ps1
This commit is contained in:
1 parent
f07fbfbe2c
commit
288feca218
1 file changed
+1
-1
@@ -5922,7 +5922,7 @@ function ConfigureAuditSettings {
|
||||
if ($proceed) {
|
||||
try {
|
||||
# AuditFilter の設定
|
||||
& certutil.exe -setreg "CA\AuditFilter" 127 >$null 2>&1; Restart-Service -Name 'CertSvc' -Force -ErrorAction Stop
|
||||
& certutil.exe -setreg "CA\AuditFilter" 127 >$null 2>&1
|
||||
# 証明書サービスの再起動
|
||||
Restart-Service -Name "CertSvc" -Force -ErrorAction Stop
|
||||
# 反映確認
|
||||
|
||||
Reference in new issue
Block a user