cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Summary

Command 'Config.ps1 "Config\FNMS Windows Authentication Config.xml"' fails after "Executing step Create Reporter registry" message if OS is 64 bit non-English Windows OS.

Symptoms

FlexNet Manager Suite needs to run PowerShell scripts for configuring the system in the installation steps.

The following command fails after Executing step Create Reporter registry message.

Config.ps1 "Config\FNMS Windows Authentication Config.xml"
Error on Chinese Windows Server

Cause

 PowerShell scripts Config.ps1, DeployPackagesToWebUI.ps1 and RegistryHelper.ps1 have the following condition.

 if ((Get-WmiObject -Class Win32_OperatingSystem -ea 0).OSArchitecture -eq '64-bit')

This code expects that (Get-WmiObject -Class Win32_OperatingSystem -ea 0).OSArchitecture returns "64-bit" if Windows OS is x64 edition.  However, non-English Windows OS such as Chinese edition returns the different string.
example.
Japanese OS: 64 ???
Chinese OS: 64 ?

This issue had been identified and logged as Bug #FNMS-31149.

Workaround

Please update the lines in Config.ps1, DeployPackagesToWebUI.ps1 and RegistryHelper.ps1 scripts as the following.
if ((Get-WmiObject -Class Win32_OperatingSystem -ea 0).OSArchitecture -like '*64*')

After updating a script, it requires to change Execution Policy of Power Shell scripts to Unrestricted to run them. So, please change Execution policy and then please run the script again.

PS > Set-ExecutionPolicy Unrestricted
PS > Config.ps1 "Config\FNMS Windows Authentication Config.xml"
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jan 26, 2018 01:55 PM
Updated by: