Article - CS314508
ThingWorx Analytics - 'nssm.exe' is not recognized as the name of a cmdlet, function, script file, or operable program
Modified: 28-Oct-2019
Applies To
- ThingWorx Analytics 8.4 to 9.1
Description
- ThingWorx Analytics Server will not start up
- When using the start command, error message encountered:
- C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ThingWorx Analytics Server\
Manage Services>C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe -File
"C:\Program Files (x86)\ThingWorxAnalytics\Thingworx_Analytics_Server\bin\twas.p
s1" start
& : The term 'C:\Program Files (x86)\ThingWorxAnalytics\Thingworx_Analytics_Ser
ver\third-party\bin\other\nssm.exe' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At C:\Program Files
(x86)\ThingWorxAnalytics\Thingworx_Analytics_Server\bin\twas.ps1:11 char:28
+ "start" {& "$NSSM_EXE" start $servs }
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program File...\other\nssm.e
xe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
& : The term 'C:\Program Files (x86)\ThingWorxAnalytics\Thingworx_Analytics_Ser
ver\third-party\bin\other\nssm.exe' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At C:\Program Files
(x86)\ThingWorxAnalytics\Thingworx_Analytics_Server\bin\twas.ps1:11 char:28
+ "start" {& "$NSSM_EXE" start $servs }
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program File...\other\nssm.e
xe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
& : The term 'C:\Program Files (x86)\ThingWorxAnalytics\Thingworx_Analytics_Ser
ver\third-party\bin\other\nssm.exe' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At C:\Program Files
(x86)\ThingWorxAnalytics\Thingworx_Analytics_Server\bin\twas.ps1:11 char:28
+ "start" {& "$NSSM_EXE" start $servs }
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program File...\other\nssm.e
xe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
- C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ThingWorx Analytics Server\
This is a printer-friendly version of Article 314508 and may be out of date. For the latest version click CS314508