Author Posts

June 14, 2018 at 7:06 am

Hello,

I'm having a PowerShell logon script which run under SYSTEM context. This script does some configuration changes when user login to system for first time. My goal is to show progress bar while running the script so that user knows, IT is doing something on his/her machine.

As script is running using SYSTEM account, I tried and failed to show progress bar for logged-in user. How do I achieve this?

Hopefully I have simplified my query.

Any help is appreciated…!

Cheers

June 14, 2018 at 7:49 am

you could run the script using serviceUI.exe to launch your powershell script. This would then allow you to put a progress bar up in the users session.

ServiceUI.exe is part of the MDK