Description:
In some scenarios when setting up a XenApp, RDS or SBC environment the %tmp% directory changes during logon. This can cause issues when running the logonscript of Login PI. Causing Login PI not to run or generate errors about missing files.
What happens is at the beginning of the logon sequence is that the %tmp% variable is set to "C:\users\username\appdata\local\temp" however during the logon process it changes to "C:\users\username\appdata\local\temp\##\". This can happen during the execution Login PI's logonscript and causes it to fail.
## = Random number
Solution:
There are 2 ways of fixing this issue, either through registry key or GPO:
Change registry value from 1 to 0:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\FlatTempDir or PerSessionTempDir
Enable the following GPO:
Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Temporary folders\Do not use temporary folders per session
Comments
0 comments
Please sign in to leave a comment.