Skip to main content

Synopsis

Changes the display name of the LabTech agent in Add/Remove Programs by updating the DisplayName (and optionally the Publisher) registry value under the agent’s Uninstall key. This is useful for white-labeling deployments or presenting a custom name to end users.
Use -PublisherName alongside -Name to fully white-label the entry — both the program name and the publisher column in Programs and Features will reflect your chosen values.

Syntax

Rename-LTAddRemove [-Name] <Object> [[-PublisherName] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters

Name
string
required
The new display name for the LabTech agent as it will appear in the Add/Remove Programs list. Accepts any string value. Position: 1.
PublisherName
string
The new publisher name to display alongside the entry in Programs and Features. When omitted, the publisher field is left unchanged. Position: 2.
WhatIf
SwitchParameter
Shows what would happen if the cmdlet runs without actually making any changes. Alias: wi.
Confirm
SwitchParameter
Prompts for confirmation before applying each registry change. Alias: cf.
This cmdlet also accepts the common PowerShell parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

Examples

Rename the agent entry to a custom display name:
Rename-LTAddRemove -Name 'IT Management Agent'
Rename the agent and update the publisher name:
Rename-LTAddRemove -Name 'Remote Support Agent' -PublisherName 'Acme IT Services'
Preview what registry values would change without applying them:
Rename-LTAddRemove -Name 'Remote Support Agent' -WhatIf

Notes

Rename-LTAddRemove can be called automatically by Install-LTService when the -Rename parameter is provided. The value passed to -Rename is forwarded directly to the -Name argument of this function.
The rename applies to whichever registry key is currently active — if the entry has been hidden with Hide-LTAddRemove, the hidden key is updated so the new name takes effect immediately when the entry is restored with Show-LTAddRemove.

Build docs developers (and LLMs) love