How to enter credentials


Hello please assist this Windows security screen occurs after the bot click process transaction, and I have to input my password.

Hello @hlagalapr,

It appears that the automation is trying to access a secured resource (e.g., network share, application, or service) that requires authentication, and Windows does not have stored credentials for it.

Please try these options:

  • Store credentials in Windows Credential Manager
    • Go to Control Panel → Credential Manager → Windows Credentials
    • Add the target system/URL and credentials
    • This prevents the popup during execution
  • Ensure the bot has proper access
    • If accessing a shared folder, API, or system, make sure the user running the bot already has permission

Thanks,
Karthik

@hlagalapr Please follow below steps and if works mark resolved because it will help others.

Step 1: Store the credentials in Orchestrator

  1. Go to Orchestrator

  2. Open the correct folder

  3. Go to Assets

  4. Click Add Asset

  5. Give it a name, for example: AppLoginCredential

  6. Select Credential as the asset type

  7. Enter the username

  8. Enter the password

  9. Save it

This way, the credential is stored securely in Orchestrator.


Step 2: Retrieve the credentials in UiPath Studio

In your automation project:

  1. Use the Get Credential activity

  2. In the AssetName field, enter the asset name, for example: AppLoginCredential

  3. Create two variables:

  • username → String

  • password → SecureString

  1. Map the outputs:

    • Usernameusername

    • Passwordpassword

Now your bot will fetch the stored credential during runtime.


Step 3: Handle the Windows Security popup

When the popup appears:

  1. Indicate the username field

  2. Use Type Into activity for the username

    • Value: username

Then:

  1. Indicate the password field

  2. Use Type Secure Text activity for the password

    • Value: password

I would recommend Type Secure Text for the password field instead of normal Type Into, because it is safer and meant for SecureString values.


Step 4: Click OK

After entering both fields:

  1. Use Click activity on the OK button

This should submit the Windows Security dialog.

Regards,

Dhruba

@Dhruba_Jyoti_Kalita i tried this solution but i am unable to indicate on password field and ok button…when i try to indicate, it indicate the whole part

Hi @chinthakayala_karthik i also tried this with no luck…thank you

@hlagalapr I would suggest using keyboard navigation instead:

  • Use Send Hotkey (Tab) to move focus to the password field

  • Use Type Secure Text to enter the password

  • Then use Send Hotkey (Enter) to submit

This approach is usually more reliable for this type of secure dialog.

Hi @hlagalapr,

Use Parallel activity workaround:

Branch 1: Your main process (where it gets stuck)

Branch 2:
Use Type Into (username)
Type Secure Text (password)
Use Tab / Enter hotkeys (don’t rely on selectors)

  • (avoid issue entirely)
    Store credentials in Windows Credential Manager
    Or pre-authenticate before process starts