Script not presenting popup when sent via Scripting Task in N-able N-central

Last Modified

Tue Jan 29 08:43 GMT 2019

Description

  • Script not presenting popup when sent via Scripting Task in N-able N-central
Example: A vbs script attempts to collect input from a user. The prompt appears when running the script normally, but the prompt is not seen when run via Scheduled Task (Actions > Run Script) on N-able N-central .
$collectInputFromUser = [Microsoft.VisualBasic.Interaction]::InputBox("Please enter the first name:", "", "")

Environment

  • N-able N-central all versions

Solution

  • This is because N-able N-central Agents execute under the LOCALSYSTEM session, which is not visible to the user. Specifying credentials are possible, but the task only impersonates, and therefore the popup is still not visible to the actual user.


Example: C:\Program Files (x86)\N-able Technologies\Windows Agent\log\RemoteExecutionModule.log shows the script is waiting for input from the InputBox, but the user cannot see it, so the script execution times out.


[75] 2018-12-06 13:05:59,419 WARN com.nable.agent.module.RemoteExecutionModule.RemoteExecutionTask Launch_New_LocalProcess_withPSI_64 - begin
...
[ReadStdOut64] 2018-12-06 13:54:20,856 DEBUG com.nable.agent.module.RemoteExecutionModule.RemoteExecutionTask Process StdOut64: Process is still running..

  1. Log a Feature Request or upvote an existing request at: https://me.n-able.com/s/ideas