From 6ec03ff4cca4276d35fa943806d51e4e2e47b4a8 Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Wed, 29 Jan 2020 07:27:23 -0800 Subject: [PATCH] Launch chat differently so it loads on Windows Server. --- Agent/Services/AppLauncher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Agent/Services/AppLauncher.cs b/Agent/Services/AppLauncher.cs index ee7f75c0..ac781743 100644 --- a/Agent/Services/AppLauncher.cs +++ b/Agent/Services/AppLauncher.cs @@ -43,7 +43,7 @@ namespace Remotely.Agent.Services } else { - var result = Win32Interop.OpenInteractiveProcess($"conhost.exe {rcBinaryPath} -mode Chat -requester {requesterID}", "default", false, out _); + var result = Win32Interop.OpenInteractiveProcess($"{rcBinaryPath} -mode Chat -requester {requesterID}", "default", false, out _); if (!result) { await hubConnection.InvokeAsync("DisplayMessage", "Remote control failed to start on target device.", "Failed to start remote control.", requesterID);