rename administrator account?

  • Thread starter Thread starter Full Name
  • Start date Start date
F

Full Name

A quick question, but I can no longer find the answer - how do I
rename the administrator accoutn so the login name is not longer
"Administrator"? thanks
 
Try my freeware tool "BuiltIn.exe"
http://www.optimumx.com/download/


C:\>BuiltIn.exe /?

BuiltIn Account Manager [Version 1.11]

Displays or manages the builtin Administrator or Guest account, without
knowing
what the current name is.

The syntax of this command is:

BuiltIn.exe [/details] [/newname:name] [/newpw:password] [/disabled:y|n]
[/account:Guest] [\\computer] [/domain:name]

/details: Displays the account details, instead of just the name.
/newname: Allows you to rename the account, 20 characters max.
/newpw: Allows you to change the account password, 256 characters
max.
/disabled: Allows you to disable or enable the account. (If policy
allows)
/account: Specifies the Guest account instead. (Default is
Administrator)
\\computer Allows you to manage the account on a remote system.
/domain: Manages the domain account instead. (Overrides \\computer)


An argument of /? or -? displays this syntax and always returns 1.
A successful completion will return 0.
 
Launch "lusrmgr.msc" from the commandline.
Right click property list on the "Administrator" name, and select "Rename".

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
A quick question, but I can no longer find the answer - how do I
rename the administrator accoutn so the login name is not longer
"Administrator"? thanks
 
Hi David, this is a command prompt admin group with many of the questions being
specifically asked for scripting purposes. The unspoken part of any question
here is "how do I completely do this from the command line".

For instance you could say

Use the MS tool cusrmgr as show in KB272530
(http://support.microsoft.com/default.aspx/kb/272530/EN-US/)

Or if the account is in AD you can update the sAMAccountName attribute and UPN
with any LDAP command line tool such as the world famous ADMOD
(http://www.joeware.net/win/free/tools/admod.htm). And if you want you can also
do a rename of the CN but that won't matter in terms of the logon name other
than keeping the naming consistent.

joe
 
Back
Top