Windows 7 clock skew


















There is no perfect solution for clock skew problems. A good solution is to set the beginning validity time of a right earlier than the current time for consumers with clocks behind yours and, if possible, to extend the license validity time for users with clocks ahead of yours.

Be especially conscious of clock skew problems when creating an issuance license with short validity times. Working with Licenses and Templates. Skip to main content. To change the property on one of the system-provided bindings, you must find the security binding element in the collection of bindings and set the MaxClockSkew property to a new value. When retrieving the security binding from the collection, you must cast to one of these types in order to correctly set the MaxClockSkew property.

For a list that specifies which type of security binding to use in each system-provided binding, see System-Provided Bindings. Add references to the following namespaces in your code: System. Channels , System. Description , System. Permissions , and System. Use the Find method of the BindingElementCollection class to find the security binding element. When using the Find method, cast to the actual type. The example below casts to the SymmetricSecurityBindingElement type.

Set the MaxClockSkew property on the security binding element. However, Microsoft's knowledge base article titled How to configure the Windows Time service against a large time offset gives more insight about the update interval. I'm guessing I have a manual peer , whatever that means.

I don't have a domain and I did set the server manually. The original value seems to be seconds, making that 7 days or a week. Way too much for me. While sniffing the network traffic with the Wireshark, indeed I can confirm that putting a small value into that will make my Windows 7 to poll on that interval.

I put 10 seconds there, and it seems to work. For any real life scenario 10 seconds to update time is ridiculous. For a computer on a domain, the value is seconds, making the updates for every hour. I chose to use that. Please note that changing the registry value requires a restart for the Windows time client. From a command line a:. Now my computer's time seems to stick with a reasonable accuracy.

I'm still considering of purchasing a GPS-time box of my own. They seem to be quite expensive, though. Archives January December November Recent



0コメント

  • 1000 / 1000