最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

Restart Ax 2012 Services via the command line

AX 2012 alirazazaidi 3001浏览

AOS services can be start or stop through command line. Similar other services, One way to make .bat files and run them.

net stop “<"service name">”
net start “<"service name">“

So restarting the AOS service named AOS60$01 would be:

net stop AOS60$01
net start AOS60$01

You can determine the service name by going to Control Panel -> Administrative Tools -> Services and double clicking on the Service and looking in the field ‘Service name’.

Similarly you can restart the report server using:

net stop ReportServer
net start ReportServer