gugutz Posted October 11, 2006 Share Posted October 11, 2006 Hi.I used nLite to rename the admin account to gugutz.so now, when i install windows xp with my unattended and gets to the part to the 1st logon, witch is the part the runonceex begins to run, appears this message box saying it was unable to logon because of the username.and i can see a logon box, like in classic style, but i can´t do anything, unless press ok, then it logs on.is there a way to keep the admin account renamed to my nickname and avoid this error msg at first logon, or windows is configured natively to first logs on (if UnattendSwitch is set to Yes) with an account named Administrator? Link to comment Share on other sites More sharing options...
mazin Posted October 11, 2006 Share Posted October 11, 2006 I had the same problem and more.[http://www.msfn.org/board/index.php?showtopic=83621] Link to comment Share on other sites More sharing options...
gugutz Posted October 12, 2006 Author Share Posted October 12, 2006 mazin, i ´ve read your post, but none of the answers there solved your fist question as well, witch was the problem at logging at first time with a different admin account name.since i renamed it to gugutz, windows won´t do the fist logon unless i press the OK button. After that, it works fine, but then i´m i little bit of perfectionist, and i would like to solve this.What did you do to get this problem solved? Link to comment Share on other sites More sharing options...
mazin Posted October 12, 2006 Share Posted October 12, 2006 When creating my latest nLited CD, I haven't used the pages Unattended and Tweaks in nLite.I used cancerface's CreateUser utility to rename Admin and Guest accounts, and create a new user. All this is done unattendedly.There are more options in CreateUser, though.To tweak my PC, I just use my collection of reg files. Link to comment Share on other sites More sharing options...
jcbrief Posted October 13, 2006 Share Posted October 13, 2006 I used CreateUser and had the same problem when I renamed the Admin User. I used the following to fix my problem., except I used your new admin name in this example.SET KEY="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"REG ADD %KEY% /V "DefaultUserName" /D "gugutz" /fREG ADD %KEY% /V "AutoAdminLogon" /D "1" /fJoe Link to comment Share on other sites More sharing options...
gugutz Posted October 13, 2006 Author Share Posted October 13, 2006 (edited) hmmmmm.sounds really interesting.thanks, jcbrief! gonna try it.and you export these reg entries with cmdlines?or in a before-time at setup part? Edited October 13, 2006 by gugutz Link to comment Share on other sites More sharing options...
jcbrief Posted October 13, 2006 Share Posted October 13, 2006 cmdlines is very limited, so I start a batch file from cmdlines which is where I have this registry change sections.cmdlines.txt[COMMANDS]".\install.bat"install.bat@Echo Offcall Users.cmdcall PostRegistry.cmdcall PostRunOnceEx.cmdUser.cmd@ECHO OFFCMDOW @ /HIDTITLE Creating Windows XP UsersSET KEY="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"START /WAIT %~dp0CreateUser.exe /INI="%~dp0Users\RenAdmin.ini"... My other users ...REG ADD %KEY% /V "DefaultUserName" /D "RenamedAdmin" /fREG ADD %KEY% /V "AutoAdminLogon" /D "1" /frem Disable Guest Usernet user Guest /active:noJoe Link to comment Share on other sites More sharing options...
gugutz Posted October 13, 2006 Author Share Posted October 13, 2006 so i´m gonna have to use the User Creation tool, as well the registry entries? Link to comment Share on other sites More sharing options...
jcbrief Posted October 14, 2006 Share Posted October 14, 2006 nope.You already used nLite and changed your admin from what you said. This is just whave I've used to change my admin, and I found I had to use this registry method to let windows know the new defaultadmin.Joe Link to comment Share on other sites More sharing options...
gugutz Posted October 14, 2006 Author Share Posted October 14, 2006 (edited) @ jcbriefnew problem, man.nlite 1.2 RC now isn´t coming with the rename admin account option.how do i rename it know to my nickname? Edited October 14, 2006 by gugutz Link to comment Share on other sites More sharing options...
jcbrief Posted October 15, 2006 Share Posted October 15, 2006 nlite 1.2 RC now isn´t coming with the rename admin account option.how do i rename it know to my nickname?When I tried nLite a few weeks ago I couldn't see how to rename the admin account, so I took another path then nLite. So I don't know much about more then using it a few times.A thought (I'm not sure it nLite supports it though), you could user the "User Creation Tool". With this you can rename the admin account, at least that is what I've done in win2k install with it. Its desiged for 2k & xp and more I think.This would rquire adding the $OEM$ folder, this will give you some idea of its layout.http://unattended.msfn.org/unattended.xp/view/web/18/I put CreateUser.exe in the $OEM$ folder with a subfolder of Users to where I have the userfilesI've been doing much reading on getting my unattended up and running (well more like having fun playing with it ).Joe. Link to comment Share on other sites More sharing options...
dmikester1 Posted October 17, 2006 Share Posted October 17, 2006 (edited) I'm getting this exact same error when using nlite. Is there any way to get this to work without using the seperate user creation tool? I don't feel like adding another program to my installation.thanksMike Edited October 17, 2006 by dmikester1 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