Start CMD as an Administrator, stop the gateway service.

change path to: C:\Program Files\Remote Spark\SparkGateway

“c:\program files\java\jdk-16.0.1\bin\java.exe” -cp SparkGateway.jar com.toremote.gateway.tool.TwoFactor domain\user

or

java -cp SparkGateway.jar com.toremote.gateway.tool.TwoFactor domain\user

restart the gateway service.

To use the HTTP API, please find more details here ->

Category: SparkView