About nLite Option to renaming the Administrator account. Iīm getting an error on first logon!!!
#1
Posted 10 October 2006 - 06:27 PM
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?
#2
Posted 11 October 2006 - 03:22 PM
#3
Posted 11 October 2006 - 09:51 PM
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?
#4
Posted 12 October 2006 - 07:37 AM
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.
#5
Posted 12 October 2006 - 10:11 PM
SET KEY="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
REG ADD %KEY% /V "DefaultUserName" /D "gugutz" /f
REG ADD %KEY% /V "AutoAdminLogon" /D "1" /f
Joe
#6
Posted 13 October 2006 - 02:58 AM
sounds really interesting.
thanks, jcbrief! gonna try it.
and you export these reg entries with cmdlines?
or in a before-time at setup part?
This post has been edited by gugutz: 13 October 2006 - 03:05 AM
#7
Posted 13 October 2006 - 10:14 AM
cmdlines.txt
[COMMANDS]
".\install.bat"
install.bat
@Echo Off
call Users.cmd
call PostRegistry.cmd
call PostRunOnceEx.cmd
User.cmd
@ECHO OFF
CMDOW @ /HID
TITLE Creating Windows XP Users
SET 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" /f
REG ADD %KEY% /V "AutoAdminLogon" /D "1" /f
rem Disable Guest User
net user Guest /active:no
Joe
#8
Posted 13 October 2006 - 04:59 PM
#9
Posted 13 October 2006 - 10:10 PM
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
#10
Posted 14 October 2006 - 03:29 PM
new 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?
This post has been edited by gugutz: 14 October 2006 - 03:36 PM
#11
Posted 15 October 2006 - 05:45 PM
gugutz, on Oct 14 2006, 04:29 PM, said:
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.ms...xp/view/web/18/
I put CreateUser.exe in the $OEM$ folder with a subfolder of Users to where I have the userfiles
I've been doing much reading on getting my unattended up and running (well more like having fun playing with it
Joe.
#12
Posted 16 October 2006 - 11:22 PM
thanks
Mike
This post has been edited by dmikester1: 16 October 2006 - 11:22 PM
- ← [TIP] Default Download Directory
- Unattended Windows 2000/XP/2003
- Error while installing unatended xp →



Help

Back to top








