Q
Problem solve Get help with specific problems with your technologies, process and projects.

What approach is needed to retrieve the client logon username from a Terminal Services session?

Expert Christa Anderson briefly shows a reader how to find logon usernames in Terminal Server Manager.

I need to retrieve the client logon username from a Terminal Services session. What approach is needed? WTSAPI32 has not implemented virtual channel client information query, file access.

Logon usernames show up in Terminal Server Manager for each session. You can also retrieve this information programmatically with the QUERY SESSION command-line utility. This command will return the session ID, username, state, type, and device.

Dig Deeper on Windows client management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchSQLServer

SearchEnterpriseDesktop

SearchVirtualDesktop

Close