How can I programatically get the title of windows running in other user sessions on the computer?
I tried using the following commands and utilities, all running elevated as an administrator. In all cases, I can see the process, but the title field is blank.
- PowerShell command: Get-Process | Select MainWindowTitle
- PowerShell command: Get-CimInstance Win32_Process | Select *
- Microsoft Sysinternals Process Explorer
- tasklist /v