How can I list the user account names that a Service is using on a PC?

IT-User9733 71 Reputation points
2021-08-11T13:08:36.993+00:00

Hi, how can I list the user account names that a Service is using on a PC?

I am only interested in the the Services that have been configured to run under users accounts, and not the NT Authority or Systems ones etc.

I would like to scan all of our machines. so that I can see what Service and/or Services are using user accounts.

Is this possible.

Thanks

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2021-08-11T13:53:23.647+00:00

    Here you go.
    https://devblogs.microsoft.com/scripting/the-scripting-wife-uses-powershell-to-find-service-accounts/

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. Anonymous
    2021-08-12T01:14:11.6+00:00

    Just checking if there's any progress or updates?

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  3. Anonymous
    2021-08-12T23:37:23.65+00:00

    You'll probably need to build a list of computers then loop through the computer list.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.