[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Server 2012 R2 - Start Menu Username is wrong

Posted on 2016-08-22
25
Medium Priority
?
388 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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 2000 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Multi-threading long-running processes can have a significant increase in overall performance and drastically decrease over time it takes for a process to complete. Unfortunately, not all applications support native multi-threading, some by design a…
We take a look at some of the most common obstacles that IT teams run into as they work relentlessly to keep all the alarms and sirens from going off at once.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

650 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