Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9227799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:10:07+00:00 2026-06-18T05:10:07+00:00

The Processes tab of the Windows Task Manager shows several columns with information, one

  • 0

The Processes tab of the Windows Task Manager shows several columns with information, one of which being User Name of the user that owns the process.
Using the command WMIC process (from an administrator-started cmd.exe) gives me the same sort of information, but I can not find any column for the user name. How can I find out which user started the process with WMIC?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T05:10:08+00:00Added an answer on June 18, 2026 at 5:10 am

    Owner can be retrieved using GetOwner method on win32_process class instances.
    I would suggest using PowerShell for that, where it’s pretty simple:

    Get-WmiObject -Class Win32_Process | 
        Select-Object Name, @{ 
            Name = 'Owner'
            Expression = { 
                $_.GetOwner().User 
            }
        }
    

    If you have to use wmic, than you can hack your way through by mixing results of:

    wmic process get Name
    

    …with call GetOwner e.g:

    @echo off
    echo Domain\User,Machine,ProcessName,ProcessID,WorkingSetSize
    (for /f "skip=2 tokens=2 delims=, eol= " %%P in ('wmic process get ProcessId /format:csv') do @call :AddOwner %%P) 2> nul
    goto :EOF
    
    :AddOwner
    SET Process=%1
    (for /f "skip=5 tokens=1,2 delims==; " %%O in ('wmic process WHERE ProcessID^=%Process% Call GetOwner') do @call :BuildOwner %%O %%P) > nul
    for /f "skip=1 tokens=* eol= " %%L in ('wmic process WHERE ProcessID^=%Process% GET Name^, ProcessID^, WorkingSetSize /format:csv') do @SET INFO=%%L
    echo %DOMAIN%\%USER%,%INFO%
    goto :EOF
    
        :BuildOwner
        SET PARAM=%1
        SET VALUE=%~2
        IF [%PARAM%]==[Domain] SET DOMAIN=%VALUE%
        IF [%PARAM%]==[User] SET USER=%VALUE%
        goto :EOF
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Windows Task Manager lists all running processes in the Processes tab. The image name
I have several processes running which have the same name. I want to have
My WPF application does not shown in windows task manager application tab but it
When opening Windows Task Manager to view the PID of all open processes, I
I need to create running windows process (the one seen on task manager) when
I have a several processes node.js. I want to only add one string to
Let us say my IE stopped working, so I go to windows task manager
I am currently invoking the windows task manager using a click event in WPF.
I have several Windows Service projects in one solution in Visual Studio 2010, they
I have this MFC program that when I kill it with task manager I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.