search cancel

Powershell script not running on target system. It does not open the pop up windows

book

Article ID: 175355

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Customer running a PowerShell script on the agents which should open some pop op windows and asking questions regarding reboot option. 

But nothing would be pop up.

Cause

By default, PowerShell scripts are running as local System Account. So logged on users could not see the pop ops. 

Resolution

in the job or task which runs the script, click on "Advanced...", then in the Script tab, choose Run As "Current logged-on user"