Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
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.

User (VSPerfCmd)

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.

VSPerfCmd.exe /Start:Method /Output:FileName /User:[Domain\]UserName [Options]


The name of the user's domain.


The name of the user.

The User option can only be used with the Start option.


Initializes the profiler to the specified profiling method.

The following example demonstrates the use of the User option.

VSPerfCmd.exe /Start:Sample /Output:TestApp.exe.vsp /User:SYSTEM

Community Additions

© 2015 Microsoft