Changing username from Administrator to administrator: Difference between revisions

From NEOSYS Technical Support Wiki
Jump to navigationJump to search
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Changing username from Administrator to administrator ==
'''WARNING!!!'''  - The server will be locked FOREVER if you mistype the new administrator name!
'''WARNING!!!'''  - The server will be locked FOREVER if you mistype the new administrator name!


Line 7: Line 5:
Prerequisite: BEFORE INSTALLING CYGWIN
Prerequisite: BEFORE INSTALLING CYGWIN


1. Run command prompt as administrator.<br>
1. Rename Administrator to be administrator.
2. Rename Administrator to be administrator.
  wmic useraccount where name='Administrator' rename 'administrator'
  wmic useraccount where name='Administrator' rename 'administrator'
3. Check in Computer management that it is successful, or
2. Check in Computer management that it is successful, or
  net user
  net user



Latest revision as of 08:58, 8 February 2021

WARNING!!! - The server will be locked FOREVER if you mistype the new administrator name!

Windows 10 Pro / Enterprise

Prerequisite: BEFORE INSTALLING CYGWIN

1. Rename Administrator to be administrator.

wmic useraccount where name='Administrator' rename 'administrator'

2. Check in Computer management that it is successful, or

net user

Set password

Set a password for administrator and enable login

net user administrator *
net user administrator /active:yes

Windows 2008 Server

Procedure -

  1. Click on Start -> Programs -> Administrative Tools -> Local Security Policy
  2. Click on Local Policies -> Security Options
  3. Rename as mentioned in screenshot below:
    Admintoadmin.jpg
  4. Check your typing very carefully! Take your time to read it aloud slowly letter by letter to avoid lazy brain syndrome for example. “a d m i n I s t r a t o r” and count 13 characters.
  5. After renaming, DON’T disconnect and reconnect to test. Check you can login with the changed username on a SECOND connection BEFORE you lose the working connection. If you cannot connect on the second connection then MAKE SURE you solve the problem using the first connection before closing it!