<?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: PAT test not working in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/pat-test-not-working/m-p/1656239#M99432</link>
    <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Your reply pointed me in the right direction.&lt;/P&gt;&lt;P&gt;Since I am working on Windows 11, wmic is not available anymore, so Powershell has to be used.&lt;/P&gt;&lt;P&gt;I had to replace one line in GenerateSystemInfo.py, located in the ..\ProPAT\Tests\Uses_ArcPy\Common subfolder:&lt;/P&gt;&lt;P&gt;Old line:&lt;/P&gt;&lt;P&gt;GPU = subprocess.check_output("wmic path win32_VideoController get name")&lt;/P&gt;&lt;P&gt;New line:&lt;/P&gt;&lt;P&gt;GPU = subprocess.check_output(["powershell.exe", "(Get-WmiObject Win32_VideoController).Name"], shell=True)&lt;/P&gt;&lt;P&gt;I am not sure if this is the whole solution. Maybe there are other places in the tool where Powershell needs to be used.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Oct 2025 15:07:43 GMT</pubDate>
    <dc:creator>jorisfrenkel</dc:creator>
    <dc:date>2025-10-08T15:07:43Z</dc:date>
    <item>
      <title>PAT test not working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pat-test-not-working/m-p/1652779#M99148</link>
      <description>&lt;P&gt;I installed the PAT Add-In and try to run the Level1 test, but it's not working. Trying to find out why. It creates the SystemInfoFile, but it looks like it can't find the file afterwards.&lt;/P&gt;&lt;P&gt;On a different configuration it works without problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Temp\ProPAT&amp;gt;RUNME_Level1Tests&lt;BR /&gt;*********************************************************************************&lt;BR /&gt;*** ArcGIS Pro PAT (Performance Assessment Tool) ***&lt;BR /&gt;*** Executing Level 1 Tests ***&lt;BR /&gt;*** ***&lt;BR /&gt;*** DO NOT CLOSE THIS WINDOW DURING EXECUTION ***&lt;BR /&gt;*** REFRAIN FROM USING THE MACHINE WHILE THESE TESTS ARE RUNNING ***&lt;BR /&gt;*** ***&lt;BR /&gt;*** The PerfTools ArcGIS Pro Start Utility will launch and control ArcGIS Pro ***&lt;BR /&gt;*** ArcPy scripts will also silently execute ***&lt;BR /&gt;*** This command window will close when finished ***&lt;BR /&gt;*** ***&lt;BR /&gt;*** ArcGIS Pro PAT is NOT supported by Esri Technical Support ***&lt;BR /&gt;*** Please email perfqatools@esri.com with any issues ***&lt;BR /&gt;*********************************************************************************&lt;BR /&gt;arcProDir = "C:\Program Files\ArcGIS\Pro\"&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Temp\ProPAT\Tests\RunLevel1Tests.py", line 19, in &amp;lt;module&amp;gt;&lt;BR /&gt;GenerateSystemInfo.GetInfo(SystemInfoFile)&lt;BR /&gt;File "C:\Temp\ProPAT\.\Tests\Uses_ArcPy\Common\GenerateSystemInfo.py", line 15, in GetInfo&lt;BR /&gt;GPU = subprocess.check_output("wmic path win32_VideoController get name")&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\subprocess.py", line 466, in check_output&lt;BR /&gt;return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\subprocess.py", line 548, in run&lt;BR /&gt;with Popen(*popenargs, **kwargs) as process:&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\subprocess.py", line 1026, in __init__&lt;BR /&gt;self._execute_child(args, executable, preexec_fn, close_fds,&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\subprocess.py", line 1538, in _execute_child&lt;BR /&gt;hp, ht, pid, tid = _winapi.CreateProcess(executable, args,&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;FileNotFoundError: [WinError 2] The system cannot find the file specified&lt;/P&gt;&lt;P&gt;C:\Temp\ProPAT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 13:03:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pat-test-not-working/m-p/1652779#M99148</guid>
      <dc:creator>jorisfrenkel</dc:creator>
      <dc:date>2025-09-24T13:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: PAT test not working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pat-test-not-working/m-p/1652801#M99152</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6070"&gt;@jorisfrenkel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would try running "wmic path win32_VideoController get name" in an elevated command prompt to see if this is able to&amp;nbsp;be found in terms of the process itself. It also could be a path issue, you may try adding "C:\Windows\System32\wbem" to your system environmental variables. I would also attempt to run the script as administrator as well just to check that off!&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 14:25:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pat-test-not-working/m-p/1652801#M99152</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2025-09-24T14:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: PAT test not working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pat-test-not-working/m-p/1656239#M99432</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Your reply pointed me in the right direction.&lt;/P&gt;&lt;P&gt;Since I am working on Windows 11, wmic is not available anymore, so Powershell has to be used.&lt;/P&gt;&lt;P&gt;I had to replace one line in GenerateSystemInfo.py, located in the ..\ProPAT\Tests\Uses_ArcPy\Common subfolder:&lt;/P&gt;&lt;P&gt;Old line:&lt;/P&gt;&lt;P&gt;GPU = subprocess.check_output("wmic path win32_VideoController get name")&lt;/P&gt;&lt;P&gt;New line:&lt;/P&gt;&lt;P&gt;GPU = subprocess.check_output(["powershell.exe", "(Get-WmiObject Win32_VideoController).Name"], shell=True)&lt;/P&gt;&lt;P&gt;I am not sure if this is the whole solution. Maybe there are other places in the tool where Powershell needs to be used.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 15:07:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pat-test-not-working/m-p/1656239#M99432</guid>
      <dc:creator>jorisfrenkel</dc:creator>
      <dc:date>2025-10-08T15:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: PAT test not working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pat-test-not-working/m-p/1662142#M99849</link>
      <description>&lt;P&gt;I just found out there is a new version of the tool (v18), which doesn't have this problem.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 09:53:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pat-test-not-working/m-p/1662142#M99849</guid>
      <dc:creator>jorisfrenkel</dc:creator>
      <dc:date>2025-10-30T09:53:52Z</dc:date>
    </item>
  </channel>
</rss>

