Hi All,
Windows 11 Pro 22H2
I wrote a program that will pop up various pieces of information
(MessageBoxW from user32).
When run from a command shell or an icon on the desk
top, the pop ups run fine.
But no pop ups when run from the Task Scheduler.
How do I configure the Task Scheduler for the pop ups?
Many thanks,
-T
On 11/12/22 01:07, T wrote:
Hi All,
Windows 11 Pro 22H2
I wrote a program that will pop up various pieces of information
(MessageBoxW from user32).
When run from a command shell or an icon on the desk
top, the pop ups run fine.
But no pop ups when run from the Task Scheduler.
How do I configure the Task Scheduler for the pop ups?
Many thanks,
-T
I got told this on another group:
In order to display a user interface tasks
must be configured to run only when the user
is logged on. Otherwise they will run in
non-interactive session 0 and any user
interface they attempt to display will not
be visible.
My program must be run as administrator. The user
is not logged in a administrator
What now?
On Sat, 12 Nov 2022 03:15:51 -0800, T wrote:
On 11/12/22 01:07, T wrote:
Hi All,
Windows 11 Pro 22H2
I wrote a program that will pop up various pieces of information
(MessageBoxW from user32).
When run from a command shell or an icon on the desk
top, the pop ups run fine.
But no pop ups when run from the Task Scheduler.
How do I configure the Task Scheduler for the pop ups?
Many thanks,
-T
I got told this on another group:
In order to display a user interface tasks
must be configured to run only when the user
is logged on. Otherwise they will run in
non-interactive session 0 and any user
interface they attempt to display will not
be visible.
My program must be run as administrator. The user
is not logged in a administrator
What now?
If the user is an Administrator type instead of Standard User type, simply tick the "Run with highest provileges" checkbox. That's all.
However, if the user is a Standard User type, Microsoft psexec's `-i 1` command line switch is supposedly for solving this problem, but apparently
is not working properly. In Windows 7, even though the program has been
shown on the taskbar and its window is responsive to mouse/keyboard inputs, its window content fails to be drawn - leaving ghost images from other application windows which were overlapping its window boundary. In Windows 10, the program's window is not even visible on the taskbar. I think psexec need some bug fixing.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 42:42:19 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,851 |