Paromita Mazumdar Posted December 19, 2016 Share Posted December 19, 2016 UpmConfigCheck.ps1 includes non-standard character ("–") in "New-PSDrive -Name HKU -PSProvider Registry –Root HKEY_USERS". This causes invalid parameter error in Japanese environment. Any advice is appreciated, thanks :) Link to comment
0 Jonathan Clark1709155079 Posted June 5, 2018 Share Posted June 5, 2018 Edit the script, delete the - in the script and recreate it. I have seen issues sometimes when swapping between different scripts where certain characters don't read properly unless they are removed and readded. Link to comment
0 Patrick Matula Posted March 12, 2021 Share Posted March 12, 2021 You should open a Citrix case - so that the issue will fixed for everyone (at least for everyone in a Japanese environment). Link to comment
0 support IMT_Citrix1709160814 Posted March 11, 2022 Share Posted March 11, 2022 I have this error with UpmConfigCheck.ps1: Quote *** ERROR: profile folder C:\Users\login is not on the system volume. Profile Management cannot work. Reason: Profile Management can only work when the profile folder is on the system volume. The function "Get-MountPointCount" returns the number of matches of the given path against the list of mount points (user profile) For a classical user the profile path is "C:\Users\login" and the volume mount point is C:\ Than the result of the function "Get-MountPointCount" is "3" for the 3 characters of "C:\" matched. But in line 3515 the condition is not possible for this case: Quote if ($mpc -ne 1) { "*** ERROR: profile folder $userprofile is not on the system volume. Profile Management cannot work." | CaptureRecommendations -CheckTitle "Profile volume" -PolicyName "" -Reason "Profile Management can only work when the profile folder is on the system volume." -Category "Miscellaneous" } else { If we change this condition the test work for me: Quote $mountpoints = Get-VolumeMountPoints if ($mpc -ne ($mountpoints).length) { "*** ERROR: profile folder $userprofile is not on the system volume. Profile Management cannot work." | CaptureRecommendations -CheckTitle "Profile volume" -PolicyName "" -Reason "Profile Management can only work when the profile folder is on the system volume." -Category "Miscellaneous" } else { But I don't know if I realy understand this test in the script. Thank's for your help. Stephane Link to comment
Question
Paromita Mazumdar
UpmConfigCheck.ps1 includes non-standard character ("–") in "New-PSDrive -Name HKU -PSProvider Registry –Root HKEY_USERS". This causes invalid parameter error in Japanese environment. Any advice is appreciated, thanks :)
Link to comment
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now