Hope you all doing good I’ve been trying to fetch the details from windows credentials for one of my RPA workflow. It always returns me the false value. Not sure, where I’m going wrong. Any kind of help would be appreciated. Have attached the xaml file for reference.
Please use ‘Generic Credentials’ instead of ‘Windows credentials’. Generic Credentials can be used by applications running in windows for authorization purposes, whereas Windows credentials are dedicated to windows and its services.
Thank you for the response. Actually, I was trying the window credential one as I need to unlock my windows screen prior to executing the workflow. Will try using the Generic Credentials. Hope it will sort out the problem. Once again thank you for your response.
Still hard luck … though I’m able to get the credentials from windows manager. I’m unable to unlock the windows screen with the bot.
Step1 : Used Get Secure Credential activity
Step2: Send the hot key : Enter
Step3 : Used Type secure text : To type the password.
It is failing with reason below reason:-
Desktop has been disconnected while performing UI actions.
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
UiPath.Core.ElementOperationException: Desktop has been disconnected while performing UI actions. ----> System.Runtime.InteropServices.COMException: Desktop has been disconnected while performing UI actions.
at UiPath.UiNodeClass.WriteText(String text, UiInputMethod inputMethod)
at UiPath.Core.UiElement.WriteText(String text, InputMethod method)
— End of inner ExceptionDetail stack trace —
at UiPath.Core.Activities.TaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Are you running an unattended or an attended robot?
If you are running an attended one you need to be logged in. The robot cannot automate the logon screen.
If you run an unattended one you have to either use orchestrator to be able to start interactive windows sessions (robot services logs on as an actual user) or specify your credentials which the robot use in a specific format as stated in the following document at the end of the document: