Solved

trying to find a way to locate all the instances of where a service account is running before i change the password

Posted on 2013-11-05
5
511 Views
Last Modified: 2013-11-27
I need to clean up my domain from accounts that have older than 90 days password age. But i don't want to just change passwords without knowing where all these accounts reside on the domain and whether or not  i may need to fat finger these accounts if required.  In dire need of a solution.  Scripting, command line or Power shell, I'm sure would do that trick.  Thank you so much.
0
Comment
Question by:cgooden01
5 Comments
 
LVL 20

Accepted Solution

by:
netcmh earned 350 total points
ID: 39625287
You can use the Get-Service command in powershell. A friend of mine has a script on his blog: http://itmonsterrrrrr.blogspot.com/2012/08/powershell-script-get-services-running.html, that will prove helpful in finding the service accounts running services. You could modify his $ServerArray variable with your servernames as in "system1","system2","system3"
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 39625300
I used to use a tool from digital labs called locate user that was great for this. Basically you pick a user in your domain and it scans all computers for logon sessions.

The company went out of business in 2010 but you can still grab the download from the web.archive.org site.

http://web.archive.org/web/20081225122046/http://www.digitallabs.net/lu/default.htm

Obviously the company has gone out of business so no support is available.
0
 
LVL 3

Expert Comment

by:mikeyd234
ID: 39625307
Only way i can think of doing this would be to scan all of the servers on the domain for active  sessions running under that service account.

Did something similar to above in powershell, would overnight, every-night scan the domain for sessions and log the account name and server/computer name it's running on in a SQL table.

This wouldn't work for apps that run once then quit though as the session would be terminated.

But if it helps i can dig out the powershell script? Then perhaps you can mix it with what was suggested about get-services
0
 
LVL 54

Expert Comment

by:McKnife
ID: 39627072
Hi.

You will like this free tool that will show you for your whole domain where tasks and/or services run as certain users: http://www.cjwdev.co.uk/Software/ServiceCredMan/Download.html
0
 
LVL 20

Expert Comment

by:netcmh
ID: 39681740
Thanks for the grade. Good luck.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

776 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