Skip to content

Commit 05dcb64

Browse files
authored
Merge pull request #8870 from email2ravikiran/docs-editor/turn-on-debug-logging-in-windo-1746526131
AB#5719: Update turn-on-debug-logging-in-windows-time-service.md
2 parents af101aa + 816b5c2 commit 05dcb64

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

support/windows-server/active-directory/turn-on-debug-logging-in-windows-time-service.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Turn on debug logging in Windows Time Service
33
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
55
manager: dcscontentpm
66
audience: itpro
77
ms.topic: troubleshooting
@@ -53,3 +53,34 @@ To turn on debug logging in the Windows Time service:
5353
> 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.
5454
5555
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

Comments
 (0)