[Samba] Windows Vista keeps on deleting cached roaming profile

erik bergsma ebergsma1 at gmail.com
Wed Aug 18 04:59:11 MDT 2010


I have a couple of Windows Vista Computers that i freshly (re)installed,
updated to SP2 + all updates, and joined to my domain...
i also got an empty profile on the server (the storage folder is there, but
there are no files inside)

When i log into the domain Windows creates all files and folders just fine
and stores a cache of that profile in c:\users\username (like it should),
And when i log out, Windows will write all the files it just created
(pictures, desktop, ntuser.dat) to the server perfectly

however if i login to the computer locally (not using the domain), and when
i go to the c:\users\ folder the folder of the username is gone.... :( while
i like it to stay there!

so far i tried:
- reinstalling windows multiple times
- setting the following GPO's (although i never touched those)
  - computer\Administrative Templates\System\User Profiles\Delete
userprofiles older than a specific number of days ==> disabled
  - computer\Administrative Templates\System\User Profiles\Delete cached
copies of roaming profiles ==> disabled
  - computer\Administrative Templates\System\User Profiles\Leave Windows
Installer and group Policy software ==> enabled
  - computer\Administrative Templates\System\User Profiles\Only allow local
user Profiles ==> disabled
  - computer\Administrative Templates\System\User Profiles\Prevent Roaming
profile changes propagating to the server ==> disabled
  - computer\Administrative Templates\System\User Profiles\Wait for remote
user profile ==> enabled
  - computer\Administrative Templates\System\User Profiles\Slow network
connection timeout for user profiles ==> disabled
  - User\Administrative Templates\System\User Profiles\Limit Profile Size
==> disabled
- adding the following registry setting:
  - HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System\
DeleteRoamingCache=0

This is with:
- Gentoo Linux
- Samba 3.5.2 (clustered with CTDB 1.0.114)
- LDAP backend


More information about the samba mailing list