Hello @Liang, Ming ,
Thank you for reaching out to.
Sometimes a simple reboot can clear up lingering graphical glitches or stuck processes in the Windows taskbar.
If a restart does not resolve the issue, and you still see the second icon appearing after the app runs overnight, this behavior usually happens because Windows thinks a new, distinct application is running.
To help me investigate further, could you please provide a few more details?
- Background Processes: Does your application launch any secondary processes overnight (such as a helper
.exe, an automatic background updater, or a crash-handler)? If so, Windows will display a separate taskbar button for that new process. - AppUserModelID: Are you explicitly assigning an
AppUserModelID(AUMID) to your application in your code? If no AUMID is set, Windows tries to group apps by their file path, and any slight change can cause it to create a new icon. - Task Manager: If you leave the Windows Task Manager open overnight, do you see a secondary instance or helper process running alongside your main application when the second icon appears in the morning?
Please let me know the results, and I will be happy to help you troubleshoot this further.
If you were able to resolve the issue during troubleshooting, I would greatly appreciate it if you could share your feedback by interacting with the system or leaving a comment.
Thank you.