Forum Discussion

admin-CPH's avatar
admin-CPH
Brass Contributor
Apr 29, 2022

Schedule PC reboot via Endpoint

Dear All, How do Schedule all windows devices to reboot with a warning message via Endpoint?   Thanks,
  • Adin_Calkic's avatar
    Apr 30, 2022

    Hi admin-CPH ,

     

    they are couple of ways, but this is what I use. Make sure you target devices you want.

     

    This setting sets a Onetime reboot on a schedule we set via Custom OMA-URI setting. This creates a Scheduled Task on the device to trigger “deviceenroller.exe -ForcedReboot” at the scheduled time.

    1.Go to endpoint.microsoft.com

    2. Navigate to Device configuration ->  Profiles -> Create profile > Add.

    OMA-URI: ./Vendor/MSFT/Reboot/Schedule/Single

    DataType: String

    Value : 2022-04-30T20:00:00Z

     

    Note: The Value must be in the above format and it is in UTC. Convert the value according to the required time zone and apply

     

    3. Assign to the group where the enrolled user is present. If it is user less device, assign to the device group.

    4. Trigger Sync on the  device.

    5. You can see the schedule on the device as below under  Task Scheduler.  (On Windows 10 Desktop only)

              Microsoft\Windows\EnteriseMgmt\<EnrollmentID GUID>\Reboot

    6. Device will show a display pop up notification at the scheduled time and will reboot after 60 Seconds.

Resources