Change name of my program in Task Manager
Asked Answered
A

3

5

I Start a Demo Project just for testing.

But on this demo work good and I just tried to create a release from it. The problem, when I tried to start it (On debug mod for example) I see a process name like

http://prntscr.com/ikb4kk

(in the red circle)

I also change the properties of my project like this.

http://prntscr.com/ikb578

Someone have any solution to do this "DataBaseAccessValidator" to be my name in Task Manager?

To change my solution and my directory name did not work for my problem.

http://prntscr.com/ikbaac

Agace answered 27/2, 2018 at 8:50 Comment(13)
I have a big program... I don't know which part is relevant...Agace
Possible duplicate of Proper way to rename solution (and directories) in Visual StudioUnsuccessful
I tried it... I changed my directory and my solution prntscr.com/ikbaacAgace
My suggestion: Follow the steps of the second answer in the link above, make sure you use the same name for everything, and you should be good to go.Unsuccessful
@hedo, You should change Assembly Information Title...Bolt
@Bolt you mean "Right click on your project -> select Applicattion Tab -> change assembly name"? If yes, I did so, not work for me.. :(Agace
There is a button labelled "Assembly Information" - try clicking on that - top line is "Title". You could also try programmatically changing the application title in your code.Trautman
Not assembly name, you have assembly information, open it and then change the Title. @Trautman exactly ;) Look at your second screenshot, there is a button...Bolt
@Trautman Thanks, Its solved my problemAgace
@Bolt Thanks, Its solved my problemAgace
Nice, I will post the answer then :)Bolt
PaulF & Johnny are right. Just to elaborate, The Task Manager of Windows 10 displays two different names: 1) In the Processes tab, it displays the Title. 2) In the Details tab, it displays the Assembly Name. However, whenever you want to rename your solution/project, you should do it properly to avoid unexpected behavior, and that's why I referred to the question above.Unsuccessful
Possible duplicate of C# How to correctly set assembly title for Windows 8 Task Manager?Amersham
B
13

You should change the Title within the Assembly Information.

Within the Application Properties page there is a button Assembly Information, open it and change the Title. See the following links:

Application Properties then Assembly Information

Bolt answered 27/2, 2018 at 9:25 Comment(1)
Yes, that's the way to change the assembly name and title. But sometime it will not reflect after changing because windows adds a registry in CURRENT_USER in registry. so go to regedit and find your old assembly name. After deleting it will reflect new name in task manager and taskbar.Alisonalissa
B
0

Each time that you start a new application, Windows automatically extracts the application name from the exe file, and stores it for later use, in Registry key known as the 'MuiCache'.

The information is stored in the registry key

HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\MuiCache

Delete the relevant entries in MUICache and it may fix your issue. You might need to restart your computer as well.

The MuiCache stores strings that are used by applications, particularly the names of executable files. This caching helps Windows optimize the loading and display of application names and other metadata in various parts of the operating system, like the taskbar or when using the search functionality.

Over time, the MuiCache can grow as more applications are installed and used. Windows periodically cleans up outdated or unused entries in this registry key. Users can also manually clear this cache if they encounter issues with incorrect or outdated application metadata being displayed.

Betide answered 15/4 at 19:58 Comment(0)
B
-4

The name that appear in Task Manager is the name to your executable program. You can change it, by using the properties of your project.

Right click on your project -> select Applicattion Tab -> change assembly name.
Blastomere answered 27/2, 2018 at 8:55 Comment(4)
I did it. I showed it in the second link prntscr.com/ikb578... did not work.Agace
did you also change the project name by right clicking on project from solution explorer and selecting rename option?Debility
I have created a copy of my original project and change his directory name by using Windows GUI by rename option... I did rename my solution by VisualStudio GUI by right click on my project On VisualStudio and Rename...Agace
not the solution, the project. did you rename the project from solution explorer?Debility

© 2022 - 2024 — McMap. All rights reserved.