Skip to main content
Question

Change Manage account to Lower case

  • June 4, 2026
  • 1 reply
  • 14 views

Forum|alt.badge.img+2

Hi All,

 

I am working on one requirement which is related to Launching the application from BT Password safe. 

Application is launching from BT without issue however authentication is failing  as application only accepts the username in lower case . In BT account is domain account and it is in Capital letter and hence we cannot change the case of account . 

 

I am using PS_automate to launch the application. Is there anyway I can change the case of username before application is launched . That will help me to resolve issue

 

Awaiting response here. Need help here please .

Regards,

Imran Aliyani

1 reply

  • BeyondTrust Employee
  • June 8, 2026

Hello ​@immi563 

If you are using AutoIT Passthrough in your application I think the only way to change the case of the username would be to use the API to change the case of the username in Password Safe. 
Which would be the most secure way. 

 

AutoIT Passthrough encodes the username and password and sends it as a random looking string so the Password will not show on the command line of ps_automate.exe on your rds server. There is no way to change the case in the encoded string. If you disable passthrough in your application an administrator on your RDS server could see the password on the command line in Task Manager. 

If you were not using passthrough you could specify a PowerShell script as your application and use the script to set the case to lower and then launch ps_automate

Your application might look like this.. 

Application:
powershell.exe

Parameters:
-File C:\apps\PS\Test.ps1 -u "%u" -p "%p"

Your powershell script might look like this.

param
(
    [string]$u, #managed account name
    [string]$p, #managed account password
    ... other prameters as needed
)

$username = $u.ToLower()

$cmdPath = "C:\Program Files\BeyondTrust\pbpsmon\ps_automate.exe"
$cmdArgList = @(
    "ini=c:\apps\AppINI.ini",
    "TargetURL=https://someURL"
    "BrowserName=chrome"
    "Username=$username"
    "Password=$p"
)

& $cmdPath $cmdArgList

 

You also may want to open an enhancement request on our Ideas portal to have the option to change case in the ps_automate ini file. 

https://beyondtrustcorp.service-now.com/csm?id=kb_article_view&sysparm_article=KB0023618

 

Regards,

John