MSFN Forum: About nLite Option to renaming the Administrator account. - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

About nLite Option to renaming the Administrator account. Iīm getting an error on first logon!!! Rate Topic: -----

#1 User is offline   gugutz 

  • Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 16-September 06

Posted 10 October 2006 - 06:27 PM

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?


#2 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 11 October 2006 - 03:22 PM

I had the same problem and more.
[http://www.msfn.org/...howtopic=83621]

#3 User is offline   gugutz 

  • Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 16-September 06

Posted 11 October 2006 - 09:51 PM

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?

#4 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 12 October 2006 - 07:37 AM

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.

#5 User is offline   jcbrief 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 26-July 05

Posted 12 October 2006 - 10:11 PM

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" /f
REG ADD %KEY% /V "AutoAdminLogon" /D "1" /f

Joe

#6 User is offline   gugutz 

  • Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 16-September 06

Posted 13 October 2006 - 02:58 AM

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?

This post has been edited by gugutz: 13 October 2006 - 03:05 AM


#7 User is offline   jcbrief 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 26-July 05

Posted 13 October 2006 - 10:14 AM

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 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 User is offline   gugutz 

  • Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 16-September 06

Posted 13 October 2006 - 04:59 PM

so iīm gonna have to use the User Creation tool, as well the registry entries?

#9 User is offline   jcbrief 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 26-July 05

Posted 13 October 2006 - 10:10 PM

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

#10 User is offline   gugutz 

  • Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 16-September 06

Posted 14 October 2006 - 03:29 PM

@ jcbrief

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 User is offline   jcbrief 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 26-July 05

Posted 15 October 2006 - 05:45 PM

View Postgugutz, on Oct 14 2006, 04:29 PM, said:

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.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 User is offline   dmikester1 

  • Newbie
  • Group: Members
  • Posts: 17
  • Joined: 17-July 06

Posted 16 October 2006 - 11:22 PM

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.
thanks
Mike

This post has been edited by dmikester1: 16 October 2006 - 11:22 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy