Solved

Server 2012 R2 - Start Menu Username is wrong

Posted on 2016-08-22
25
268 Views
Last Modified: 2016-09-14
Several users will remotely log into the Server 2012 R2 as themselves (UserA, UserB, etc) but when they click on Start, UserZ's First and Last Name is displayed on the top right corner.

%UserProfile% points to the correct folder (C:\Users\UserA, C:\Users\UserB, etc)
%username% in command prompt displays the correct username (UserA, UserB)
whoami in command prompt results in their login username.

Active Directory First and Last Name is correct.

In the registry I've checked:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{59031A47-3F72-44A7-89C5-5595FE6B30EE}
Default > Reg_SZ > (no value set)

I've also searched in the registry for
HKU\.Default
HKU\* (everyone *except* UserZ)
HKLM\*

I found the values under registry path
HKEY_USERS\xxx\Software\Microsoft\Windows\CurrentVersion\AccountPicture
I see User A's name under ADGivenName + ADSurname and also FirstName + LastName. DisplayName is blank.
I changed the values of First Name + Last Name but when I logged out and back in they went back to their original values.
When logged into as User A:
FirstName and LastName are blank. DisplayName is administrator.

Everything past when I ran dcdiag /fix

Any other suggestions on how to fix it?
0
Comment
Question by:JohnnyBCJ
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 13
  • 12
25 Comments
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 41765667
Open active directory users and computers expand domain and browse the folder/container Users, right click the user click properties and then modify the display name to correctly corespond to name and last name.

This is not a registry entry setting.


DirkMare
0
 

Author Comment

by:JohnnyBCJ
ID: 41765677
Active Directory information is correct.

After logging into terminal services, click on the start menu displays a different first/last name than what is in Active Directory.
0
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 41765870
It could be currupt user profile logon with a test account and see if the same problem persists.

DirkMare
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

Author Comment

by:JohnnyBCJ
ID: 41765882
Brand new accounts do not have the same problem.
0
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 41765890
How many users are experiencing this issue if it's less then ten a quicker sulotion would be to remove/delete the profile from C:\Users and the profiles from regedit and then to logon again.

Another test does the display name display properly on a different workstation?

DirkMare
0
 

Author Comment

by:JohnnyBCJ
ID: 41765936
About 20 users are experiencing this issue. There are a lot of programs that would need to be re-setup (Email, etc) if I remove their Users folder. I do not know how to remove their profile from the registry.

I only have 1 server 2012 R2 I can test this on. I don't see their user name when I click on Start in Windows 10.
0
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 41765943
If you are experiencing the same issue on windows 10 it has to be AD display name..

Delete all text from display name apply the change and then add test text to confirm.

If you can give me an example (screenshot) of the start button/menu and the same user AD properties tab..

DirkMare
0
 

Author Comment

by:JohnnyBCJ
ID: 41772143
I don't know how to test it on Windows 10 as the user's name doesn't show up anywhere unlike on Server 2012 R2.

I've screenshot the requested information but I've changed the values for security reasons.

User-Information.png
0
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 41774325
when doing a whoami from command prompt what does it display?

DirkMare
0
 

Author Comment

by:JohnnyBCJ
ID: 41774538
whoami displays their correct username.
0
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 41774546
Windows 10 Displays the UserName on the start menu..
Windows 10 Start
DirkMare
0
 

Author Comment

by:JohnnyBCJ
ID: 41774554
My start menu looks different than yours but it does display the correct username on Windows 10. It also complained about not being able log into their profile and signed into a temporary one and asks if you want to sign out.
0
 
LVL 16

Accepted Solution

by:
Dirk Mare earned 500 total points
ID: 41774567
If new accounts work fine and old profiles don't display correctly and your being logged on with temporary profile I would say your profiles are corrupt and they need to be recreated.

DirkMare
1
 

Author Comment

by:JohnnyBCJ
ID: 41785948
Is there a way to 'Fix' a corrupt profile or do I have to recreate it?
Is there a way so I don't have to setup their email again?
I should be able to backup their email and restore their email but avoiding this step would save me a lot of time.
0
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 41789135
As a test remove all group membership from one of the accounts and test again.

Copy one of the corrupt AD accounts to a "new" account and test if temp profile occurs.

DirkMare
0
 

Author Comment

by:JohnnyBCJ
ID: 41789366
If I remove all group membership from one of the corrupted accounts, they can't log into the server.

I copied one of the corrupt AD accounts to a "new" account and the name on the start menu was correct.

If I follow the steps required to fix a corrupt user profile (deleting temp folder, deleting certain registry keys, etc). The problem is solved when the profile is recreated.

The annoying thing is having to copy their desktop icons, my documents, emails, etc.
It would be great if there is a way to fix the corrupt profile without the extra work.
0
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 41789368
Add your terminal service/RDP group back and test again

Please test this again..

DirkMare
0
 

Author Comment

by:JohnnyBCJ
ID: 41789375
Just making sure I understand what you're requesting.

I removed every group besides the ts/rdp group from an already corrupted profile and tried to log into TS. I get the wrong name in the start menu.

If I copy a corrupted profile without making any changes to the group, I get the correct name in the start menu.
0
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 41789447
Sorry I wasn't clear but you did what I wanted to ask.

Just wanted to make sure it wasn't anything else that caused this as AD corruption doesn't happen often. Have you tried restoring one of the accounts from backup?

My only recommendation at the moment is to copy profiles to similar names and usernames example..
John Smith with username john and copy to new account..
John Edward Smith with username smithj

By doing this you can keep to old AD account active to copy desktop profile over and the just link the 'new' ad account to exchange..

DirkMare
0
 

Author Comment

by:JohnnyBCJ
ID: 41789471
We're not using exchange for our email. Just a regular email client and IMAP or POP.

Changing the username's for the 20 or so people effected would cause too much confusion. I'll have to fix them one by one. I'll copy their C:\Users\UserName folders prior so I'll have a copy of their desktop files, my documents, etc. I'll backup their email and restore it after fixing their profile. I think that's the best plan of action.
0
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 41789502
Do you not have backup of AD, have you tried restoring one of the accounts prior to this issue?

DirkMare
0
 

Author Comment

by:JohnnyBCJ
ID: 41789553
That's an awesome question that I never thought of prior.

I have a file level restore of the Domain Controller that I could restore as a clone and work from there but my backup software does not have Active Directory Granular restore. If it wasn't for this problem I would of never of thought of Active Directory Granular restore as a requirement for my backup software.

Thank you for that question.
0
 
LVL 16

Expert Comment

by:Dirk Mare
ID: 41798032
Did you manage to get a clone AD going?

DirkMare
0
 

Author Comment

by:JohnnyBCJ
ID: 41798041
I never got a clone AD going.
I accept the fact that I'll have to recreate the profiles. I appreciate you're help!
0
 

Author Closing Comment

by:JohnnyBCJ
ID: 41798043
Thank you very much for all you're help.
1

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Postmortem reporting allow us to examine mistakes in a way that focuses on the situational aspects of a failure’s mechanism and the decision-making process of individuals proximate to the failure. Read our guide on how to handle IT post-mortem repor…
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question