Reply To: How to shut down the device after a few minutes?

#12131
Deborah TimothyDeborah Timothy
Moderator

Hello Ida-sol,

Thank you for reaching out to us.

The “Power off Device” action can be executed only on supervised iOS 10.3+, macOS 10.13+ and Android devices with Hexnode MDM as a system app. This action is used to shut down the device immediately.

You can deploy scripts on Windows 10 devices to achieve your purpose. Deploy a .bat script with the command,

shutdown.exe /s /t 00
By making changes to the last part of the command, you can delay the process. To shut down the device in 15 seconds, shutdown.exe /s /t 15

Refer to our help documentation to know more about remote scripting on Windows devices. In addition, you can find the code snippets for the most commonly executed tasks in Windows in the script repository.

Hope that helps.
Deborah Timothy
Hexnode UEM