Environment
Novell ZENworks Configuration Management 11.2 Bundles
Situation
Since upgrading to 11.2.3, user-based variables can be resolved
incorrectly in bundles, even when the action is run as logged-in user, for example
${AppData} resolves to C:\WINDOWS\system32\config\systemprofile\AppData\Roaming
${LocalAppData} resolves to C:\WINDOWS\system32\config\systemprofile\AppData\Local
${UserProfile} resolves to C:\WINDOWS\system32\config\systemprofile
instead of resolving to the user's profile.
This also affects variables such as %Temp%
Note: this does not affect Windows XP devices
${AppData} resolves to C:\WINDOWS\system32\config\systemprofile\AppData\Roaming
${LocalAppData} resolves to C:\WINDOWS\system32\config\systemprofile\AppData\Local
${UserProfile} resolves to C:\WINDOWS\system32\config\systemprofile
instead of resolving to the user's profile.
This also affects variables such as %Temp%
Note: this does not affect Windows XP devices
Resolution
This is fixed in version 11.2.3a - see KB 7011295 "ZENworks
Configuration Management 11.2.3a - update information and list of fixes"
which can be found at https://support.microfocus.com/kb/doc.php?id=7011295
Workaround: if the variable name is all in uppercase, e.g., ${APPDATA} then the resolution works correctly
Workaround: if the variable name is all in uppercase, e.g., ${APPDATA} then the resolution works correctly