Solution: Taskbar i...
 
Notifications
Clear all

We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

Solution: Taskbar icon appearing after Explorer restart – use Startup folder instead of Run key

2 Posts
2 Users
1 Reactions
217 Views
(@ayhan)
New Member Registered
Joined: 4 weeks ago
Posts: 1
Topic starter  

Problem: When deploying DesktopInfo via Microsoft Intune as a Win32 app, the taskbar icon appears after every Explorer restart and cannot be dismissed. Closing it also kills the desktop overlay.

Root cause: The HKLM Run key (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run) is executed not only on login but also after every Explorer restart. This causes DesktopInfo to restart, and during that restart the notrayicon=1 setting has a race condition with the window registration, resulting in a permanent taskbar icon.

Solution: Instead of using the Run key, place a shortcut in the All-Users startup folder:

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\

Shortcut settings:

  • Target: C:\Program Files\sph_deskinfo\DesktopInfo.exe
  • Arguments: /ini="C:\Program Files\sph_deskinfo\desktopinfo.ini" /silent

The startup folder only executes once at login — not on Explorer restarts. DesktopInfo stays running as a process after Explorer restarts without re-registering its window, so no taskbar icon appears.

Tested on Windows 11 with DesktopInfo v3.21.0 (64-bit), deployed via Intune Win32 app in SYSTEM context.

Hope this helps others with the same issue.


   
Glenn reacted
Quote
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 1903
 

Thanks for the info.  I just learnt a thing.


   
ReplyQuote
Glenn's Page