# Windows password ignored

**URL:** <https://forum.opennebula.io/t/windows-password-ignored/9281>\
**Category:** Installation & Configuration\
**Created:** [March 2, 2021, 4:22pm UTC](https://forum.opennebula.io/t/windows-password-ignored/9281 "2021-03-02T16:22:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nux](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/nux/32/4443_2.png) [@Nux](https://forum.opennebula.io/u/Nux)\
**Post date:** [March 2, 2021, 4:22pm UTC](https://forum.opennebula.io/t/windows-password-ignored/9281/1 "2021-03-02T16:22:24Z")

</div>

Hello,

I’ve created a Windows 2019, context drivers installed. Created in the template a “USER INPUT” of type TEXT called “PASSWORD”. I instantiate a new VM, but can’t RDP with user Administrator and the input password.

In the context.sh file I see PASSWORD=$PASSWORD instead of my user input value.

Any pointers? Thanks

---

<div class="post-metadata">

**Author:** ![sbetanzos](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/sbetanzos/32/6430_2.png) [@sbetanzos](https://forum.opennebula.io/u/sbetanzos)\
**Post date:** [March 5, 2021, 9:08am UTC](https://forum.opennebula.io/t/windows-password-ignored/9281/2 "2021-03-05T09:08:23Z")

</div>

Hi @Nux ,

First, you should know that there is an issue related to [this issue](https://github.com/OpenNebula/one/issues/4971) in github.

But you have the option to instantiate with plain-text password.

- You should **disable** password encryption by comment out/removing `VM_ENCRYPTED_ATTR ="CONTEXT/PASSWORD"` from **oned.conf file**.

- The VM template should have a content like the following:

```auto
CONTEXT = [
   PASSWORD = "$PASSWORD",
   USERNAME = "$USERNAME" ]
USER_INPUTS = [
   PASSWORD = "M|text|Password| |root",
   USERNAME = "M|text|Username| |root" ]

```

- Once you instantiate the template, you should see the result in the VM:

```auto
CONTEXT = [
   ....
   PASSWORD = "root",
   USERNAME = "root"]

```

let me know if it worked,  
regards 🚀
