Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DUA Poll Scheduler Reconfiguration (Windows Embedded Standard 2009)

4/23/2012

With the following code sample, you issue DUA a set of commands to update and modify the scheduling and timing options. The scheduling configuration determines when the agent polls for command files. These configuration values can be used to control the day and hour at which a device should perform updates. The code sample configures DUA to poll for updates every Monday from 1 A.M. to 2 A.M. Within this window, the device is set to poll randomly once every 20 minutes.

//************************************
//**Specify the poll scheduling values
//************************************

//Set the polling day and time to Monday 1 A.M.
11,0,HKEY_LOCAL_MACHINE,0,SYSTEM\CurrentControlSet\Services\DUAgent\Parameters\Config\,0,PollToD,3,4,32,64,0,0

//Set the PollInterval to 20 minutes (1200 seconds).
11,0,HKEY_LOCAL_MACHINE,0,SYSTEM\CurrentControlSet\Services\DUAgent\Parameters\Config\,0,PollInterval,4,1200

//Set the PollJitter to poll randomly within the PollInterval.
11,0,HKEY_LOCAL_MACHINE,0,SYSTEM\CurrentControlSet\Services\DUAgent\Parameters\Config\,0,PollJitter,4,1
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.