zedox Posted February 6, 2006 Share Posted February 6, 2006 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 More sharing options...
BoardBabe Posted February 6, 2006 Share Posted February 6, 2006 Please post your winnt.sif and the method you are using to create your admin account. Link to comment Share on other sites More sharing options...
Anderz Posted February 6, 2006 Share Posted February 6, 2006 My guess is that you still have these settings in your WINNT.SIF file:[GuiUnattended] AdminPassword = YourPassword EncryptedAdminPassword = No AutoLogon = Yes AutoLogonCount = 1It uses Administrator default. I'm not sure if you can specify a different administrator account in WINNT.SIF? Link to comment Share on other sites More sharing options...
BoardBabe Posted February 6, 2006 Share Posted February 6, 2006 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=BoardBabeset AdminPass=: Adding user.net user %AdminUser% %AdminPass% /addnet localgroup Administratorer %AdminUser% /addnet accounts /maxpwage:unlimited: Activate autologon.reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "%AdminUser%" /freg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultPassword" /d "%AdminPass%" /freg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /fexit Link to comment Share on other sites More sharing options...
Anderz Posted February 6, 2006 Share Posted February 6, 2006 (edited) You put it in CMDLINES.TXT I assume? Edit: Yeah ... I saw you mentioned a batch file and of course, that's what I meant... Heheh... Edited February 6, 2006 by Anderz Link to comment Share on other sites More sharing options...
BoardBabe Posted February 6, 2006 Share Posted February 6, 2006 No, I put it in a batchfile that is ran from cmdlines.txt Link to comment Share on other sites More sharing options...
zedox Posted February 6, 2006 Author Share Posted February 6, 2006 ok here's the winnt.sif.I dont want to create an additional administrator account. I would like the original one renamed and auto login...@ BoardbabeIs this what your script does?cheers. Link to comment Share on other sites More sharing options...
possy_99 Posted February 6, 2006 Share Posted February 6, 2006 Boardbabe's suggestion creates a new user in the administrator usergroup, this is by far the easiest method. Link to comment Share on other sites More sharing options...
BoardBabe Posted February 6, 2006 Share Posted February 6, 2006 by far the best one too Link to comment Share on other sites More sharing options...
zedox Posted February 6, 2006 Author Share Posted February 6, 2006 Suppose I'll have to use that method then! Is there no way of using the original administrator account just renamed? Link to comment Share on other sites More sharing options...
Anderz Posted February 6, 2006 Share Posted February 6, 2006 (edited) 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... Edited February 6, 2006 by Anderz Link to comment Share on other sites More sharing options...
BoardBabe Posted February 6, 2006 Share Posted February 6, 2006 If you create a useraccount like I do the Administrator account will not even show. Link to comment Share on other sites More sharing options...
zedox Posted February 9, 2006 Author Share Posted February 9, 2006 (edited) argh!!!! It's not working!!!AddUSer.cmdcmdow @ /HID@echo offSET AdminUser=AntonioSET AdminPass=********NET user %AdminUser% %AdminPass% /addNET localgroup Administrators %AdminUser% /addNET accounts /maxpwage:unlimitedREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "%AdminUser%" /fREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultPassword" /d "%AdminPass%" /fREG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "5" /fEXITJust doesn't work Edited February 9, 2006 by antonio_king Link to comment Share on other sites More sharing options...
BoardBabe Posted February 9, 2006 Share Posted February 9, 2006 antonio_king: Well it's not the batch file Must be something else... Link to comment Share on other sites More sharing options...
zedox Posted February 10, 2006 Author Share Posted February 10, 2006 nlhive.inf and nlite.in_ doesnt contain any autologin information.I have no other auto login in any batch or registry files!? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now