I am aware that it is possible to exclude folders from roaming profiles in ntuser.ini
, or (for central management) preferedly by a GPO setting (User settings - Admin templates - System - roaming profiles - exclude directories from roaming profiles). Thus if I add AppData\Roaming\foo
to that setting, that folder will not be sync'ed, so it behaves more or less as if foo
were under AppData\Local
.
I need a way to include folders. That is, I have a software that stores stuff in AppData\Local\bar
, but I want it sync'ed. Unfortunately, I do not find any GPO settings for this pupose.
Currently I have a workaround with a logoff-skript that copies AppData\Local\bar
to AppData\Roaming\something\bar
and a logon-skript that copies everything under AppData\Roaming\something
to AppData\Local
. But I am not happy with such a workaround and it feels like error prone.
Additionally, I wish I could include the registry settings under HKCU\Software\Classes
(i.e., personalized file-typ associations) to the roaming profile. I am aware that this is excluded on purpose (after all, if the settings say that .xyz
files hould be used with application XYZ, it may happen that XYZ is not even installed on other machines). But in my case, I am managing a terminal server farm where all farm members have the same software installed, and users complain that e.g. they have to pick their preferred browser or image viewing software every day.
(From my research so far, it might help to repeat the above workaround with AppData\Local\Microsoft\Windows\UserClass.*
- but I did not even try that yet as I am not sure if it is a good idea to just wildly copy registry files around or if the destination would even be writable at the time the logon skript runs)
Any idea for (better) solutions to this problem?