Search command sample in the internet.It is the result.
sc qmanagedaccount
How to query the account which has created a Windows service - Super User : http://superuser.com/questions/1196382/how-to-query-the-account-which-has-created-a-windows-service.1