We have a couple of users who when loading have their App Volumes attach but still get Temp profiles. On review of the logs I can see the below that appears to show issues when trying to expand Enivronmental Variables as they are not returning with the user.name but instead with TEMP. Our Service Desk has already tried nuking the users app volumes but the issue appears to persist.
[2023-06-20 11:26:00.360 UTC] [svservice:P1872:T8788] CAppManager::NotifyIfAllAppsProcessed: All Application processed - Session ([1][DOMAIN\user.name]).
[2023-06-20 11:26:35.742 UTC] [svservice:P1872:T2540] OnStartShell called (Session([1][DOMAIN\user.name]), Handle 0000024ACEADD100, Params 00000052377FE368, Context 0000000000000000)
[2023-06-20 11:26:35.742 UTC] [svservice:P1872:T2540] OnStartShell: DOMAIN\User.name (NameSamCompatible)
[2023-06-20 11:26:35.742 UTC] [svservice:P1872:T2540] ExpandEnvironmentVariable: String to expand - %appdata%.
[2023-06-20 11:26:35.745 UTC] [svservice:P1872:T2540] ExpandEnvironmentVariable: ExpandEnvironmentVariable Returning : C:\Users\TEMP\AppData\Roaming
[2023-06-20 11:26:35.745 UTC] [svservice:P1872:T2540] ExpandEnvironmentVariable: String to expand - %localappdata%.
[2023-06-20 11:26:35.748 UTC] [svservice:P1872:T2540] ExpandEnvironmentVariable: ExpandEnvironmentVariable Returning : C:\Users\TEMP\AppData\Local
[2023-06-20 11:26:35.754 UTC] [svservice:P1872:T2540] OnStartShell<<< Session([1][DOMAIN\user.name]) exit
[2023-06-20 11:26:35.754 UTC] [svservice:P1872:T6568] DeferredShellStart: Deferred Shell Start - Session([1][DOMAIN\user.name]).
Wow, it's been a LONG TIME since I've had temporary profile issues and that was on Windows 7 machines.
Are these Windows 7 machines? 😁
Perhaps, if they're persistent desktops, the user's profile became corrupt. It will need to be deleted. I'm not sure how the App Volume service itself could cause/create temporary profiles. Usually that has more to do with the login to the domain process.
Unless they're writables?
If they're writables, are you using defaults or custom templates?
What version of App Volumes are you using?
We are experiencing the same with just a handful of users... did you make any progress on this?