[Samba] Roaming profiles and accounts

Jean-Jacques Moulis jj at isy.liu.se
Fri May 6 11:23:20 GMT 2005

On Fri,  6 May 2005 10:35:54 +0100 "pierrelaurent at neuf.fr" <pierrelaurent at neuf.fr> wrote:

p> 1. Roaming profile : I believed that when logging off a computer, user's profile was moved back to the server.  But i can still find one. 
p> Is there anything to do for the profile not to be stored on pc ?

You have to activate "DeleteRoamingCache"
in HKLM:Software\Microsoft\Windows NT\CurrentVersion\winlogon

You can do this with server policies (NTConfig.pol on Netlogon share)

Unfortunately this is often not enough ( particularly if you are using office)

You need to install the "User Profile Hive Cleanup Service".

Expert from the README file:
UPHClean v1.5e readme.txt Updated March 4, 2004 by Robin Caron 
All feedback appreciated to uphclean at microsoft.com 
UPHClean is a service that once and for all gets rid of problems with user profile not unloading. 
You can download it from:

p> 2. An account must be created for the PC to be added to the domain. ( COMPUTER$ )
p>    Assuming we have 100 of them, what's the best way to create them automatically ?

It depends on how you are deploying them.

We are using an imaging system ( Rembo ).
All machines are using the same machine password and are not allowed to change it.
Adding new machines is just a matter of copying entries of an existing
one and modify machine names.

If you are using a more conventional way of deploying, you need to create an
account with right to add machines to the domain on the samba server
( root on previous samba versions) and modify your install scripts accordingly. 

p> Thanks in advance.
p> Regards,
p> Pierre

Jean-Jacques   Moulis                              Tel:  (013) 281684
ISY                                                Fax:  (013) 139282
Linköping University                            E-mail: jj at isy.liu.se
581 83 Linköping

More information about the samba mailing list