Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Error renaming Administrator account.

Featured Replies

Hi,

i am using the renuser.exe during my unattened installation to rename the administrator account. I try when logged too and i get this error :

renuser.exe Administrator testrename

Error setting user information (997).

Any idea from where is the mistake ?

Thx,

Weeb.

I don't believe you can rename the actual Administrator account. Any other Administrator-level account, yes. But there has to exist an actual account called Administrator if I'm not mistaken. I'm sure if I am, someone will point out my error.

Btw, is this Home or Pro? Home I know for sure this is the problem. Pro, I'm not 100% certain.

  • Author

it is in fact an XP pro version.

I readed some stuff on severals forum, but each time i get an error.

so if someone knows the answer, that wouls be great.

weeb.

wouldnt it be nice if there was a way to tell nlite to create your admin account w/ your username already in place...like you do when you do an "attended" install....I always have done attended installs and enter my username as the only admin account.

sorry I am not of any help to you but I am intrested to see an answer to this myself.

BTW...Love this forum...great info

Beetaazz

That Administrator account exists behind the scenes. Reboot into safe mode you'll find it as a logon option. Its a backdoor into your PC if you don't set a password on that account. 1 thing I don't like that Mikeysoft done that way.

tx maxXPsoft so is there any way o enter our own nick that will automatically boot into upon first boot after unattended install? thx

btw...sorry for hijack

Below is the code I Call from RunOnceEx....

Afterwards you do need to reboot or else the administrator group will still show "Administrator" After reboot the administrator group will show the new name for administrator.

RunOnceEx

REG ADD %KEY%\215 /VE /D "Renaming Local Admin" /f

REG ADD %KEY%\220 /V 1 /D Wscript.exe "%CDROM%\Software\vbs\admin.vbs" /f

------------------------------------------------------------------------

'vbscript

On Error Resume Next

strComputer = "."

strCompPass = "Password12"

strRemoveHA = "HelpAssistant"

strRemoveSup = "SUPPORT_388945a0"

strRemoveAdmin = "Administrator"

Set WshShell = WScript.CreateObject("WScript.Shell")

Set WshNetwork = WScript.CreateObject("WScript.Network")

Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & "." & "\root\default:StdRegProv")

strComputer = WshNetwork.ComputerName

'Renaming Admin

Set oMachine = GetObject("WinNT://" & strComputer)

Set oInfoUser = GetObject("WinNT://" & strComputer & "/Administrator,user")

set oUser = oMachine.MoveHere(oInfoUser.ADsPath,"NEWNAME")

'Reseting Admin Password

Set objUser = GetObject("WinNT://" & strComputer & "/NEWNAME, user")

objUser.SetPassword "Password12"

objUser.SetInfo

'Renaming Guest

Set oMachine = GetObject("WinNT://" & strComputer)

Set oInfoUser = GetObject("WinNT://" & strComputer & "/Guest,user")

set oUser = oMachine.MoveHere(oInfoUser.ADsPath, "NoGuest")

'Reseting Guest Password

Set objUser = GetObject("WinNT://" & strComputer & "/NoGuest, user")

objUser.SetPassword "&*UIer78aB#4"

objUser.SetInfo

'Disabling Guest Account

Set objUser = GetObject("WinNT://" & strComputer & "/NoGuest")

objUser.AccountDisabled = True

objUser.SetInfo

'Deleting Help Assistant Account, Support Account

Set objComputer = GetObject("WinNT://" & strComputer & "")

objComputer.Delete "user", strRemoveHA

objComputer.Delete "user", strRemoveSup

tx ppl...I am noob at script, bat, etc so I guess i save from below line to bottom and name whateve.bat then run after a clean install? eh?

kool tx...oh scary for a minute...pc wouldnt boot so I used erd locksmith and found out that I hadnt changed from the word "newname" which is how I had to logon the first time til I changed the script....thx alot for the help...now if I can fig out a way to incorp this action into winlite so after a clean install I wont have to run the script :thumbup

i use "NetUser.exe"(search in this forum) @T-12, never fails me.

of cause you can rename built-in administrator & guest account, but you couldn't delete them.

maybe you rename the wrong account name, what the word administrator in French? or check it using "NET USER" in commandline window.

  • Author

Thx for all your reply, you gave me way to find out how to rename admin account.

I did a try and it works. I guess i will try to edit the .dll to change from the start the admin user account name without commadn script.

I will also try later the vbs method later.

Thx you all men.

Weeb.

Thx for all your reply, you gave me way to find out how to rename admin account.

I did a try and it works. I guess i will try to edit the .dll to change from the start the admin user account name without commadn script.

I will also try later the vbs method later.

Thx you all men.

Weeb.

Search for gosh's post on editing syssetup.dll

  • Author

wow, so many posts from gosh's. Can't find it after 30 mins.

Nobody have a direct link on his post ? would be so great.

Thx

Weeb,

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.