i have setup Rundeck in windows servere 2012.
I'm trying to connect remote box to stop "XXX" Service. While i'm doing getting below error message. Can you please suggest to make it work.
SERVER @ userIDExecuting sc \\REMOTE_SERVER queryex "emshell2"
Stopping service emshell2
SERVER @ userIDsc \\REMOTE_SERVER stop "emshell2" > "E:/utils/DM_FARM/Linux_V2015R3X/log/Stopping_REMOTE_SERVER.log"
Failed: NonZeroResultCode: Result code was 2
Execution failed: 166 in project Testing: [Workflow result: , step failures: {1=Dispatch failed on 1 nodes: [SERVER: NonZeroResultCode: Result code was 2]}, Node failures: {SERVER=[NonZeroResultCode: Result code was 2]}, status: failed]