|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
The User option specifies the domain and user name of the account that owns the profiled process. This option is required only if the process is running as a user other than the logged on user. The process owner is listed in the User Name column on the Processes tab of Windows Task Manager.
The User option can only be specified on a command line that also contains the Start option option.
The following example demonstrates the use of the User option.
VSPerfCmd.exe /Start:Sample /Output:TestApp.exe.vsp /User:SYSTEM