Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
REM Modify the following entry "10.10.10.10 10.10.10.11" as a space-separated list of your PTP grandmasters
# Modify the following entry "10.10.10.10 10.10.10.11" as a space-separated list of your PTP grandmasters

reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\PtpClient /t REG_SZ /v PtpMasters /d "10.10.10.10 10.10.10.11" /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\PtpClient /t REG_DWORD /v Enabled /d 1 /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\PtpClient /t REG_DWORD /v InputProvider /d 1 /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\PtpClient /t REG_SZ /v DllName /d "c:\windows\system32\ptpprov.dll" /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\PtpClient /t REG_SZ /v DllName /d "C:\windows\system32\ptpprov.dll" /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\PtpClient /t REG_DWORD /v DelayPollInterval /d 0x3e80 /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\PtpClient /t REG_DWORD /v AnnounceInterval /d 0x0fa0 /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\PtpClient /t REG_DWORD /v EnableMulticastRx /d 0 /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\PtpClient /t REG_DWORD /v UseE2ECorrection /d 1 /f

REM Disable other input providers

# Disable other input providers
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient /t REG_DWORD /v Enabled /d 0 /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider /t REG_DWORD /v Enabled /d 0 /f
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
."./W32Startup.ps1"

."./PTPClientConfig.ps1"

."./PTPFirewall.ps1"

."./W32Restart.ps1"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
New-NetFirewallRule -DisplayName 'PTP-Event-In' -Name 'PTP-Event-In’ -LocalPort 319 -Direction Inbound -Action Allow -Protocol UDP
New-NetFirewallRule -DisplayName 'PTP-General-In’ -Name 'PTP-General-In’ -LocalPort 320 -Direction Inbound -Action Allow -Protocol UDP
New-NetFirewallRule -DisplayName 'PTP-Event-Out’ -Name 'PTP-Event-Out’ -LocalPort 319 -Direction Outbound -Action Allow -Protocol UDP
New-NetFirewallRule -DisplayName 'PTP-General-Out’ -Name 'PTP-General-Out' -LocalPort 320 -Direction Outbound -Action Allow -Protocol UDP

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Stop-Service W32Time ; Start-Service W32Time
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set-Service -Name W32Time -StartupType Automatic
Binary file not shown.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ Alternatively you can copy the SoftwareTimeStamping Folder into C:\Program Files

#### Test

Please try out our validation guide!
https://github.com/Microsoft/W32Time/blob/master/Timestamping/docs/Validation%20Guide%20-%20RS5%20-%20Software%20Timestamping.docx
Please try out our [validation guide](https://github.com/microsoft/W32Time/blob/master/Timestamping/docs/Validation%20Guide%20-%20Software%20Timestamping.docx)!

## Precision Time Protocol

Expand Down
Binary file added Validation Guide - Precision Time Protocol.docx
Binary file not shown.
Binary file added Validation Guide - RS5 - High Accuracy Time.docx
Binary file not shown.
Binary file added Validation Guide - Software Timestamping.docx
Binary file not shown.