Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Feature request: Add extension AutoAdminLogon #80

Closed
oleksis opened this issue Dec 14, 2021 · 4 comments
Closed

Feature request: Add extension AutoAdminLogon #80

oleksis opened this issue Dec 14, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@oleksis
Copy link
Contributor

oleksis commented Dec 14, 2021

Enable automatic logging in Windows 11 with one default user.

Work with the reg keys:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon"="1"
"DefaultUserName"="__USERNAME__"
"DefaultPassword"="__PASSWORD__"

In this branch (AutoAdminLogon) have the plugin file and the scripts. This case we need add middle step for ask for the default UserName and Password and update the scripts; replace __USERNAME__ and __PASSWORD__ and then run the .bat

If sound good i send the PR

@Belim Belim added the enhancement New feature or request label Dec 23, 2021
@Belim
Copy link
Member

Belim commented Dec 23, 2021

Yes, please keep 'em coming

@Belim
Copy link
Member

Belim commented Dec 27, 2021

For username, in batch we have the variable %username% that equals to the logged user's username

yeah 😃
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V DefaultUserName /T REG_SZ /D %Username% /F

But how to handle the Password field 🤔 Maybe just adding a messagebox
msg "%username%" "Please add a Password for the currently logged user here: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon |DefaultPassword:"

@Belim Belim closed this as completed Dec 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants
@oleksis @Belim and others