Providing the password doesn't work.
VaughanJ opened this issue · 2 comments
Describe the bug and expected behavior
I call `C:\tmp\commando-vm\install.ps1 -nochecks $true -password $NewAdminPassword -profile_file 'C:\tmp\commando-vm\Profiles\lite.json'' and the installation starts. At some point the OS restarts, I leave the installation a while assuming that it has auto logged on and the installation is running. When I log back in a prompt popups asking me for a password and then installation continues.
To Reproduce
Steps to reproduce the behavior:
- Login to Windows OS
- In Powershell as ADMIN, RUN 'C:\tmp\commando-vm\install.ps1 -nochecks $true -password $NewAdminPassword -profile_file 'C:\tmp\commando-vm\Profiles\lite.json''
- Wait until the installation restarts.
- Leave the installation running for 30 minutes by not logging in (assuming auto login has continued the installation)
- Login
- See the problem when you are presented with a password prompt to continue the installation
Version
- OS: Microsoft Windows Server 2019 Datacenter
Try disabling password login - have no password needed to sign in. I think its best to do and then set a password once the installation has finished.
Also try install this on windows 10 instead of windows server 2019.
We are currently working on the 3.0 release of Commando later this summer. This issue is not present in the dev branch.