G
Guest
We are trying to use w32time to synchronize the time on our XPE device.
The device uses a minlogon profile image, and does not participate in a
domain or use an active directory server, we are trying to sync time using
NTP.
I have included the following components in my image:
Time Service Core
Time Service Executable
Primitive: W32topl (someone requested to add this because the docs said it
was a utility, but the component just contains a DLL, so I don't think we're
really using it)
Again, we are not using a domain, and are trying to synchronize using NTP.
We set up the registry as follows:
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer
Enabled (REG_DWORD) = 1 = Always start the NTP server
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Type (REG_SZ) = "NTP" = Synchronize to manually configured source
NtpServer (REG_SZ) = "space-delimited list of hostname/IP addresses" = NTP
servers to synchronize from.
"<primaryIP> <secondaryIP>,0x2"
Log (REG_DWORD) = 0x00000064
WriteLog (REG_SZ) = "True"
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config
MaxPosPhaseCorrection (REG_DWORD) = 0xFFFFFFFF = infinite/off
MaxNegPhaseCorrection (REG_DWORD) = 0xFFFFFFFF = infinite/off
This is done just have the Date and Time Properties dialog to show what we
have set for NtpServer (it defaults to time.window.com).
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime
Delete everything and set "0" to value of NtpServer
These were done just to see if they would stop the use of "time.windows.com"
Delete subkey HKLM\SOFTWARE\Policies\Microsoft\W32Time
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient
Delete value SpecialPollTimeRemaining (it was always set to time.windows.com)
The attempt to start the w32time fails and logs the following error:
RPC_S_UNKNOWN_AUTHN_SERVICE
Our image is using Minlogon as the Session Manager. When using Winlogon,
the time service is able to start (though we haven't yet been able to get it
to sync time). We would like to find out if we have a missing/undocumented
dependency that is not fulfilled, or if the Time Service is known not to work
with Minlogon. We would hate to have to go with Winlogon JUST because of
this. We would appreciate any help that can be given with getting the time
service to start, as well as any documentation/assistance in how to configure
NTP when not using a domain on Windows XP.
Thanks,
Ann Adamson
PS: Here is a previous thread that I started on
microsoft.public.windowsxp.embedded where I tried to get some info on the
problem, but to no avail.
http://msdn.microsoft.com/newsgroup...&p=1&tid=c29d8776-3f40-4886-bcc7-5ed2c4d6503d
The device uses a minlogon profile image, and does not participate in a
domain or use an active directory server, we are trying to sync time using
NTP.
I have included the following components in my image:
Time Service Core
Time Service Executable
Primitive: W32topl (someone requested to add this because the docs said it
was a utility, but the component just contains a DLL, so I don't think we're
really using it)
Again, we are not using a domain, and are trying to synchronize using NTP.
We set up the registry as follows:
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer
Enabled (REG_DWORD) = 1 = Always start the NTP server
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Type (REG_SZ) = "NTP" = Synchronize to manually configured source
NtpServer (REG_SZ) = "space-delimited list of hostname/IP addresses" = NTP
servers to synchronize from.
"<primaryIP> <secondaryIP>,0x2"
Log (REG_DWORD) = 0x00000064
WriteLog (REG_SZ) = "True"
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config
MaxPosPhaseCorrection (REG_DWORD) = 0xFFFFFFFF = infinite/off
MaxNegPhaseCorrection (REG_DWORD) = 0xFFFFFFFF = infinite/off
This is done just have the Date and Time Properties dialog to show what we
have set for NtpServer (it defaults to time.window.com).
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime
Delete everything and set "0" to value of NtpServer
These were done just to see if they would stop the use of "time.windows.com"
Delete subkey HKLM\SOFTWARE\Policies\Microsoft\W32Time
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient
Delete value SpecialPollTimeRemaining (it was always set to time.windows.com)
The attempt to start the w32time fails and logs the following error:
RPC_S_UNKNOWN_AUTHN_SERVICE
Our image is using Minlogon as the Session Manager. When using Winlogon,
the time service is able to start (though we haven't yet been able to get it
to sync time). We would like to find out if we have a missing/undocumented
dependency that is not fulfilled, or if the Time Service is known not to work
with Minlogon. We would hate to have to go with Winlogon JUST because of
this. We would appreciate any help that can be given with getting the time
service to start, as well as any documentation/assistance in how to configure
NTP when not using a domain on Windows XP.
Thanks,
Ann Adamson
PS: Here is a previous thread that I started on
microsoft.public.windowsxp.embedded where I tried to get some info on the
problem, but to no avail.
http://msdn.microsoft.com/newsgroup...&p=1&tid=c29d8776-3f40-4886-bcc7-5ed2c4d6503d