mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-06 09:12:46 +01:00
fix: remove service restart from AuditFilter setting command in WELA.ps1
This commit is contained in:
2
WELA.ps1
2
WELA.ps1
@@ -5922,7 +5922,7 @@ function ConfigureAuditSettings {
|
|||||||
if ($proceed) {
|
if ($proceed) {
|
||||||
try {
|
try {
|
||||||
# AuditFilter の設定
|
# 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
|
Restart-Service -Name "CertSvc" -Force -ErrorAction Stop
|
||||||
# 反映確認
|
# 反映確認
|
||||||
|
|||||||
Reference in New Issue
Block a user