<?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: 3rd party application - the application runs but it's not using the username/password that I am trying to connect with. in Privilege Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378571#M4251</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How are you launching the application from within your AutoIT connector? The variable definition looks OK, but there should be some point later where you actually open up Hyena using the target username and password. For example (an unrelated MySQL example):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	LogWrite("starting client application")&lt;/P&gt;&lt;P&gt;	ToolTip ("Starting " &amp;amp; $DISPATCHER_NAME &amp;amp; "...")&lt;/P&gt;&lt;P&gt;	$ConnectionClientPID = Run($CLIENT_EXECUTABLE &amp;amp; " --query " &amp;amp; $TargetUsername &amp;amp; "@" &amp;amp; $TargetAddress)&lt;/P&gt;&lt;P&gt;	if ($ConnectionClientPID == 0) Then&lt;/P&gt;&lt;P&gt;		Error(StringFormat("Failed to execute process [%s]", $CLIENT_EXECUTABLE, @error))&lt;/P&gt;&lt;P&gt;	EndIf&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 14:58:00 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2024-09-10T14:58:00Z</dc:date>
    <item>
      <title>3rd party application - the application runs but it's not using the username/password that I am trying to connect with.</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378570#M4250</link>
      <description>&lt;P&gt;I am using AutoIT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are modification to the skeleton file that I renamed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Global Const $DISPATCHER_NAME									&amp;nbsp;&amp;nbsp;= "Hyena" ; CHANGE_ME&lt;/P&gt;&lt;P&gt;Global Const $CLIENT_EXECUTABLE									= "C:\Program Files\Hyena\Hyena_x64.exe" ; CHANGE_ME&lt;/P&gt;&lt;P&gt;Global Const $ERROR_MESSAGE_TITLE&amp;nbsp;								= "PSM " &amp;amp; $DISPATCHER_NAME &amp;amp; " Dispatcher error message"&lt;/P&gt;&lt;P&gt;Global Const $LOG_MESSAGE_PREFIX 								= $DISPATCHER_NAME &amp;amp; " Dispatcher - "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Global $TargetUsername&lt;/P&gt;&lt;P&gt;Global $TargetPassword&lt;/P&gt;&lt;P&gt;Global $TargetAddress&lt;/P&gt;&lt;P&gt;Global $ConnectionClientPID = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also updated applocker.  The program runs and it logs in but then when I try to do anything in the program, it's saying incorrect username/password. I believe its not passing the credentials I picked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 14:27:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378570#M4250</guid>
      <dc:creator>RickRay76</dc:creator>
      <dc:date>2024-09-10T14:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd party application - the application runs but it's not using the username/password that I am trying to connect with.</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378571#M4251</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How are you launching the application from within your AutoIT connector? The variable definition looks OK, but there should be some point later where you actually open up Hyena using the target username and password. For example (an unrelated MySQL example):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	LogWrite("starting client application")&lt;/P&gt;&lt;P&gt;	ToolTip ("Starting " &amp;amp; $DISPATCHER_NAME &amp;amp; "...")&lt;/P&gt;&lt;P&gt;	$ConnectionClientPID = Run($CLIENT_EXECUTABLE &amp;amp; " --query " &amp;amp; $TargetUsername &amp;amp; "@" &amp;amp; $TargetAddress)&lt;/P&gt;&lt;P&gt;	if ($ConnectionClientPID == 0) Then&lt;/P&gt;&lt;P&gt;		Error(StringFormat("Failed to execute process [%s]", $CLIENT_EXECUTABLE, @error))&lt;/P&gt;&lt;P&gt;	EndIf&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 14:58:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378571#M4251</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-09-10T14:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd party application - the application runs but it's not using the username/password that I am trying to connect with.</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378572#M4252</link>
      <description>&lt;P&gt;Hi EliH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.  I added the code but I get this error now.  Unable to open shared settings file 'C:\Program files\Hyena\--query username@netbios.com : They system cannot find the file specified.  Default values will be used.  Verify shared settings file name and path under main &amp;gt; Settings &amp;gt; General.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any additional assistance?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 15:21:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378572#M4252</guid>
      <dc:creator>RickRay76</dc:creator>
      <dc:date>2024-09-10T15:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd party application - the application runs but it's not using the username/password that I am trying to connect with.</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378573#M4253</link>
      <description>&lt;P&gt;It looks like the '--query' portion is getting concatenated in to the path for the program executable, which is leading to the file not found error. We want it to launch the executable When you used the example code above, did you copy it straight out or make modifications?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is another method in AutoIT using RunAs that could be used here as an alternative. The syntax looks something like this for a Chrome example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	; ------------------&lt;/P&gt;&lt;P&gt;	; Launch Chrome&lt;/P&gt;&lt;P&gt;	; ------------------&lt;/P&gt;&lt;P&gt;	$ConnectionClientPID = RunAs ($TargetUsername, $TargetLogonDomain, $TargetPassword, 2, $CLIENT_EXECUTABLE &amp;amp;" "&amp;amp; $TargetAddress, "", @SW_SHOWMAXIMIZED) ; Target address can be hardcoded in double quotes "https://something.com"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can check out the vendor documentation here: https://www.autoitscript.com/autoit3/docs/functions/RunAs.htm&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 15:47:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378573#M4253</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-09-10T15:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd party application - the application runs but it's not using the username/password that I am trying to connect with.</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378574#M4254</link>
      <description>&lt;P&gt;This is partial scripts it won't work.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 21:27:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378574#M4254</guid>
      <dc:creator>Sanzu</dc:creator>
      <dc:date>2024-09-10T21:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd party application - the application runs but it's not using the username/password that I am trying to connect with.</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378575#M4255</link>
      <description>&lt;P&gt;I guess I'm just confused and maybe you can shed some light. So, going into privilege cloud and selecting the username that has rights, hitting the connect drop down and choosing hyena. Why would it not use those credentials automatically? I think it's logging into the application with user PSM-4D00000000 instead of the username that is selected. The --query error was actually from the program, once it tried to login like that, it saved some shared settings under the application settings so I was able to remove that config in the actual application and no error this time.  It's just not using the credentials I am trying to connect with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for both of your help. &lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 13:13:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378575#M4255</guid>
      <dc:creator>RickRay76</dc:creator>
      <dc:date>2024-09-11T13:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd party application - the application runs but it's not using the username/password that I am trying to connect with.</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378576#M4256</link>
      <description>&lt;P&gt;So, I think the issue is probably with how the thick client is being invoked from AutoIT. Referring back to their RunAs function here: https://www.autoitscript.com/autoit3/docs/functions/RunAs.htm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is your logon_flag set to in your wrapper script RunAs function? In my 'Chrome' example in an earlier comment, I had logon_flag set to 2, "network credentials only". Flag 4 might be better for your situation to try and get it to use the onboarded credentials instead.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 17:52:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378576#M4256</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-09-11T17:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd party application - the application runs but it's not using the username/password that I am trying to connect with.</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378577#M4257</link>
      <description>&lt;P&gt;Here are some thing I tried. Adding the domain username as administrator on the server, adding the domain user with logon locally rights, setting applocker to audit only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the following lines:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ConnectionClientPID = RunAs($TargetUsername,$TargetLogonDomain,$TargetPassword,0,$CLIENT_EXECUTABLE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using 0, 1, 2 and 4 I get failed to execute process [C:\program files\hyena\hyena_64.exe]&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If I leave the default, $ConnectionClientPID = Run($CLIENT_EXECUTABLE) - it loads but not under the username I selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a regular application and not a web app if that helps.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 12:19:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378577#M4257</guid>
      <dc:creator>RickRay76</dc:creator>
      <dc:date>2024-09-12T12:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd party application - the application runs but it's not using the username/password that I am trying to connect with.</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378578#M4258</link>
      <description>&lt;P&gt;Any other ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 15:02:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378578#M4258</guid>
      <dc:creator>RickRay76</dc:creator>
      <dc:date>2024-09-16T15:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: 3rd party application - the application runs but it's not using the username/password that I am trying to connect with.</title>
      <link>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378579#M4259</link>
      <description>&lt;P&gt;Hello i'm working on Hyena too. It doesn't use the credentials as injected. The runas seems a good solution. Manually i can startup with the&lt;/P&gt;&lt;P&gt;runas /netonly&lt;/P&gt;&lt;P&gt;Without /netonly i get:&lt;/P&gt;&lt;P&gt;RUNAS ERROR: Unable to run - C:\Program Files\Hyena\Hyena_x64.exe&lt;/P&gt;&lt;P&gt;1385: Logon failure: the user has not been granted the requested logon type at this computer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would explain your error as it cannot startup.&lt;/P&gt;&lt;P&gt;Have to check how to use the /netonly in AutoIt&lt;/P&gt;&lt;P&gt;I'll let you now if this works&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 13:28:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/privilege-cloud-discussions/3rd-party-application-the-application-runs-but-it-s-not-using/m-p/1378579#M4259</guid>
      <dc:creator>wri</dc:creator>
      <dc:date>2024-11-07T13:28:33Z</dc:date>
    </item>
  </channel>
</rss>

