Home

Why are some domain users showing as username.domain on local machine?

%3CLINGO-SUB%20id%3D%22lingo-sub-205010%22%20slang%3D%22en-US%22%3EWhy%20are%20some%20domain%20users%20showing%20as%20username.domain%20on%20local%20machine%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205010%22%20slang%3D%22en-US%22%3E%3CP%3EServer%202016%2C%20windows%2010%20wkstations%26nbsp%3Bthat%20are%20all%20joined%20to%20the%20same%20domain.%26nbsp%3B%20On%20some%20machines%2C%20c%3A%5Cwindows%5Cusers%20lists%20the%20domain%20users%20for%20that%20machine%20as%20simply%26nbsp%3B%20%26nbsp%3Btheir%20username%20but%20on%20some%20other%20machines%20the%20same%20user%20is%20shown%20as%20username.domainname.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Esomehow%20I%20thought%20usernames%20without%20the%20.domainame%26nbsp%3Bwere%20only%20local%20users%2C%20but%20apparently%20not%20so.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eany%20problem%20with%20just%20logging%20into%20the%20problem%20machines%20as%20a%20local%20admain%2C%20and%20editing%20the%20username.domainame%26nbsp%3B%20to%20just%20username%26nbsp%3B%20%3F%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eonly%20reason%20this%20issue%20of%20inconsistent%20paths%20for%20users%20came%20up%20is%20that%20local%20SharePoint%20path%20picks%20up%20that%20username.domain.%26nbsp%3B%20For%20a%20third%20party%20app%2C%20i%20need%20consistent%20local%20SharePoint%20path%20names.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-206415%22%20slang%3D%22en-US%22%3ERe%3A%20Why%20are%20some%20domain%20users%20showing%20as%20username.domain%20on%20local%20machine%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-206415%22%20slang%3D%22en-US%22%3E%3CP%3Eand%20the%20registry%20part%20of%20the%20fix%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22%3C%2FP%3E%3CP%3Ewas%20necessary%20to%20remove%20both%20the%20registries%20username.domain%20and%20the%20local%26nbsp%3B%26nbsp%3B%20username%26nbsp%3B%20%2C%20so%20that%20next%20time%20when%20you%20login%20it%20creates%20a%20new%20SID%20profile%20with%20just%20your%20name.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBelow%20is%20the%20location%20from%20where%20is%20deleted%20profile%20in%20registry%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHKEY_LOCAL_MACHINE%5CSOFTWARE%5CMicrosoft%5CWindows%5CCurrentVersion%5CProfileList%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-in%2Fhelp%2F156826%2Fhow-to-disable-and-delete-user-profiles%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-in%2Fhelp%2F156826%2Fhow-to-disable-and-delete-user-profiles%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-205139%22%20slang%3D%22en-US%22%3ERe%3A%20Why%20are%20some%20domain%20users%20showing%20as%20username.domain%20on%20local%20machine%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205139%22%20slang%3D%22en-US%22%3E%3CP%3ETurns%20out%20that%20i%20had%20done%20a%20clean%20renistall%20of%20win%2010%20to%20a%20couple%20of%20pcs%20a%20month%20ago%20I%20had%20mistakenly%20created%20a%20local%20user%20of%20the%20same%20name%20as%20a%20domain%20user%20which%20i%20added%20after%20joining%20those%20pcs%20to%20the%20domain.%26nbsp%3B%20Win10%20(and%20maybe%20early%20windows%3F)appends%20the%20domain%20name%20to%20the%20user%20name%20in%20the%20pc's%20users%20folder.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnother%20reason%20to%20use%20uniqe%20user%20name%20for%20the%20local%20admin.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECreated%20a%20new%20local%20user%2C%20logged%20in%20as%20that.%20renamed%20old%20domain%20user%20folder.%20in%20users%20manager%2C%20deleted%20both%20the%20original%20local%20and%20domain%20user%20similar%20names%20.%20(there's%20a%20regedit%20that%20might%20be%20need%20too)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Elogged%20in%20as%20the%20domain%20user.%20Windows%20created%20correct%20user%20dfolder%20without%20appending.%26nbsp%3B%20And%20of%20course%20I%20lost%20the%20configurations%20for%26nbsp%3B%20a%20bunch%20of%20apps.%26nbsp%3B%20Suppose%20i%20could%20copy%20appdata%20folders%20oney%20by%20one%20but%20probably%20not%20worth%20the%20troubleshooting%20later.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-205013%22%20slang%3D%22en-US%22%3ERe%3A%20Why%20are%20some%20domain%20users%20showing%20as%20username.domain%20on%20local%20machine%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205013%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F144390%22%20target%3D%22_blank%22%3E%40Len%20Raphael%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Edo%20you%20access%20that%20machines%20with%20domain%20user%3F%20On%20machines%20where%20there%20isn't%20the%20username.domainname%2C%20have%20you%20created%20the%20account%20on%20that%20machine%3F%3C%2FP%3E%3CP%3EWith%20the%20%22old%22%20control%20panel%2C%20go%20to%20%22User%20accounts%22-%26gt%3B%22User%20accounts%22-%26gt%3B%22Manage%20other%20account%22%3A%20do%20you%20see%20the%20account%20that%20you%20use%20on%20that%20machine%3F%20And%20on%20machines%20that%20have%20username.domainame%2C%20do%20you%20see%20the%20account%20in%20that%20window.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMarco%3C%2FP%3E%3C%2FLINGO-BODY%3E
Len Raphael
Occasional Contributor

Server 2016, windows 10 wkstations that are all joined to the same domain.  On some machines, c:\windows\users lists the domain users for that machine as simply   their username but on some other machines the same user is shown as username.domainname.

 

somehow I thought usernames without the .domainame were only local users, but apparently not so.

 

any problem with just logging into the problem machines as a local admain, and editing the username.domainame  to just username  ?   

 

only reason this issue of inconsistent paths for users came up is that local SharePoint path picks up that username.domain.  For a third party app, i need consistent local SharePoint path names.

3 Replies

Hello @Len Raphael

 

do you access that machines with domain user? On machines where there isn't the username.domainname, have you created the account on that machine?

With the "old" control panel, go to "User accounts"->"User accounts"->"Manage other account": do you see the account that you use on that machine? And on machines that have username.domainame, do you see the account in that window.

 

Marco

Turns out that i had done a clean renistall of win 10 to a couple of pcs a month ago I had mistakenly created a local user of the same name as a domain user which i added after joining those pcs to the domain.  Win10 (and maybe early windows?)appends the domain name to the user name in the pc's users folder.

 

Another reason to use uniqe user name for the local admin.

 

Created a new local user, logged in as that. renamed old domain user folder. in users manager, deleted both the original local and domain user similar names . (there's a regedit that might be need too)

 

logged in as the domain user. Windows created correct user dfolder without appending.  And of course I lost the configurations for  a bunch of apps.  Suppose i could copy appdata folders oney by one but probably not worth the troubleshooting later.

and the registry part of the fix:

 

"

was necessary to remove both the registries username.domain and the local   username  , so that next time when you login it creates a new SID profile with just your name.

 

Below is the location from where is deleted profile in registry:

 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProfileList

 

https://support.microsoft.com/en-in/help/156826/how-to-disable-and-delete-user-profiles

 

Related Conversations
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies