Upload files to "Fix Scripts"

This commit is contained in:
2025-08-05 16:14:39 +00:00
parent ba028d0bf4
commit 86fadccc6c
@@ -0,0 +1,14 @@
Stop-Service "Windows Agent Maintenance Service"
Stop-Service "Windows Agent Service"
Stop-Service "AutomationManagerAgent"
$file = "C:\Program Files (x86)\N-able Technologies\Windows Agent\config\AVDefenderConfig.xml"
$find = "<attemptedCountForModuleInstall>3</attemptedCountForModuleInstall>"
$replace = "<attemptedCountForModuleInstall>0</attemptedCountForModuleInstall>"
(get-content $file -raw) -replace $find, $replace | out-file $file
(get-content $file -raw) -match $replace
Start-Service "Windows Agent Maintenance Service"
Start-Service "Windows Agent Service"
Start-Service "AutomationManagerAgent"