In a Windows Domain environment, is there a tool that can be run to determine if an underlying service uses a particular UN & PW to run in the backgroud.

We have a Windows server 2008 R2 Domain, where several services run in the background. Is there a tool that can be run to determine what UN & PW is being associated with that service to run?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Get Process Explorer from, download it, install it and run it.

In View tab, Select Columns and select User. Now User is related to the process running.

See if that helps.
Process Explorer is indeed a good program to use for this.
It can be downloaded via this link:

You do not have to install it.
Just unpack the files and place it in a directory.
Right click on procexp.exe and select "Run as administrator".

Within the program you can right click on a column and click "Select Columns".
Add the "User Name" column.
Now you should be able to see the user associated with the process.
The password can't be revealed unfortunately.

The 3 most common places where usernames/passwords are defined are actually:
Services: run "services.msc", sort on the "Log On As" column to find out services which are running as a normal user.
Task Scheduler: run "taskschd.msc", check for tasks under the "Task Scheduler Library".
  Right click a task and check the field "When running the task, use the following account"
Component Services: run "dcomcnfg.exe", open Component Services |Computers |My Computer
  The "COM+ Applications" or "DCOM Config" entries are sometimes configured to run with a different Identity.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David Johnson, CD, MVPOwnerCommented:
using powershell use this code
$services = Get-WmiObject -Class win32_service | select name,startname 
foreach ($service in $services){
    if ( ($service.startname -ne 'LocalSystem') -and ($service.startname -ne "NT AUTHORITY\NetworkService") -and ($service.startname -ne "NT AUTHORITY\LocalService")) {
    write-host $ $service.startname

Open in new window

$servers = get-content -path .\servers.txt
foreach ($server in $servers){
$services = gwmi  win32_service -ComputerName $server
foreach ($service in $services) {
		if ( ($service.startname -ne 'LocalSystem') -and ($service.startname -ne "NT AUTHORITY\NetworkService") -and ($service.startname -ne "NT AUTHORITY\LocalService")) {
		write-host $service.startname $service.Name

Open in new window

zargf8nsAuthor Commented:
Both of these solutions were the answer to the question. The second response had a little bit more detail and a direct URL to the tool for the fix. So the second response marginally beat the first respond, but both provided the answer.
JohnBusiness Consultant (Owner)Commented:
@zargf8ns - Thanks and I was happy to help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.