diff --git a/Fix Scripts/Fix - AV Module Install Failing.ps1 b/Fix Scripts/Fix - AV Module Install Failing.ps1 new file mode 100644 index 0000000..c903bfb --- /dev/null +++ b/Fix Scripts/Fix - AV Module Install Failing.ps1 @@ -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 = "3" +$replace = "0" +(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" \ No newline at end of file