Command Line Way to View Log On As for Windows Services
Posted on 2011-09-14
We just had an engineer leave, and we want to change the admin password. However, with 60 servers, it might be tough to change the password without knowing which services are attached to that name.
Does anyone have a way to run a script, via command line, that would export this data and show me who the Log on as service is?
That way - I could just go and find the ones with the user account that left and change those.
I was tinkering with the sc command - and it shows a lot of data, but not the data I want to see.
Thanks for your help.