Article - CS300197
ThingWorx Analytics - Windows Installer Error - "Error running cmd /c powershell..."
Modified: 27-Jun-2024
Applies To
- ThingWorx Analytics 8.3 F000 to 9.4
Description
- Symptom 1:
- The install.log error
- Executing cmd /c powershell -ExecutionPolicy ByPass -File D:\Program Files (x86)\ThingWorxAnalytics\Thingworx_Analytics_Server\bin\worker-util.ps1 start 3 Script exit code: unknown signal
- Processing of -File 'D: \ Program' failed because the file name does not have '.ps1' extension. Specify a valid Windows PowerShell script file name and try again.
- Error message when installing on Windows 2016 Operating System:
- The install.log error

- Symptom 2
- installation appears successful but install.log reports
t w a s - d a t a - m s : U n e x p e c t e d s t a t u s S E R V I C E _ S T O P P E D i n r e s p o n s e t o S T A R T c o n t r o l .
- No Analytics Things have been created in ThingWorx
- Analytics Things are not communicating with ThingWorx
- Error is reported for most twas* services.
- Unable to start twas-* services from Windows services
- <ThingWorxAnalyticsServer>\third-party\bin\other\nssm edit twas-edge-ms shows incomplete path to java executable in Path as below:

- Java is installed under D:\Program Files\Java
This is a printer-friendly version of Article 300197 and may be out of date. For the latest version click CS300197