[Samba] Windows 10 temporary profile error, when domain remote profile directory exists and is empty

L.P.H. van Belle belle at bazuin.nl
Tue Sep 24 06:47:19 UTC 2019

You should check that if a user is logged and you look at the local (c:\users) folder
Does it have a TEMP folder in it. If thats the case.

I suggest you try this. 
Click Start ?¨ Run ?¨ Regedit
Navigate to the following registry key :HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Then find the GUID from the user that is having problem. (tip, properties, security tab ) 
Then under ProfileList navigate to binary key’s like this: S-1-5-21-3656904587-1668747452-4095529-1234

On the right side under ProfileImagePath you'll see the profile path.
Chose the one with the desired user and delete the long registry key like: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
You will then need to either rename (preferable), or delete the user profile on disk under C:\Users\%username% 

And/or use : https://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/ 
I have not used it myself yet, but looks ok. 



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Konstantin Boyandin via samba
> Verzonden: dinsdag 24 september 2019 3:03
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] Windows 10 temporary profile error, when 
> domain remote profile directory exists and is empty
> Hello,
> The below happens with Samba 4.7.* (didn't checked with other Samba 4
> versions):
> Setup: Samba 4.7.* AD, two domain controllers, 'computer A' and
> 'computer B' are Windows 10 domain members.
> 1. A user (login 'username') logs in into domain for the 
> first time, on
> a 'computer A'.
> Samba DC doesn't find existing profile directory and creates an empty
> one on corresponding file server (or whatever is the correct term for
> that), 'username.V6'.
> 2. User marks its profile as Local on Windows and logs out. Nothing is
> written to profile directory ('username.V6') on domain file server.
> User then can log on and log off at 'computer A', no problems happen.
> 3. Now user tries to log on to the same domain at 'computer B'.
> Windows 10 tries to get profile from domain, gets an empty profile,
> writes an error to event logs and creates a temporary profile.
> Note: no inconsistencies in registry: there were no damaged/whatever
> profile entry for 'username' on 'computer B'. No inconsistency under
> "C:\Users" on 'computer B'.
> 4. After I physically remove the empty domain profile directory
> ('username.V6'), there's no problem logging in/logging out on 
> 'computer
> B'. The corresponding 'username.V6' is successfully 
> re-created on domain
> file server.
> Question: is this 'temporary profile error' a bug/feature of AD, or
> Samba 4.7-specific bug/feature?
> It's kind of inconvenient to remove empty profile each time a user
> wishes to log on to a new domain member.
> Thanks.
> Sincerely,
> Konstantin
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list