Jump to content

Autologin not working correctly...


Recommended Posts

Hey all,

I changed the administrators name to my name using nLite and now windows trys to log onto the administrator account even though it doesnt exist! So autologin isnt working.

How can I fix this!? PLEASE!?

Link to comment
Share on other sites


My guess is that you still have these settings in your WINNT.SIF file:

[GuiUnattended]
AdminPassword = YourPassword
EncryptedAdminPassword = No
AutoLogon = Yes
AutoLogonCount = 1

It uses Administrator default. I'm not sure if you can specify a different administrator account in WINNT.SIF? :whistle:

Link to comment
Share on other sites

Here is my method for creating admin user with autlogon using a batchfile.

@echo off

: Set username and password (leave blank for non).
set AdminUser=BoardBabe
set AdminPass=

: Adding user.
net user %AdminUser% %AdminPass% /add
net localgroup Administratorer %AdminUser% /add
net accounts /maxpwage:unlimited

: Activate autologon.
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "%AdminUser%" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultPassword" /d "%AdminPass%" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /f

exit

Link to comment
Share on other sites

I use a VBS that renames the Administrator account. Can be run during RunOnceEx for instance. Haven't tested it though - I run it from desktop after installation is completed...

:D

Edited by Anderz
Link to comment
Share on other sites

argh!!!! It's not working!!!

AddUSer.cmd

cmdow @ /HID
@echo off

SET AdminUser=Antonio
SET AdminPass=********

NET user %AdminUser% %AdminPass% /add
NET localgroup Administrators %AdminUser% /add
NET accounts /maxpwage:unlimited

REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "%AdminUser%" /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultPassword" /d "%AdminPass%" /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "5" /f

EXIT

Just doesn't work :(

Edited by antonio_king
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...