# Eggplant scripting when trying to use and encrypted password

**URL:** <https://forums.eggplantsoftware.com/t/eggplant-scripting-when-trying-to-use-and-encrypted-password/8679>\
**Category:** Uncategorized\
**Created:** [December 12, 2023, 4:51pm UTC](https://forums.eggplantsoftware.com/t/eggplant-scripting-when-trying-to-use-and-encrypted-password/8679 "2023-12-12T16:51:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mustafaj19](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@mustafaj19](https://forums.eggplantsoftware.com/u/mustafaj19)\
**Post date:** [December 12, 2023, 4:51pm UTC](https://forums.eggplantsoftware.com/t/eggplant-scripting-when-trying-to-use-and-encrypted-password/8679/1 "2023-12-12T16:51:47Z")

</div>

having issues with running a script which has an encrypted password being entered via command line. only enters 2 characters and then scripts stops

---

<div class="post-metadata">

**Author:** ![DaveHester](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/davehester/32/104_2.png) [@DaveHester](https://forums.eggplantsoftware.com/u/DaveHester)\
**Post date:** [December 15, 2023, 6:06pm UTC](https://forums.eggplantsoftware.com/t/eggplant-scripting-when-trying-to-use-and-encrypted-password/8679/2 "2023-12-15T18:06:03Z")

</div>

Does your run log show you what the error is? What is the error message?

---

<div class="post-metadata">

**Author:** ![mustafaj19](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@mustafaj19](https://forums.eggplantsoftware.com/u/mustafaj19)\
**Post date:** [December 18, 2023, 3:42pm UTC](https://forums.eggplantsoftware.com/t/eggplant-scripting-when-trying-to-use-and-encrypted-password/8679/3 "2023-12-18T15:42:49Z")

</div>

Hi Dave

its not showing an error message , Just when I go to live run in the drop down for environments is is greyed out as the environment I have set up is showing as disconnected so will not let me run.

---

<div class="post-metadata">

**Author:** ![DaveHester](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/davehester/32/104_2.png) [@DaveHester](https://forums.eggplantsoftware.com/u/DaveHester)\
**Post date:** [December 18, 2023, 8:37pm UTC](https://forums.eggplantsoftware.com/t/eggplant-scripting-when-trying-to-use-and-encrypted-password/8679/4 "2023-12-18T20:37:01Z")

</div>

Hi Mustafa,

The drop-down in Live Run in DAI is looking for an Environment that is in Design mode. More on that here: [Live Run | DAI Docs](https://docs.eggplantsoftware.com/dai/live-run/)

Is your Design agent running on the DAI server itself or another machine?

Thanks,  
Dave
