PME 2024 R2 - Installer steps "Update File Permissions" and "Registering Windows Services" are unsuccessful
Issue
During a fresh install, the "Update File Permissions" and "Registering Windows services" steps are unsuccessful. None of the PME Windows services are installed. The install log shows errors:
- Update File Permissions fail: MethodHandler encountered a problem while calling 'Installer.InstallTools.WinUtilities.AssignReadWriteFolderControl': InstallTools.Utility.VariableInterpolationException: Variable lookup does not contain a definition for the variable 'globalNetworkServiceLocalizedNameNoDomain' --- > System.Collections.Generic.KeyNotFoundException: The key 'globalNetworkServiceLocalizedNameNoDomain' was not found in VariableLookup.
- <AssignReadWriteFolderControl>
Library="WinUtilities"
Class="Installer.InstallTools.WinUtilities"
UIMessageOnFail="Could not set user permissions on Config folder">
<userName>@globalNetworkServiceLocalizedNameNoDomain/@</userName>
<folderName>@globalProgramFileFolder/@\Applications\Dashboards\App_Data</folderName>
</AssignReadWriteFolderControl> - Variable lookup does not contain a definition for the variable 'globalLocalSystemLocalizedName' ---> System.Collections.Generic.KeyNotFoundException: The key 'globalLocalSystemLocalizedName' was not found in VariableLookup
Product Line
Power Monitoring Expert 2024
Environment
Install/Upgrade
Cause
The Windows account used to run the installer is the built-in Administrator account. For cybersecurity reasons, this account has restrictions on it and shouldn't be used to perform software installations. It's primarily intended for initial system provisioning or disaster recovery.
Resolution
Run the installer with a local Windows user:
- Open the Windows Start Menu, search for and open "Computer Management"
- Open Local Users and Groups > Users
- Right-click > New User
- Enter a User name and a password that meets the minimum requirements per the IT policy, then uncheck "User must change password at next logon".
- Click Create then close the window.
- Add this user to the local Administrators group.
- Add this user to SQL Server with sysadmin permission.
- Shift + right-click the MainSetup.exe of the PME installer > Run as different user > enter the credentials for the newly created user
Released for: Schneider Electric Saudi Arabia
Need help?
Product Selector
Quickly and easily find the right products and accessories for your applications.
Get a Quote
Start your sales enquiry online and an expert will connect with you.
Where to buy?
Easily find the nearest Schneider Electric distributor in your location.
Help Centre
Find support resources for all your needs, in one place.