Symptoms
Affected Products:
Wyse Management Suite
Affected Versions:
v3.5 to 3.5.2
WMS Installer upgrade fails with the below errors in Install Logs:
2021-11-16 T09:41:29::CustomFunctions::6158::In Function Grant FolderLevelPermission
2021-11-16 T09:41:29::CustomFunctions::6164::cmd:"" /grant WMSUser:(OI)(CI)F /T
2021-11-16 T09:41:29::CustomFunctions::6167::Failed to grant folder level permission to folder: Descripteur non valide
2021-11-16 T09:41:29::Upgrade::611::failed to grant folder level permission for LocalRepo, hence restoring...
Cause
Missing LocalRepository registry entry under the uninstall key bunch of WMS.
This key value is used during upgrade to grant permission for the least privileged user. WMS v3.5 fails to upgrade due to this missing registry key value.
Resolution
Note: This issue was fixed in v3.6 and later.
Create the LocalRepository registry and populate it with the local repo location value manually before WMS v3.5 upgrade.
Warning: This fix is only needed when the above symptom exists.
Steps to resolve:
Warning: The next step is a Windows Registry edit:
Back up the Registry before proceeding, reference How to Back Up and Restore the Registry in Windows .Editing the Registry can cause the computer to become unresponsive on the next reboot.Contact Dell Technical Support for assistance if you have concerns about performing this step.
Log in to a Windows computer where WMS is installed as an Administrator and Open the registry.Go to HKEY_LOCAL_MACHINE:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall.Identify the uninstall key bunch of WMS by searching for the product name Dell Wyse Management Suite in the registry.
Figure 1: (English Only) Windows Registry
Create a New registry key of type string with key value pair under WMS uninstall key bunch identified in the Step 2.
Key: “LocalRepository”
Value:
Default Path: C:\WMS\Repo
Figure 2: (English Only) Windows explorer
Figure 3: (English Only) Windows registry
Run WMS v3.5 Upgrade. Upgrade completed successfully.