Azure ATP sensor instalation error.

%3CLINGO-SUB%20id%3D%22lingo-sub-1526105%22%20slang%3D%22en-US%22%3EAzure%20ATP%20sensor%20instalation%20error.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1526105%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3EI%20have%20a%20problem%20with%20installation%20AATP%20on%20one%20of%20my%20DC.%3C%2FP%3E%3CP%3E-%20.NET%20ok%3C%2FP%3E%3CP%3E-%20no%26nbsp%3BNIC%20Teaming%3C%2FP%3E%3CP%3E-%20no%20proxy%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EError%200x80070643%3A%20Failed%20to%20install%20MSI%20package.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EMicrosoft.Tri.Sensor.Updater%3A%3CBR%20%2F%3E2020-06-26%2011%3A33%3A20.2760%20Error%20PerformanceCounterLib%20System.InvalidOperationException%3A%20Category%20does%20not%20exist.%3CBR%20%2F%3Eat%20CategorySample%20System.Diagnostics.PerformanceCounterLib.GetCategorySample(string%20machine%2C%20string%20category)%3CBR%20%2F%3Eat%20string%5B%5D%20System.Diagnostics.PerformanceCounterCategory.GetCounterInstances(string%20categoryName%2C%20string%20machineName)%3CBR%20%2F%3Eat%20new%20Microsoft.Tri.Infrastructure.MetricManager(IConfigurationManager%20configurationManager)%3CBR%20%2F%3Eat%20object%20lambda_method(Closure%2C%20object%5B%5D)%3CBR%20%2F%3Eat%20object%20Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()%3CBR%20%2F%3Eat%20void%20Microsoft.Tri.Infrastructure.ModuleManager.AddModules(Type%5B%5D%20moduleTypes)%3CBR%20%2F%3Eat%20ModuleManager%20Microsoft.Tri.Sensor.Updater.SensorUpdaterService.CreateModuleManager()%3CBR%20%2F%3Eat%20async%20Task%20Microsoft.Tri.Infrastructure.Service.OnStartAsync()%3CBR%20%2F%3Eat%20void%20Microsoft.Tri.Infrastructure.TaskExtension.Await(Task%20task)%3CBR%20%2F%3Eat%20void%20Microsoft.Tri.Infrastructure.Service.OnStart(string%5B%5D%20args)%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EMicrosoft.Tri.Sensor.Deployment.Deployer%3A%3CBR%20%2F%3E2020-06-26%2010%3A51%3A10.4126%20Error%20ServiceControllerExtension%20ChangeServiceStatus%20failed%20to%20change%20service%20status%20%5Bname%3DAATPSensorUpdater%20status%3DRunning%20Exception%3DSystem.ServiceProcess.TimeoutException%3A%20Time%20out%20has%20expired%20and%20the%20operation%20has%20not%20been%20completed.%3CBR%20%2F%3Eat%20System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus%20desiredStatus%2C%20TimeSpan%20timeout)%3CBR%20%2F%3Eat%20Microsoft.Tri.Infrastructure.ServiceControllerExtension.ChangeServiceStatus(String%20name%2C%20ServiceControllerStatus%20status%2C%20TimeSpan%20timeout%2C%20Nullable%601%20awaitedStatus)%5D%3CBR%20%2F%3E2020-06-26%2010%3A52%3A11.5056%20Error%20ServiceControllerExtension%20ChangeServiceStatus%20failed%20to%20change%20service%20status%20%5Bname%3DAATPSensorUpdater%20status%3DRunning%20Exception%3DSystem.ServiceProcess.TimeoutException%3A%20Time%20out%20has%20expired%20and%20the%20operation%20has%20not%20been%20completed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1526292%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20ATP%20sensor%20instalation%20error.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1526292%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F259452%22%20target%3D%22_blank%22%3E%40pawelliebich%3C%2FA%3E%26nbsp%3BYou%20are%20missing%20the%20%22Network%20Interface%22%20performance%20counter%20category.%20you%20can%20verify%20it%20in%20perfmon.exe.%3C%2FP%3E%0A%3CP%3Emake%20sure%20the%20category%20was%20not%20disabled%2C%20and%20if%20it's%20not%2C%20you%20might%20need%20to%20rebuild%20the%20counters.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi All,

I have a problem with installation AATP on one of my DC.

- .NET ok

- no NIC Teaming

- no proxy

 

 

Error 0x80070643: Failed to install MSI package.


Microsoft.Tri.Sensor.Updater:
2020-06-26 11:33:20.2760 Error PerformanceCounterLib System.InvalidOperationException: Category does not exist.
at CategorySample System.Diagnostics.PerformanceCounterLib.GetCategorySample(string machine, string category)
at string[] System.Diagnostics.PerformanceCounterCategory.GetCounterInstances(string categoryName, string machineName)
at new Microsoft.Tri.Infrastructure.MetricManager(IConfigurationManager configurationManager)
at object lambda_method(Closure, object[])
at object Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at void Microsoft.Tri.Infrastructure.ModuleManager.AddModules(Type[] moduleTypes)
at ModuleManager Microsoft.Tri.Sensor.Updater.SensorUpdaterService.CreateModuleManager()
at async Task Microsoft.Tri.Infrastructure.Service.OnStartAsync()
at void Microsoft.Tri.Infrastructure.TaskExtension.Await(Task task)
at void Microsoft.Tri.Infrastructure.Service.OnStart(string[] args)


Microsoft.Tri.Sensor.Deployment.Deployer:
2020-06-26 10:51:10.4126 Error ServiceControllerExtension ChangeServiceStatus failed to change service status [name=AATPSensorUpdater status=Running Exception=System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.Tri.Infrastructure.ServiceControllerExtension.ChangeServiceStatus(String name, ServiceControllerStatus status, TimeSpan timeout, Nullable`1 awaitedStatus)]
2020-06-26 10:52:11.5056 Error ServiceControllerExtension ChangeServiceStatus failed to change service status [name=AATPSensorUpdater status=Running Exception=System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.

2 Replies

@pawelliebich You are missing the "Network Interface" performance counter category. you can verify it in perfmon.exe.

make sure the category was not disabled, and if it's not, you might need to rebuild the counters.

thanks @Eli Ofek  I had the same issue. When I ran perfmon.exe I had the error popup:

 

"Unable to add these counters:

\Memory\Available MBytes
\Memory\% Committed Bytes In Use
\Memory\Cache Faults/sec
\Memory\Cache Faults/sec
\PhysicalDisk(*)\%Idle Time
\PhysicalDisk(*)\Avg. Disk Queue Length
\Network Interface(*)\Bytes Total/sec"

 

So for those not familiar on how to rebuild the counters here is the process:

 

1. Launch Command Prompt as Administrator.
2. Change Directory to "C:\WINDOWS\System32"
3. Then rebuild your resource counters by typing the command: lodctr /r
4. This will rebuild your counter values, it can take some time to complete.
5. Then you can verify by rerunning perfmon.exe again, and should start without an error
6. Now you should be able to install the ATP Sensor as normal