Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autologon fails using 32-bit powershell, succeeds on 64-bit #1

Closed
mwrock opened this issue Sep 16, 2014 · 4 comments
Closed

autologon fails using 32-bit powershell, succeeds on 64-bit #1

mwrock opened this issue Sep 16, 2014 · 4 comments

Comments

@mwrock
Copy link
Member

mwrock commented Sep 16, 2014

From https://boxstarter.codeplex.com/workitem/87/edit

Here's a simple Boxstarter script I'm using to test autologin. I save this to my desktop as test.ps1.

if ( Get-UAC )
{
    Disable-UAC
    Invoke-Reboot
}

And here's the code I'm using to run the boxstarter script

Set-ExecutionPolicy Unrestricted -Force
iex ( ( new-object net.webclient ).DownloadString( 'https://chocolatey.org/install.ps1' ) )
cinst Boxstarter
boxstartershell
$creds = Get-Credential
Install-BoxstarterPackage -PackageName "c:\users\YOUR_USER\desktop\test.ps1" -Credential $creds

I'm running this from a clean 64-bit Win 7 SP1 machine with all windows updates already applied.

When I run this using 64-bit Powershell there are no issues. The machine reboots, the auto-login occurs, and boxstarter finishes.

However, when I run this using 32-bit Powershell ("Windows Powershell (x86)"), the machine reboots and then sits at the login screen. I've double-checked that I'm supplying the correct username/password to Get-Credential.

@mwrock
Copy link
Member Author

mwrock commented Sep 16, 2014

Cant fundamentally fix since a 32 bit process on a 64 bit machine cannot access the autologon reg keys. But boxstarter could provide better a error message.

@mwrock mwrock added the Bug Issues where something has happened which was not expected or intended label Sep 16, 2014
@it-praktyk
Copy link
Contributor

Could you considered the solution like this: http://stackoverflow.com/a/19381092 ?

@mwrock
Copy link
Member Author

mwrock commented Dec 26, 2015

yeah that may work

mwrock pushed a commit that referenced this issue Jan 29, 2016
Merge pull request #101 from cam1985/master
mwrock pushed a commit that referenced this issue Sep 6, 2017
Add Show Ribbon in Windows Explorer
@pauby pauby added Up For Grabs 0 - Backlog Issue is accepted, but is not ready to be worked on or not in current sprint labels Mar 12, 2019
pauby added a commit to pauby/boxstarter that referenced this issue Aug 29, 2023
@pauby pauby added 3 - Review Code has been added, and is available for review as a pull request and removed 0 - Backlog Issue is accepted, but is not ready to be worked on or not in current sprint labels Aug 29, 2023
@pauby pauby added this to the 3.1.0 milestone Aug 31, 2023
@gep13 gep13 removed this from the 3.1.0 milestone Sep 4, 2023
@gep13 gep13 added Invalid / Not Issue / No repro / Not Implementing and removed Bug Issues where something has happened which was not expected or intended 3 - Review Code has been added, and is available for review as a pull request labels Sep 4, 2023
@gep13
Copy link
Member

gep13 commented Sep 4, 2023

Based on a discussion with @pauby I have removed this issue from the 3.1.0 milestone, and assigned the Not Implementing label. Boxstarter is not intended to be run from a 32-bit session when on a 64-bit operating system, therefore we are not going to make any changes here.

A PR has been raised to make this clear in the documentation.

@gep13 gep13 closed this as completed Sep 4, 2023
@gep13 gep13 reopened this Sep 4, 2023
@gep13 gep13 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants