<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Compilation with Visual C++ link.exe fails with error TRK0002 in Endpoint Security</title>
    <link>https://community.cisco.com/t5/endpoint-security/compilation-with-visual-c-link-exe-fails-with-error-trk0002/m-p/4991063#M8067</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Maybe the following doc will be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/support/docs/security/amp-endpoints/213681-best-practices-for-amp-for-endpoint-excl.html" target="_blank"&gt;Configure and Identify Secure Endpoint Exclusions - Cisco&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If this doesn't work, I would suggest opening a case with TAC for further investigation.&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jan 2024 00:12:45 GMT</pubDate>
    <dc:creator>UMontero</dc:creator>
    <dc:date>2024-01-07T00:12:45Z</dc:date>
    <item>
      <title>Compilation with Visual C++ link.exe fails with error TRK0002</title>
      <link>https://community.cisco.com/t5/endpoint-security/compilation-with-visual-c-link-exe-fails-with-error-trk0002/m-p/4991053#M8066</link>
      <description>&lt;P&gt;Dear Cisco team,&lt;/P&gt;&lt;P&gt;I'm a software developer, I have installed Cisco Secure Endpoint 8.2.1.21650 and Secure Client 5.0.00837.&lt;/P&gt;&lt;P&gt;When I compile a Visual Studio solution which contains about 80 C++ projects. The compilation and linking fails with the errors like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TRK0002 Failed to execute command "...CL.exe" The process cannot access the file '...&amp;lt;tempfile&amp;gt;.rsp' because it is being used by another process.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TRK0002 Failed to execute command "...Link.exe"&amp;nbsp;/ERRORREPORT:PROMPT &amp;lt;tempfile&amp;gt;.rsp". The operation completed successfully&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Observations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The errors are clearly related to Cisco Secure Endpoint. They do not occur with other Virus Scanner (Microsoft Defender, Eset NOD32).&lt;/LI&gt;&lt;LI&gt;The errors did not occur with Version Cisco AMP 7.3.x&lt;/LI&gt;&lt;LI&gt;Doing a file exclusion of the temp directory, rsp files and the source code location does not prevent the error.&lt;/LI&gt;&lt;LI&gt;The error would not appear if I add a option&amp;nbsp;&lt;SPAN&gt;&amp;lt;TrackFileAccess&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/TrackFileAccess&amp;gt; to all projects, but that is no acceptable solution, because changes in code are no longer detected.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Only for clarification. Cisco Secure Endpoint does not detect an issue, it only prevents Visual Studio from doing its work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I haven't done so far is doing Process Exclusion of Cl.exe and Link.exe because they are changing with every update of Visual Studio and are located in different paths.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I specify an &lt;STRONG&gt;Process exclusion&lt;/STRONG&gt; of all programs&amp;nbsp;&lt;STRONG&gt;C:\Program Files\Microsoft Visual Studio\2022&lt;/STRONG&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have any suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Stefan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jan 2024 23:44:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/endpoint-security/compilation-with-visual-c-link-exe-fails-with-error-trk0002/m-p/4991053#M8066</guid>
      <dc:creator>sriediger</dc:creator>
      <dc:date>2024-01-06T23:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation with Visual C++ link.exe fails with error TRK0002</title>
      <link>https://community.cisco.com/t5/endpoint-security/compilation-with-visual-c-link-exe-fails-with-error-trk0002/m-p/4991063#M8067</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Maybe the following doc will be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/support/docs/security/amp-endpoints/213681-best-practices-for-amp-for-endpoint-excl.html" target="_blank"&gt;Configure and Identify Secure Endpoint Exclusions - Cisco&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If this doesn't work, I would suggest opening a case with TAC for further investigation.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2024 00:12:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/endpoint-security/compilation-with-visual-c-link-exe-fails-with-error-trk0002/m-p/4991063#M8067</guid>
      <dc:creator>UMontero</dc:creator>
      <dc:date>2024-01-07T00:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation with Visual C++ link.exe fails with error TRK0002</title>
      <link>https://community.cisco.com/t5/endpoint-security/compilation-with-visual-c-link-exe-fails-with-error-trk0002/m-p/4992101#M8068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thank you for pointing to the documentation. After some tests we now have a working solution.&lt;/P&gt;&lt;P&gt;We use the following Process exclusions (File Scan)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CLSID_PROGRAM_FILES\Microsoft Visual Studio\*\cl.exe&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;CLSID_PROGRAM_FILES\Microsoft Visual Studio\*\link.exe&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And the following File exclusion&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CLSID_LOCAL_APPDATA\temp\*\*.rsp&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sriediger_1-1704729839410.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/206650i1826D7133C6F2117/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sriediger_1-1704729839410.png" alt="sriediger_1-1704729839410.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 16:08:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/endpoint-security/compilation-with-visual-c-link-exe-fails-with-error-trk0002/m-p/4992101#M8068</guid>
      <dc:creator>sriediger</dc:creator>
      <dc:date>2024-01-08T16:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation with Visual C++ link.exe fails with error TRK0002</title>
      <link>https://community.cisco.com/t5/endpoint-security/compilation-with-visual-c-link-exe-fails-with-error-trk0002/m-p/4992472#M8069</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Two additional process exclusions are also required.&lt;/P&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;CSLID_PROGRAM_FILESX86\Windows Kits\*\rc.exe&lt;/LI&gt;&lt;LI&gt;CSLID_PROGRAM_FILESX86\Windows Kits\*\midl.exe&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;With this exclusions all C++ Visual Studio solutions seemed to compile and link without TRK0002 error.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Jan 2024 07:59:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/endpoint-security/compilation-with-visual-c-link-exe-fails-with-error-trk0002/m-p/4992472#M8069</guid>
      <dc:creator>sriediger</dc:creator>
      <dc:date>2024-01-09T07:59:37Z</dc:date>
    </item>
  </channel>
</rss>

