System.IO.PipeException error

Scenario: I’m trying to schedule a process with Windows scheduler where a line of text is appended to .txt file. When I run the process with a scheduler as logged in user, everything is fine. Whenever I try to run it as “logged on or not” I get a nasty error (see below)

Studio/Robot/Orchestrator Version: Community edition

OS Version: Windows Server 2012 R2
Others if Relevant: The top part of the error:

{“message”:"System.AggregateException: One or more errors occurred. —> System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.pipe://localhost/UiPath/service/duplex/agent/username that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> System.IO.PipeException: The pipe endpoint ‘net.pipe://localhost/UiPath/service/duplex/agent/username’ could not be found on your local machine. \r\n

I’ve completed steps listed here

How can I fix this?
Any help is highly appreciated!