(imported topic written by SLB)
Hi all,
Is there any way to present users with a custom message when using the restart {delay in seconds} command aside from using Messages in the action? Here is the full story.
We need to manage some systems via TEM as well as another software distribution tool and need to maintain special handling options across both solutions. In a registry key we maintain a value of how many seconds to wait before a restart can be enforced (otherwise business critical processing is lost) and this wait time varies across the endpoints from 0 seconds up to 2160000 seconds. Using relevance we can extract the time from the registry and pass it to the restart action command and this will pop up a user interface advising them of the impending restart.
restart
{(
if(exists it whose (exists value
"RebootDelay" of it)) then value
"RebootDelay" of it as string
else
"43200") of key
"HKEY_LOCAL_MACHINE\SOFTWARE\SpecialHandling" of registry
}
This is great, but we’d really like to give users a customized message. The only way we’ve found to display a more company specific message is to add Messages settings in the action, the drawback to that being that it will generate another popup message prior to the restart warning popup. The ideal would be to customize the UI message triggered by the restart command and not add 2nd UI message but I don’t know that that is possible.
Thanks in advance
Rob