Patent ID: 7801982

Claim:
A method for performing diagnostics across windows operating system sessions in a computing system that has multiple sessions, the method comprising: an act of a diagnostics tool process running in a first session of a windows operating system of the computing system determining that diagnostics are to be performed on a process running in a second session of the windows operating system; an act of the diagnostics tool process opening a channel of communication with a service that is running in an intermediary session of the windows operating system; an act of the diagnostics tool process providing a user token to the service, the user token including and identification of a user of the diagnostics tool process and an identification of the first session in which the diagnostics tool process is running; an act of the service altering the user token to change the identification of the first session to an identification of the second session; an act of the service creating a proxy diagnostics tool process in the second session using the altered user token; an act of the diagnostics tool process instructing the proxy diagnostics tool process to inject diagnostics code causing diagnostics code to be run into the process running in the second session; and an act of the diagnostics tool process running in the first session gathering data from the diagnostics code running in the second session.