Unable to execute Remote Command Execution on Windows 2012 R2 if user is logged off

Hi! I created a flow to execute a "Remote Command Execution" on my own windows RAS (Windows 2012 R2) but it only works if I'm currently logged-in in my windows RAS... If I logoff, i get "Unknown Error" and unable to execute any command on my own windows RAS... Is there anything I am missing? Any advise or tips? Thanks in advance, I really appreciate your support. Rgds, Don