You can attach to a running Windows service the same way you attach to a general Windows process: VTune Amplifier XE->Project Properties->Attach to process->Process Name or PID.
You can obtain the process name for a service in the Windows (Win7) Control Panel->Administrative Tools->Component Services->Services(Local)
Thanks for your reply. It looks strange that contents in my previous post disappeared. Actually I want to ask : Why can't vTune attach to a Windows service? I already tried your method to attach my service, but it failed. vTune reports that it can't find PID after I click Start button in XE GUI. My anaylysis type is HotSpots and both PID and process name are failed. I will post detail error message when I go to office.
Thank you for the screenshots. Now I see that the process was started by the System user. This is not something we support with attachment, sorry. We will consider how to fix that in the future releases.
Im not an expert in Windows services, so you probably could find a way how to launch the service process as not System user this should help to workaround the problem.
Thanks again for the reproducer.