Query reg_multi_sz value

All

Need to query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpClient value for SpecialPollTimeRemaining which is reg_multi_sz

thanks

will this work

(value “SpecialPollTimeRemaining” of key “HKLM\SYSTEM\CurrentControlSet\services\w32time\TimeProviders\NtpClient” of native registry)

Yes, you will get a string with all values in MULTI_SZ concatenated with %00 something like “value1%00value2%00value3%00%00”.

You can split result to each value with
substring separated by “%00” of (( value “…” of key “…” of native registry) as string)