Link to home
Start Free TrialLog in
Avatar of niwuser
niwuser

asked on

Command Line Way to View Log On As for Windows Services

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.
ASKER CERTIFIED SOLUTION
Avatar of Govvy
Govvy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of niwuser
niwuser

ASKER

Perfect  - short and sweet, thanks govvy.