Solved

Command Line Way to View Log On As for Windows Services

Posted on 2011-09-14
2
469 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

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

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.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now