- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-02-2019 12:14 AM
We are having a use case to support a URL having Windows Authentication. Looks like the Universal connector,PSMWebFormSample and PSMWebAppSample doesn't seem to support.
Can someone share us a sample AutoIT dispatcher written for the similar requirement.
Thanks,
Regards,
Antony Sunny
07-02-2019 12:59 AM
for this kind of scenario i think you need to use keyboard based AUTO it script for example using send () to send password ,username and tab functions to navigate
07-02-2019 12:59 AM
for this kind of scenario i think you need to use keyboard based AUTO it script for example using send () to send password ,username and tab functions to navigate
07-02-2019 01:23 AM
But how password will be fetched in the session when it is using Windows authentication?
07-02-2019 01:23 AM
But how password will be fetched in the session when it is using Windows authentication?
09-09-2019 11:02 PM
@Ankush Agarwal , @Himanshu Pandey
I have developed a Autoit script to launch a web app (e.g: opens gmail.com and logs me in) .
When i try to use the same connection component for concurrent sessions (along with the above) it's just stuck. any thoughts?
09-10-2019 01:58 AM
Can you elaborate 'Stuck', is it happening for all the users on all the PSMs or just on specific one?
09-10-2019 01:58 AM
Can you elaborate 'Stuck', is it happening for all the users on all the PSMs or just on specific one?
09-10-2019 05:21 AM
@Himanshu Pandey
Thanks for your response.
---
Below is my code snippet
Global $ConnectionClientPID = 0
CLIENT_EXECUTABLE = "<path_to_chrome>"
$Address = "www.gmail.com"
Local $chrome_arguments = " --new-window "
$ConnectionClientPID = Run('"' & $CLIENT_EXECUTABLE & '" ' & $Address & $chrome_arguments)
if ($ConnectionClientPID == 0) Then
Error(StringFormat("Failed to execute process [%s]", $CLIENT_EXECUTABLE, @error))
EndIf
---
for successful attempts i see below in the logs:
PSMDU019I Dispatcher trace message: [<Dispatcher Name> - sending PID to PSM]
PSMDU013I Received a request from dispatcher [SendPID]
PSMDU046I Sent PID of the dispatched process to PSM. PID: 16444
PSMDU015I Successfully performed dispatcher's request [SendPID] (result=[0])
PSMDU019I Dispatcher trace message: [<Dispatcher Name> - Terminating Dispatcher Utils Wrapper]
PSMDU013I Received a request from dispatcher [FinalizeDispatcher]
For unsuccessful attempts i see it's not able to open a new session ( i assume this is because shadow user has already have a chrome session opened with PID generated as above) :
PSMDU019I Dispatcher trace message: [< Dispatcher Name > - starting client application]
--
06-30-2021 03:35 AM
For Windows authentication, you need to invoke the credentials using command line or AutoIT. I find command line pretty easy and straight forward with no chances of error. Webforms will not work.
Attached is the Target Settings definition that you need to use in your connection component.
Thanks
Abhishek
09-06-2021 12:03 AM
Hi Venkata,
I am facing the same issue shadow user is not able to open another chrome concurrent session and it is stucking on starting window. Could you please share resolution if you got for the same.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

