I might be running into a problem with Post-Action Restart on Win2012 R2 Core, running BES client 9.5.2. If I am logged in at the console and send an action with a post-action restart, the action status moves to “Pending Restart” but the system doesn’t actually reboot.
I suspect it may be an issue where the BES Client UI cannot create the window to warn the logged-on user that a reboot is needed? I sent an action with a 1-minute post-action reboot, with ‘user cannot cancel’, that executed about ten minutes ago but no indication that the system is executing a reboot.
I’m just starting to try to use 2012 r2 Core (and this is “real” Core, not “minimal interface”). Is this a known limitation, or should I keep looking?
I had the same issue – on Server Core there is no ClientUI process for each user and any post-action restart command hangs with a status of, “Pending Restart” but does not actually restart the system.
My Server Core agents are running Agent Version 9.2.7.53 for reference.
we found that you have to disable the ClientUI. You can’t use the existing fixlet “BES Client Setting: Client UI Enable/Disable Main Dialog” because it is only relevant on systems with Internet Explorer, which Core edition does not have.
I made a copy of the fixlet that worked and allowed the reboot to succeed:
Relevance: if (version of operating system >= "6.2") then (((exists value "ServerCore" whose (it as string = "1")of it AND not exists value "Server-Gui-Mgmt" of it AND not exists value "Server-Gui-Shell" of it) OR (exists value "ServerCore" whose (it as string = "1")of it AND exists value "Server-Gui-Mgmt" whose (it as string = "1")of it AND not exists value "Server-Gui-Shell" of it)) of (key "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Server\ServerLevels" of native registry)) else false
not exists setting "_BESClient_ActionManager_UIEnableMode" whose (value of it = "none") of client
ActionScript: setting "_BESClient_ActionManager_UIEnableMode"="none" on "{parameter "action issue date" of action}" for client runhidden cmd /C net stop besclient && net start besclient > NUL 2> NUL