Backup the "Microsoft ATA Gateway" entry in the registry under PLA, then delete it.
Let's see if the Gateway can start after that.
It's in a limbo state, it has the registry key, but not the corresponding file, which explains the error we got.
Microsoft ATA Lightweight Gateway - StartDataCollectorSetRequest problem
Hi,
I got this kind of problem after Microsoft ATA Lightweight Gateway has been installed on WS 2019 Standard.
Installation has been finished correctly but after that Microsoft Advanced Threat Analytics Gateway service is in the starting state all the time.
This is what I got under Microsoft.Tri.Gateway-Errors:
2022-05-09 22:24:43.7559 2604 5 Error [WebClient+<InvokeAsync>d__8`1] System.Net.Http.HttpRequestException: PostAsync failed [requestTypeName=StartDataCollectorSetRequest] ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
and this is what is under Microsoft.Tri.Gateway.Updater-Errors
2022-05-09 22:26:02.0918 4292 11 Error [IDataCollectorSet] System.IO.DirectoryNotFoundException: The path could not be found. (Exception from HRESULT: 0x80030003 (STG_E_PATHNOTFOUND))
at PlaLibrary.IDataCollectorSet.Query(String name, String Server)
at Microsoft.Tri.Infrastructure.Utils.DataCollectorSet.IsExists(String name)
at async Microsoft.Tri.Infrastructure.Framework.PerformanceCounterCategoryManager.StartDataCollectorSetAsync(?)
at async Microsoft.Tri.Gateway.Updater.Service.GatewayUpdaterWebApplication.<>c__DisplayClass3_0.<OnInitializeAsync>b__5(?)
at async Microsoft.Tri.Common.Communication.CommunicationHandler`2.InvokeAsync
DataCollectorSets folder didnt create in this path C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Logs
I alerady checked --> HKLM\System\CurrentControlSet\Services\PerfProc\Performance
DisablePerformanceCounters is set = 0
and after called lodctr /R from an elevated prompt under the system32 folder
result:
Info: Successfully rebuilt performance counter setting from system backup store
....but still no luck, service in starting mode with the same errors.
Microsoft Security | Intune | Configuration Manager | Other
-
Eli Ofek (MSFT) 911 Reputation points Microsoft Employee
2022-05-12T09:24:53.263+00:00
13 additional answers
Sort by: Most helpful
-
Eli Ofek (MSFT) 911 Reputation points Microsoft Employee
2022-05-10T21:19:08.37+00:00 Odd.
Please run those commands and share the output:
logman create counter perf_log -c "\Processor(_Total)\% Processor Time"
logman perf_log
logmanThe aim here is to check basic functionality of data collection and try to isolate the issue.
-
Kamil Pniak 21 Reputation points
2022-05-10T21:33:36.543+00:00 Here you have it:
C:\Windows\system32>logman create counter perf_log -c "\Processor(_Total)\% Processor Time"
The command completed successfully.C:\Windows\system32>logman perf_log
Name: perf_log
Status: Stopped
Root Path: %systemdrive%\PerfLogs\Admin
Segment: Off
Schedules: On
Run as: SYSTEMName: perf_log\perf_log
Type: Counter
Append: Off
Circular: Off
Overwrite: Off
Sample Interval: 15 second(s)Counters:
\Processor(_Total)\% Processor TimeThe command completed successfully.
C:\Windows\system32>logman
Data Collector Set Type Status
perf_log Counter Stopped
The command completed successfully.
-
Eli Ofek (MSFT) 911 Reputation points Microsoft Employee
2022-05-10T22:08:17.61+00:00 OK, so basic functions seems to work, we have something weird specifically with the gateway collector.
Can you rundir C:\Windows\System32\Tasks\Microsoft\Windows\PLA
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\PLAI wonder if we see it listed there even though it's not shown by logman.
-
][2]