Changing username from Administrator to administrator

From NEOSYS Technical Support Wiki
Jump to navigationJump to search

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!