|
1 | 1 | --- |
2 | 2 | title: Turn on debug logging in Windows Time Service |
3 | 3 | description: Describes how to turn on debug logging for the Windows Time service |
4 | | -ms.date: 01/15/2025 |
| 4 | +ms.date: 05/08/2025 |
5 | 5 | manager: dcscontentpm |
6 | 6 | audience: itpro |
7 | 7 | ms.topic: troubleshooting |
@@ -53,3 +53,34 @@ To turn on debug logging in the Windows Time service: |
53 | 53 | > The Data Type value must be of type REG_SZ (String). You must type the value exactly as shown (that is, type 0-116 ). The highest possible value is 0-300 for most detailed logging. The meaning of this value is: Log all entries within the range of 0 and 116. |
54 | 54 |
|
55 | 55 | 4. Restart the Windows Time service (W32Time) for the change to take effect. |
| 56 | + |
| 57 | +## Gather information by using TSS for Windows Time related issues |
| 58 | + |
| 59 | +If you need to contact Microsoft support, we recommend using the TroubleShootingScript (TSS) toolset to gather information about your issue. |
| 60 | + |
| 61 | +### Prerequisites |
| 62 | + |
| 63 | +Refer to [Introduction to TroubleShootingScript toolset (TSS)](../..//windows-client/windows-tss/introduction-to-troubleshootingscript-toolset-tss.md#prerequisites) for prerequisites for the toolset to run properly. |
| 64 | + |
| 65 | +### Gather key information before contacting Microsoft support |
| 66 | + |
| 67 | +1. Download [TSS](https://aka.ms/getTSS) and extract it in the *C:\\tss* folder. |
| 68 | +2. Open the *C:\\tss* folder from an elevated PowerShell command prompt. |
| 69 | + > [!NOTE] |
| 70 | + > Don't use the Windows PowerShell Integrated Scripting Environment (ISE). |
| 71 | +3. Run the following cmdlets: |
| 72 | + |
| 73 | + ```powershell |
| 74 | + Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass |
| 75 | + ``` |
| 76 | +
|
| 77 | + ```powershell |
| 78 | + .\TSS.ps1 -ADS_W32Time -Netsh -PSR -AcceptEula |
| 79 | + ``` |
| 80 | +
|
| 81 | +4. Enter *A* for "Yes to All" for the execution policy change. |
| 82 | +
|
| 83 | +> [!NOTE] |
| 84 | +> |
| 85 | +> - The traces are stored in a compressed file in the *C:\\MS_DATA* folder. After a support case is created, this file can be uploaded to the secure workspace for analysis. |
| 86 | +> - If you've downloaded this tool previously, we recommend downloading the latest version. It doesn't automatically update when running `-Collectlog ADS_W32Time`. |
0 commit comments