Jump to content

Changing nlite administrator custom name, I can't!


a.garza

Recommended Posts

I'm trying to edit a unattended install made by nLite.

The nlite.inf file have some lines that make the Administrator account renamed to LEONIC.

I figured if I simply replace that text with my own name, it will be fine, but NO!. After installing, Windows tells me that the username or domain is not correct (In this case I replaced LEONIC to Administrador in the nlite.inf file) and it appears on the classic logon box, after the error message it goes back to the XP Style Logon Screen but with the former name (LEONIC)! What am I doing wrong.

Let me paste the nlite.inf file:

[Version]
Signature = "$Windows NT$"
[Optional Components]
nLite
[nLite]
OptionDesc = "nLite"
Tip = "Windows component removal adjustments and tweaks."
Modes = 0,1,2,3
DelReg = P
AddReg = T
AddReg = TO
BitReg = B
[U]
AddReg = T
DelReg = P
[T]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update","AUOptions",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","AutoAdminLogon",0x00000000,1
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultUserName",0x00000000,"LEONIC"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultPassword",0x00000000,""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoDesktopCleanupWizard",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Tour","RunCount",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Driver Signing","Policy",0x00000001,0
HKCU,"SOFTWARE\Policies\Microsoft\Windows NT\Driver Signing","BehaviorOnFailedVerify",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","SfcDisable",0x00010001,0xFFFFFF9D
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","DevicePath",0x00020000,"%SystemRoot%\inf"
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters","EnablePrefetcher",0x00010001,2
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System","DisableStatusMessages",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System","VerboseStatus",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","LogonType",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewShadow","DefaultValue",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewShadow","DefaultByAlphaTest",0x00010001,1
HKCR,".lst","PerceivedType",0x00000000,"text"
HKCR,".cfg","",0x00000000,"inifile"
HKCR,".cfg\PersistentHandler","",0x00000000,"{5e941d80-bf96-11cd-b579-08002b30bfeb}"
HKCR,".conf","",0x00000000,"inifile"
HKCR,".conf\PersistentHandler","",0x00000000,"{5e941d80-bf96-11cd-b579-08002b30bfeb}"
HKCR,".nfo","",0x00000002,"txtfile"
HKCR,".nfo","Content Type",0x00000002,"text/plain"
HKCR,".nfo","PerceivedType",0x00000002,"text"
HKCR,".nfo\PersistentHandler","",0x00000002,"{5e941d80-bf96-11cd-b579-08002b30bfeb}"
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer","ForceClassicControlPanel",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket","NukeOnDelete",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket","UseGlobalSettings",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Active Setup\Installed Components\{4b218e3e-bc98-4770-93d3-2731b9329278}","StubPath",0x00020000,""
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoSMConfigurePrograms",0x00010001,1
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer","ClearRecentDocsOnExit",0x00010001,1
HKLM,"SOFTWARE\Microsoft\PCHealth\ErrorReporting","DoReport",0x00010001,0
HKLM,"SOFTWARE\Microsoft\PCHealth\ErrorReporting","ShowUI",0x00010001,0
HKLM,"SOFTWARE\Policies\Microsoft\Windows\DriverSearching","DontSearchWindowsUpdate",0x00010001,1
HKLM,"SOFTWARE\Policies\Microsoft\Windows\DriverSearching","DontPromptForWindowsUpdate",0x00010001,1
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoResolveTrack",0x00010001,1
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer","LinkResolveIgnoreLinkInfo",0x00010001,1
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoResolveSearch",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Control\FileSystem","NtfsDisableLastAccessUpdate",0x00010001,1
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoSMHelp",0x00010001,1

[P]
HKCR,"CLSID\{85BBD920-42A0-1069-A2E4-08002B30309D}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\Accessibility_Options"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}"
HKLM,"SOFTWARE\Microsoft\Internet Explorer\Extensions\{c95fe080-8f5d-11d2-a20b-00aa003c157a}"
HKCU,"Control Panel\Desktop","SCRNSAVE.EXE"
[C]
BitReg = B
AddReg = CT
[CT]
HKCU,"Control Panel\International\Geo","Nation",0x00000000,"166"
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz","NoRun",0x00010001,1
HKCU,"Control Panel\Colors","Background",0x00000000,"0 0 0"
HKCU,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","ParseAutoexec",0x00000000,"0"
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","TaskbarSizeMove",0x00010001,0
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","TaskbarGlomming",0x00010001,0
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","EnableBalloonTips",0x00010001,0
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","ListviewShadow",0x00010001,1
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewShadow","DefaultApplied",0x00010001,1
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewShadow","DefaultValue",0x00010001,1
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams","Settings",0x00000001,08,00,00,00,01,00,00,00,01,00,00,00,e0,d0,57,00,73,35,cf,11,ae,69,08,00,2b,2e,12,62,
04,00,00,00,01,00,00,00,43,00,00,00
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer","link",0x00000001,00,00,00,00
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","SeparateProcess",0x00010001,1
HKCU,"SOFTWARE\Microsoft\Internet Explorer\Main","StatusBarOther",0x00010001,1
HKCU,"SOFTWARE\Microsoft\Internet Explorer\Main","StatusBarWeb",0x00010001,1
HKCU,"SOFTWARE\Microsoft\Internet Explorer\Main","Start Page",0x00000000,"http://www.google.com/"
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content","CacheLimit",0x00010001,20480
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings","MaxConnectionsPer1_0Server",0x00010001,10
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings","MaxConnectionsPerServer",0x00010001,10
HKCU,"SOFTWARE\Microsoft\Internet Explorer\SearchUrl\g","",0x00000000,"http://www.google.com/search?q=%s"
HKCU,"Software\Microsoft\Internet Explorer\URLSearchHooks","{CFBFAE00-17A6-11D0-99CB-00C04FD64497}",0x00000000,""
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Url History","DaysToKeep",0x00010001,1
HKCU,"Control Panel\Desktop","MenuShowDelay",0x00000000,"20"
HKCU,"SOFTWARE\Microsoft\MediaPlayer\Preferences","SilentAcquisition",0x00010001,0
HKCU,"SOFTWARE\Microsoft\MediaPlayer\Preferences","AutoAddMusicToLibrary",0x00010001,0
HKCU,"SOFTWARE\Microsoft\MediaPlayer\Preferences","StartInMediaGuide",0x00010001,0
HKCU,"SOFTWARE\Microsoft\MediaPlayer\Preferences","MetadataRetrieval",0x00010001,0
HKCU,"Control Panel\Desktop","ScreenSaverIsSecure",0x00000000,"0"
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer","EnableAutoTray",0x00010001,0
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams","Settings",0x00000001,08,00,00,00,03,00,00,00,01,00,00,00,e0,a5,1f,0e,73,35,cf,11,ae,69,08,00,2b,2e,12,62,
04,00,00,00,01,00,00,00,43,00,00,00
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Start_ShowHelp",0x00010001,0
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","NoSMHelp",0x00010001,1
[TO]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_01",0x00020000,"nhelper rd /q /s """"%SystemRoot%\eHome"""""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_02",0x00020000,"nhelper rd /q /s """"%SystemRoot%\Srchasst"""""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_03",0x00020000,"nhelper rd /q /s """"%SystemRoot%\Help\Tours"""""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_04",0x00020000,"nhelper rd /q /s """"%SystemRoot%\System32\dllcache"""""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_05",0x00020000,"nhelper md """"%SystemRoot%\System32\dllcache"""""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_s01",0x00000000,"rundll32 advpack.dll,LaunchINFSection nlite.inf,U"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_s02",0x00020000,"nhelper del /q /s """"%10%\SET*.TMP"""""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_s03",0x00020000,"nhelper delete ""%10%\SET3.TMP"""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_s04",0x00020000,"nhelper delete ""%17%\INFCACHE.1"""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_06",0x00020000,"nhelper rd /q /s """"%SystemRoot%\NLDRV"""""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_s05",0x00020000,"nhelper moveex ""%17%\syssbck.dll"" ""%11%\syssetup.dll"""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_s06",0x00020000,"nhelper moveex ""%17%\syssbck.inf"" ""%17%\syssetup.inf"""
HKU,".DEFAULT\Software\Microsoft\Windows\CurrentVersion\RunOnce","nltide_3",0x00020000,"rundll32 advpack.dll,LaunchINFSectionEx nLite.inf,C,,4,N"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_s07",0x00020000,"nhelper delete ""%11%\nhelper.exe"""
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_08",0x00000000,"nhelper net1 user """"LEONIC"""" /fullname:""LEONIC"" /passwordreq:no"
[B]
HKCU,"Control Panel\Desktop","UserPreferencesMask",1,0x10,0

In the lines:

HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultUserName",0x00000000,"LEONIC"

and

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","nlite_post_08",0x00000000,"nhelper net1 user """"LEONIC"""" /fullname:""LEONIC"" /passwordreq:no"

I simply replaced LEONIC with Administrador, but no matter what Windows will make the Administrator account under the name of LEONIC.

Any help with this, I'm going nuts with nLite and its crazy scripts. I took a look also at TXTSETUP.SIF and WINNT.SIF but there are no reference to the LEONIC string.

Much appreciated.

Link to comment
Share on other sites


What am I doing wrong?

...

Any help with this, I'm going nuts with nLite and its crazy scripts.

How about actually using nLite instead? This is what this forum is about.

nLite being for personal use only :rolleyes: , we assume you have the starting files and maybe even the presets that you used to make that installation disc.

Just run nLite again and there you are. We could help you remember where you changed the administrator name.

Link to comment
Share on other sites

I don't have the last session, I tried deleting nlite.inf, then running nlite again to make a custom name for the administrator account.

The settings on the .inf file have some tweaks and I'd like to keep them, but also Windows installs some software such as Vista Drive Status, that when I deleted nlite.inf there were some Windwos libraries missing. Can I simply edit a file, I don't know which other file to check out to change just the username.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...