Windows username has been changed. But it hasn't. But it has

0

Windows 7 Pro 32 bits. I have changed the name of an account (that has admin rights) via control panel, and in the login screen it shows the new name. So far, so good.

However, when I start some software, it auto-fills the username field with the old account name, and errors when I fill it with the new name, saying the account does not exist.

Hm, weird. Upon further ispection, I find out that:

  • The folder name in c:\users is still the name of the old account (but I suspect this is by design, to prevent malfunction of some poorly programmed software that might have it hardcoded somewhere)
  • net user is still listing the old name
  • When I clicking on a folder -> properties -> sharing -> advanced sharing -> checkbox "share folder" -> permissions -> add -> advanced -> objects -> checkbox "users" -> OK -> locate now (uh, what was I even doing?) lists the old account name.

That Brazilian Guy

Posted 2014-11-19T13:19:20.873

Reputation: 5 880

Question was closed 2014-11-20T08:17:38.047

You can't change the username of "Administrator" easily. Using Group Policy CAN but your software sounds very odd that it can't work if it doesn't get what it wants... – Kinnectus – 2014-11-19T13:26:41.593

@Bob Yes, it is. Although, as you said yourself in the chatroom, the most voted and accepted answer is terrible. I ended up going with the netplwiz one. – That Brazilian Guy – 2014-11-19T13:35:14.247

2@BigChris Ah, yes, a distinction should be made between renaming the builtin Administrator account (which should never be done - heck, there's basically never a good reason to use that account) and renaming an administrator account, i.e. a member of the Administrators group. The former has its own issues (again, should not be done), while the latter runs into the rename issues that apply to non-admin accounts too - namely, the User Accounts control panel won't change the actual user name, merely a display name. – Bob – 2014-11-19T13:40:43.307

So... what is exactly your problem? – Kamil – 2014-11-19T16:47:23.290

Maybe you changed only Full Name? (which is basically... display name, not real login) – Kamil – 2014-11-19T16:48:34.323

Answers

1

You changed only account name, which basically works as kind of "display name".

This is not login (net user shows login, not "account name"). Login cannot be changed.

You can create new account, transfer all data to it and remove old one,

or change it like this: How do I change a user name in Windows 7?

Kamil

Posted 2014-11-19T13:19:20.873

Reputation: 2 524

Both account name and login name can be changed, I managed to do so by following the steps on the duplicate question – That Brazilian Guy – 2014-11-19T21:30:58.567

But duplicate question answer says "create new account", so this is not a change, it is new account. – Kamil – 2014-11-20T02:02:51.493

1

@Kamil - The accepted answer says to make a new account, however another answer give steps on how to achieve this. Just because an answer is accepted does not automatically make it the only answer.

– Michael Frank – 2014-11-20T04:25:28.413

Oh, now I see. Thanks guys and sorry for wrong answer. I edited it so it's not wrong anymore. – Kamil – 2014-11-20T04:31:03.500