Per-user settings, FSLogix and roaming profiles
Some packages put something into every user's profile: settings in HKCU, configuration files or templates in AppData, or an app that installs per user only. How well that works depends on where your profiles live. This page describes what does and does not work with local profiles, profile containers such as FSLogix, and roaming profiles.
Best: a machine-wide option
When the vendor has a machine-wide setting (an HKLM policy or a configuration file for all users), Dael uses it. It works for every kind of profile, because nothing needs to go into the profile. Name the vendor's documentation in your request if you know that option.
Per-user settings in mode PSADT (recommended)
The install writes the values and files, with PSADT's own functions, into every profile that is on the device at that moment, also of users who are not signed in, and into the Default User profile. It also registers an Active Setup step with PSADT's Set-ADTActiveSetup. That step runs a per-user script once at each user's next sign-in, when the profile is loaded. That way users whose FSLogix container or roaming profile was not on the device at install time get the settings too.
- Local profiles: at install.
- FSLogix and other profile containers: at the user's next sign-in, through Active Setup.
- Roaming profiles: the same as containers.
Per-user settings in mode script
Mode script registers the same Active Setup step with the same script, without the toolkit. It also reaches FSLogix containers and roaming profiles at the next sign-in. Dael recommends mode PSADT, most of all for packages with per-user parts; mode script stays available, but is not recommended.
PowerShell at sign-in, in both modes
The Active Setup step starts Windows PowerShell as the user who signs in. On devices where AppLocker, WDAC or other hardening blocks that, the settings are not applied at sign-in. In mode PSADT, the profiles that were on the device at install time still have them. When the package is signed by SoulBit, the script is signed too, and an AppLocker or WDAC rule can allow it by publisher. The package notes name the mechanism.
Apps that install per user
For per-user installers Dael uses Active Setup, also in mode PSADT. It runs at sign-in, so also for FSLogix users. Take care with classic roaming profiles: they carry HKCU but not AppData\Local. When the app installs into AppData\Local, Windows can decide on a second device that the step was already done while the app is missing there. FSLogix profile containers carry the whole profile and do not have this problem. This is general Windows behaviour that Dael has not tested.
After an uninstall
The uninstall removes the Active Setup step, so new sign-ins no longer get the settings. Values and files already in existing profiles stay, because they may be the user's own by now. The uninstall removes them from the Default User profile only. The package notes say how to remove them from existing profiles if you want to.
What is tested and what is not
The test machine uses local profiles. Dael tests the Active Setup step like this: after the install, the test takes the package's values and files out of a test user's profile, as if that profile was not on the device at install time. It then starts the step the way Windows does at sign-in, and every value and file must come back. That does not yet prove a real interactive sign-in or a real FSLogix container. Dael does not test roaming profiles or non-persistent virtual desktops. Test such a package first in a pilot group that uses your real profile setup.