The following describes profiling of local applications which start indirectly. For example: services, processed are spawned by other processes, etc. If the application executable can be explicitly launched, profile it as a .NET executable instead.
To use this mode, run the profiler from Windows Start menu as administrator (privileges are needed to enable profiling globally on the machine):
Alternatively, change the profiler shortcut properties to always run the profiler as administrator:
Use Profile all .NET processes that will start... action on Welcome screen or in "Profile" menu.
The window will appear:
Choose profiling options, then press Profile.
Run applications to be profiled while the profiler is running. They will be shown on the Welcome screen in "Monitor Applications" list.
Double click the application to connect.
Profiling will be automatically disabled when the profiler exits, and automatically enabled when the profiler starts again.
To permanently switch it off, invoke the action again and press 'Disable Now':