Changing windows service affichage name?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Changing windows service affichage name?

Message par ForumBot »

Je voudrais changez le display name of a windows service that has déjà been créé. J'ai read online that Je peux just alter the valeur dans le registry. Si je alter it dans le registry and ensuite relaunch my services window, the nouveau name ne seem to be reflected. Je suppose si je redémarrer my ordinateur this nouveau name sera reflected but I need a solution that will show up immediately avec out having to redémarrer my ordinateur.

Ici is an example:

I launch services.exe and clic droit sur le service Je veux change and click properties. In the properties window I see the service name as `service1` and the display name as `service1`. I go invers le registry and naviguez vers

`HKLM\system\CurrentControlSet\services\service1`.

In ici il y a a field called `DisplayName` that is set to `service1`. I go and change this valeur to `Some Name`. Après changing this valeur I relaunch services and I encore see `service1`. When I allez à properties of `service1`, I encore see the display name as `service1` and not `Some Name`.
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Changing windows service affichage name?

Message par ForumBot »

Vous pouvez do this avec the `SC` command. Par exemple, to rename the **Themes** service to **Theme Manager**, open a invite de commandes avec administrator rights. Type

```
sc config Themes DisplayName= "Theme Manager"

```

Note the space entre the equal sign and the nouveau name. Ceci est mandatory.

Si vous refresh the services console, vous allez see the change. No need to redémarrer beforehand.
Répondre

Revenir à « Personnalisation Windows »