I just saw that smartmontools 6.00 have experimental support for local warning messages via WTSSendMessage because of session isolation.
I am developping an installer which added support for this on smartmontools 5.43 (heck... Worked for nothing).
On v5.43, i resolved this issue by running a cmd file instead of the mailer with the following options:
psexec -d -i 1 msg * "smart warning message"
As psexec's licence is a bit restrictive, i was beginning to write a wrapper around wtsapi32 to send messages directly from console session to any connected user.
Now that smartmontools have support for this, is there any documentation i can read to integrate this functionnality in my installer setup ?
Ozy de Jong.