<?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: Stop user from interfering with AutoIt script in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357534#M47521</link>
    <description>&lt;P&gt;Hi @Steven Sultana​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AutoIt provides the BlockInput() function to block user input (mouse and keyboard) during critical parts of the script. You can enable this before your Send() commands and disable it afterward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find more information about this function on AutoIT site. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2024 23:07:13 GMT</pubDate>
    <dc:creator>M.Vora780263</dc:creator>
    <dc:date>2024-05-28T23:07:13Z</dc:date>
    <item>
      <title>Stop user from interfering with AutoIt script</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357533#M47520</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I created an AutoIt script, and the steps are working as required. However, if the user tries to interfere with it, they are successful. For example, if the user keeps a key pressed down during the entire process, they key is also sent to the username and password fields when they come into focus during the "Send()" instruction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we block such interference?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation says that interference is blocked by default until the SendPID() instruction is carried out, but my Send() commands are before the PSMGenericClient_SendPID() command and user can still interfere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to understand what the "Lock Application Window" section does, but the documentation does not exactly explain it in human terms. Apart from this, is seems like it is only relevant if the CC is NOT a remote app (eg. https://community.cyberark.com/s/question/0D52J00009Y1j2zSAB). I tested with both DisableRemoteApp and without, to no avail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried explicitly adding BlockUserInput=Yes under "Target Settings &amp;gt; Client Specific" to no avail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Might someone from the community have a clue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(PSM v12.6.7.5, if it makes a significant difference).&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 19:55:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357533#M47520</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-05-28T19:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Stop user from interfering with AutoIt script</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357534#M47521</link>
      <description>&lt;P&gt;Hi @Steven Sultana​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AutoIt provides the BlockInput() function to block user input (mouse and keyboard) during critical parts of the script. You can enable this before your Send() commands and disable it afterward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find more information about this function on AutoIT site. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 23:07:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357534#M47521</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2024-05-28T23:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Stop user from interfering with AutoIt script</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357535#M47522</link>
      <description>&lt;P&gt;Thank you for the suggestion. Unfortunately, with BlockInput(1) I'm still able to interfere. I'm running the script from the PSM server itself: "autoit.exe script.au3 components_dir /test" (with the proper full paths where necessary). I did this to ensure that whatever I messed with in the CC does not end up causing issues due to conflicts etc.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 07:09:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357535#M47522</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-05-29T07:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stop user from interfering with AutoIt script</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357536#M47523</link>
      <description>&lt;P&gt;Hi @Steven Sultana​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using modal message box in the AutoIt script, please try excluding it.&lt;/P&gt;&lt;P&gt;The message box can cause the script to pause and potentially allowing user input to interfere.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A alt="https://www.autoitscript.com/wiki/Modal_MsgBox_Styles" href="https://www.autoitscript.com/wiki/Modal_MsgBox_Styles" target="_blank"&gt;https://www.autoitscript.com/wiki/Modal_MsgBox_Styles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 00:39:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357536#M47523</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2024-05-30T00:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Stop user from interfering with AutoIt script</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357537#M47524</link>
      <description>&lt;P&gt;My apologies, I did not report my findings!&lt;/P&gt;&lt;P&gt;It seems like "RequireAdmin" keyword is needed at the top of the script for BlockInput() to work as required.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 07:20:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357537#M47524</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-05-30T07:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Stop user from interfering with AutoIt script</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357538#M47525</link>
      <description>&lt;P&gt;Ah, bit of a gotcha - PSM cannot run a connector as administrator, as per https://community.cyberark.com/s/question/0D52J00006tr1l1SAA/psm-custom-cc-with-autoit-how-to-handle-consoles-which-need-elevated-permissions&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 16:15:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/stop-user-from-interfering-with-autoit-script/m-p/1357538#M47525</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-05-30T16:15:42Z</dc:date>
    </item>
  </channel>
</rss>

