Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Partner Notification API allows third-party partners to use the Wake on LAN feature of Configuration Manager to receive a list of computers that need to be woken up based on advertisements for software distribution.
Before you can enable the Partner Notification API, you must configure Wake on LAN for each primary site for which you want to enable this feature. For more information about configuring Wake on LAN, see How to configure Wake on LAN.
To enable the Partner Notification API
Set the following registry keys on the computer for each primary site where you want to enable this feature:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\COMPONENTS\SMS_WAKEONLAN_MANAGER\CreatePartnerNotificationSet the value to 1 to enable the Partner Notification API and create a partner notification file. This key is set to 0 by default.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\COMPONENTS\SMS_WAKEONLAN_MANAGER\DeletePartnerNotificationOlderThanDaysDeletes partner notification files older than the indicated number of days. The default value is 3 days.The partner notification file is a .csv file that contains a list of computers, by their FQDN, that you can wake with your custom code.
Restart the SMS_EXECUTIVE service on each computer where you updated the registry keys.
Create an advertisement by using the SMS_Advertisement Server WMI Class. Set the
OfferTypevalue to 0 and theAdvertFlagsvalue to 0x00400000. For more information about advertisements, see How to Create an Advertisement and How to Configure a Software Distribution Mandatory Advertisement for Wake On LAN.Use the
AssignedScheduleandAssignedScheduleEnabledproperties to set a schedule for your advertisement.When the advertisement deadline is met, and Configuration Manager attempts to wake the computers, a partner notification file is generated and stored in the following location: <Configuration Manager Installation Directory>\inboxes\WOLMGR.box\Partners. If the
OfferTypeproperty in the advertisement is not set to 0, Configuration Manager will not try to wake up computers through Wake on LAN, thus notification files are not generated.Use the list of computers in the partner notification file to wake the computers with your custom code.
See Also
How to Create an Advertisement How to Configure a Software Distribution Mandatory Advertisement for Wake On LAN