DUA Question

  • Thread starter Thread starter Bryan
  • Start date Start date
B

Bryan

Hi all,

If I want to assign multiple "PollToD" in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DUAge
nt\Parameters\Config, how to do it?

The MSDN say, "An array can contain a maximum of seven
PollToD structures".
How to fill it into the registry?

http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/xpehelp/html/xeconreconfiguringdua.asp

Thanks in advance!

Bryan
 
From the documentation.
PollToD REG_BINARY Unspecified Unspecified = Do not run.
Specified = Run at specified day and hour. An array can contain a
maximum of 7 PollToD structures, where each structure is a BitField as shown
in the following list:

Day and hour on which to poll:

Bit 31 = Reserved
Bit 30 = Sunday
Bit 29 = Monday
Bit 28 = Tuesday
Bit 27 = Wednesday
Bit 26 = Thursday
Bit 25 = Friday
Bit 24 = Saturday
Hour of the day:

Bit 23 = 24:00 (Hour 24 - 0 minutes)
Bit 22 = 01:00 (Hour 1 - 0 minutes)
Bit 0 = 23:00 (Hour 23 - 0 minutes)


It's just a binary value of 7 words.
-Anil [MS] This posting is provided AS IS. It provides no warranties and
confers no rights.
 
Hi,

Do you mean if I have two PollToD structure,
the PollToD will be "0100110000100011"(Reg_Binary) ?

Thanks
-----Original Message-----
From the documentation.
PollToD REG_BINARY Unspecified Unspecified = Do not run.
Specified = Run at specified day and hour. An array can contain a
maximum of 7 PollToD structures, where each structure is a BitField as shown
in the following list:

Day and hour on which to poll:

Bit 31 = Reserved
Bit 30 = Sunday
Bit 29 = Monday
Bit 28 = Tuesday
Bit 27 = Wednesday
Bit 26 = Thursday
Bit 25 = Friday
Bit 24 = Saturday
Hour of the day:

Bit 23 = 24:00 (Hour 24 - 0 minutes)
Bit 22 = 01:00 (Hour 1 - 0 minutes)
Bit 0 = 23:00 (Hour 23 - 0 minutes)


It's just a binary value of 7 words.
-Anil [MS] This posting is provided AS IS. It provides no warranties and
confers no rights.
Hi all,

If I want to assign multiple "PollToD" in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DUAge
nt\Parameters\Config, how to do it?

The MSDN say, "An array can contain a maximum of seven
PollToD structures".
How to fill it into the registry?

http://msdn.microsoft.com/library/default.asp?
url=/library/en- us/xpehelp/html/xeconreconfiguringdua.asp

Thanks in advance!

Bryan


.
 
Back
Top