Solved

Command Line Way to View Log On As for Windows Services

Posted on 2011-09-14
2
482 Views
Last Modified: 2012-05-12
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.
0
Comment
Question by:niwuser
2 Comments
 
LVL 13

Accepted Solution

by:
Govvy earned 250 total points
ID: 36536288
wmic service get displayname, startname
0
 

Author Closing Comment

by:niwuser
ID: 36537614
Perfect  - short and sweet, thanks govvy.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
how to add IIS SMTP to handle application/Scanner relays into office 365.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question