Intel AMT Features > Alarm Clock > Use Cases > Disable the Alarm Clock
CollapseAll image

Disable the Alarm Clock

The following steps describe how to disable the alarm clock.

1.  Retrieve the instance of AMT_AlarmClockService, where the “Name” key equals “Intel(r) AMT Alarm Clock Service”.

2.  Examine the received object: if the fields NextAMTAlarmTime and AMTAlarmClockInterval are both not present in the object, then the alarm clock is already disabled. Otherwise,

3.  Remove the field AMT_AlarmClockService.NextAMTAlarmTime.

4.  Remove the field AMT_AlarmClockService.AMTAlarmClockInterval.

5.  Update the object by performing AMT_AlarmClockService.Put.

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$alarmClockServiceRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_AlarmClockService WHERE Name='Intel(r) AMT Alarm Clock Service'")

$alarmClockServiceInstance =$alarmClockServiceRef.Get()

$alarmClockServiceInstance.RemoveProperty("NextAMTAlarmTime")

$alarmClockServiceInstance.RemoveProperty("AMTAlarmClockInterval")

$alarmClockServiceRef.Put($alarmClockServiceInstance)

 

 

Instance Diagram

Classes Used in This Flow

SDK Sample

Located at:<SDK_root>\Windows\Intel_AMT\Samples\WS-Management\AlarmClock\c#

 

Copyright © 2006-2022, Intel Corporation. All rights reserved.