Created
April 20, 2016 16:17
-
-
Save jmahlman/62da766888e605246d50146c4a24dc7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM -------------------------------------------------------------------------------- | |
REM Enable Auto login | |
REM -------------------------------------------------------------------------------- | |
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /t REG_DWORD /d 1 /f | |
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /t REG_SZ /d "YOUR WINDOWS USER" /f | |
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultPassword" /t REG_SZ /d "USER PASSWORD" /f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment