Thank you for your message.
Unfortunately, this is expected behavior of Agent
as it's a module intended to be used for spontaneous, attended-only remote sessions
For the described scenario you can use Host
instead as it allows unattended reboot and can start automatically at the remote machine's startup, as well as allows you to control UAC prompts remotely. In case if you don't want to use Host for security reasons, please note that there's a number of settings for enhancing Host's security
, including 2-factor authentication and the Ask user permission
feature that prompts the remote user to accept or reject an incoming connection.
Hope that helps.