There are two methods for installing the Movere Service. While the first is the easiest to deploy, it is susceptible to the user logging off, (or being logged off), or the device being rebooted. The second method will protect against both of these occurrences.
NOTE: This knowledge can also be used to run two Movere scans at the same time from a single device over two separate port numbers.
The most important aspect is to understand the port number being used. To tell which port is being used, open the 'Movere.Service.exe.config' file in Notepad. On row 11 you will see the following:
<add key="PortNumber" value="80" />
When the Movere Service starts, (either via the Console or from a command line), this will be the port number Movere binds on to for that session. If this value is changed, Movere will bind to the new port entered. If port 80 is already in use, Movere will the try port 81, then port 82, etc.
This method can be performed from a command prompt or via the Movere Console. From a command prompt, navigate to the folder housing the Movere binaries and run this command:
Movere.Service.exe -device:localhost -upload
Alternatively, you can open the Movere Console and from the Getting Started tab select the options 'First Scan' and 'Windows Devices'. Click on the Next button three times, which should place you on the Windows Device tab. From the drop-down menu on the Windows Device tab, select 'Specific devices', then using the Add button enter locahost and hit OK. Hit Next again and make sure Yes is selected on the Upload to Cloud tab. If you have the appropriate credentials entered and mapped, then on the Initiate Scan tab select Scan. Leave the Movere Console open.
NOTE: If the device the Movere Console is being run from is rebooted, or the user running the scan is logged off, then the Movere Service will terminate and the listener will close.
Close the Movere Console, then from a command prompt, navigate to the folder housing the Movere binaries and run this command:
Movere.Service.exe install -upload
This will install the Movere Service as a service.
Next, open the services list on that device and manually start the Movere.Service:
You can now log off this device and the service will continue running. You can also reboot this device and the service will restart automatically. This is the recommended approach, as the listener will run and all Movere payloads will automatically upload.
If you start the Movere scans on a different port number, e.g. 81, then you must stop and delete the installed Movere Service. You can do this by stopping the Movere Service first, then using the sc delete command (refer below):
Open the 'Movere.Service.exe.config' and change the port number to 81, then save the file. Next, reinstall the Movere Service using the command above and Movere will start listening on port 81.
NOTE: You can only have two Movere Services running at the same time on the same device: one as an installed service and one via a command prompt. Both instances must be listening on different port numbers or you will see an error message informing you that the Movere Service is already running when you try to start the second one.