Ctrl+Alt+Del seems to cause a problem for logging in?

Oct 22, 2013 at 9:48 PM
My work machine has Ctrl+Alt+Del enabled and it seems boxstarter isn't able to auto login in this scenario?
Coordinator
Oct 23, 2013 at 12:18 AM
Can you provide a little more clarity on "Ctrl + Alt + Del Enabled?" I'd assume this simply means that the machine requires a login after reboot/hibernation/sleeping and you have to enter ctrl+alt+del to enter your credentials. If so, this is a typical scenario that boxstarter should be able to handle. Did Boxstarter prompt you for your credentials upon starting or did you pass them as a parameter? Boxstarter will use those credentials to attempt to log you on upon reboot. What OS are you using? If it Windows 8.1, it will often take you to the login screen after reboot, but you are actually logged in and Boxstarter is likely running.

Of course you may have hit an edge case that I have not accounted for (quite likely actually).

Thanks!
Oct 23, 2013 at 5:59 AM
I'm running Windows 7, you are correct on having to enter Ctrl+alt+del to enter credentials. Perhaps I was too impatient... Any generic estimate of how long it might take to login once the CAD message comes up? Boxstarter prompted for them and confirmed the authentication after I entered them. I gave it a minute or two after the CAD message came up, and then I logged in manually; once windows had finished loading it's basic startup stuff the Boxstarter cmd opened again and began running so it seemed to work after login.
Coordinator
Oct 23, 2013 at 2:18 PM
Hmm. It does sound like there is an issue with the autologin.

I did a little research and see realize you were reffering to the group policy setting to enable ctrl alt del. I enaled this on my win7 vm and it did not impact the auto login so I dont think that is the issue. On Windows 7 I would expect it to auto login after the reboot almost immediately upon seeing the CAD screen. The boxstarter log files may provide some clues as to what might be wrong. Open windows explorer and you will find it at %LocalAppData%\Boxstarter\Boxstarter.log. You should see something like this around the time it rebooted:

[2013-09-18T00:17:37.3908969-07:00] Boxstarter: Enabling UAC
[2013-09-18T00:17:37.4065226-07:00] Boxstarter: Securely Storing ULTRAWROCK\Matt credentials for automatic logon
[2013-09-18T00:17:37.9065521-07:00] Boxstarter: Logon Set
[2013-09-18T00:17:37.9221761-07:00] + Boxstarter finished Installation session. 00:00:37.6238587
[2013-09-18T00:17:37.9221761-07:00] Boxstarter: Restarting...
[2013-09-18T00:18:19.7950281-07:00] Boxstarter Version 1.1.40

I'm curious if you see the message stating "Securely Storing <domain>\<user> credentials for automatic logon". Is it the correct user and are there any exceptions logged nearby?

Thanks!
Oct 23, 2013 at 2:49 PM
Here's the pertinent section of my log file:
[2013-10-22T16:13:42.7358193-05:00] Boxstarter: Enabling UAC
[2013-10-22T16:13:42.7678225-05:00] Boxstarter: Securely Storing COMPANY\username credentials for automatic logon
[2013-10-22T16:13:43.3168774-05:00] Boxstarter: Logon Set
[2013-10-22T16:13:43.3238781-05:00] + Boxstarter finished Installation session. 00:00:13.3625596
[2013-10-22T16:13:43.3278785-05:00] Boxstarter: Restarting...
[2013-10-22T16:18:06.3815810-05:00] Boxstarter Version 1.1.40
It seems as though everything should have worked, I'll try it again today at some point and see what happens. Here is the script I'm using in case that is useful:
try {

    Set-ExplorerOptions -showFileExtensions

    cinst coffeescript

} catch {
    Write-ChocolateyFailure 'TestPkg1' $($_.Exception.Message)
}