October 11, 200619 yr 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?
October 11, 200619 yr I had the same problem and more.[http://www.msfn.org/board/index.php?showtopic=83621]
October 12, 200619 yr Author 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?
October 12, 200619 yr 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.
October 13, 200619 yr 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
October 13, 200619 yr Author 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, 200619 yr by gugutz
October 13, 200619 yr 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
October 13, 200619 yr Author so i´m gonna have to use the User Creation tool, as well the registry entries?
October 14, 200619 yr 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
October 14, 200619 yr Author @ 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, 200619 yr by gugutz
October 15, 200619 yr 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.
October 17, 200619 yr 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, 200619 yr by dmikester1
Create an account or sign in to comment