Admin provisioning tool can't stop DynamicsAXBatch service
System.ComponentModel.Win32Exception: The service cannot accept control messages at this time in D365
- Click the Start menu
- Click Run or in the search bar type services.msc
- Press Enter
- Look for the service and check the Properties and identify its service name. Service name would be DynamicsAxBatch
- Once found, open a command prompt. Type: sc queryex [servicename].
- Press Enter
- Identify the PID
- In the same command prompt type: taskkill /f /pid [pid number]
- Press Enter
- Now start the service and and register yourself in the Admin Provisioning Tool