Skip to content

Commit d533d45

Browse files
Merge pull request #8091 from Robo210/patch-2
Add notes about the return codes from lodctr.exe and unlodctr.exe
2 parents 1e6624d + fbb02ea commit d533d45

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

WindowsServerDocs/administration/windows-commands/lodctr.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Reference article for the lodctr command, which allows you to regis
44
ms.topic: reference
55
ms.author: alalve
66
author: xelu86
7-
ms.date: 10/16/2017
7+
ms.date: 10/22/2025
88
---
99

1010
# lodctr
@@ -33,6 +33,7 @@ lodctr <filename> [/s:<filename>] [/r:<filename>] [/t:<servicename>]
3333
#### Remarks
3434

3535
- If the information that you supply contains spaces, use quotation marks around the text (for example, "file name 1").
36+
- An exit code of **0** indicates the command line syntax was correct. It doesn't mean the operation was successful. Check the output from the command for potential error messages.
3637

3738
### Examples
3839

WindowsServerDocs/administration/windows-commands/unlodctr.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Reference article for the unlodctr command, which removes Performan
44
ms.topic: reference
55
ms.author: daknappe
66
author: dknappettmsft
7-
ms.date: 10/16/2017
7+
ms.date: 10/22/2025
88
---
99

1010
# unlodctr
@@ -29,6 +29,10 @@ unlodctr <drivername>
2929
| `<drivername>` | Removes the **Performance counter name** settings and **Explain text** for driver or service `<drivername>` from the Windows Server registry. If your `<drivername>` includes spaces, you must use quotation marks around the text, for example "Driver name". |
3030
| /? | Displays help at the command prompt. |
3131

32+
#### Remarks
33+
34+
An exit code of **0** indicates the command line syntax was correct. It doesn't mean the operation was successful. Check the output from the command for potential error messages.
35+
3236
## Examples
3337

3438
To remove the current **Performance counter names** and **Explain text** for the Simple Mail Transfer Protocol (SMTP) service, type:

0 commit comments

Comments
 (0)