Frequently Asked Question

How to manually start/stop Need4Viz services through command line
Dernière mise à jour il y a 4 ans

Symptom

  • Start Need4Viz services from command line
  • Stop Need4Viz services from command line 

Environment

  • Windows Server
  • Need4Viz : all versions

Resolution

To start Need4Viz services : 

  1. Open a PowerShell command window as local administror of the server
  2. Change directory to ~Need4Viz_folder_installation/Scripts/  
  3. Run the Start_Need4Viz.ps1 command
  4. To check all services are started, run a pm2 -list command

To stop Need4Viz services :

  1. Open a PowerShell command window as local administror of the server
  2. Change directory to ~Need4Viz_folder_installation/Scripts/
  3. Run the Stop_Need4Viz.ps1 command
  4. To check all services are stopped, run a pm2 -list command

Possible issue

In case of restricted policy to execute scripts in the PowerShell window :

  1. run the set-executionpolicy unrestricted command
  2. answer o for the validation

Veuillez patienter!

S'il vous plaît patienter... il faudra une seconde !