Share via


DUA Poll Scheduler Reconfiguration

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

See Also

Device Update Agent

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.