Trying to make an application in the system tray show up in the active


  1. Posts : 3
    Win 10
       #1

    Trying to make an application in the system tray show up in the active


    I want to use GPO, Powershell, or registry to move an application that is hidden in the system tray to the active area. I know I can do this by clicking that option there but I'm trying to do this for 1000 machines. Is it possible for me to do this in a massive deployment?

    I'm trying to enable one of the apps to always show up in the system notification tray.
    Trying to make an application in the system tray show up in the active-image.png
      My Computer


  2. Posts : 43,022
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, here's a starter for 10...

    You'd have to extend this and add more to 'unhide' the particular icon:

    windows 10 - Hide some system tray icons uncollapsed - Super User

    The relevant registry key is (as you probably know)
    HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify

    - but as you will see that takes some interpretation.
      My Computers


  3. Posts : 3
    Win 10
    Thread Starter
       #3

    dalchina said:
    Hi, here's a starter for 10...

    You'd have to extend this and add more to 'unhide' the particular icon:

    windows 10 - Hide some system tray icons uncollapsed - Super User

    The relevant registry key is (as you probably know)
    HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify

    - but as you will see that takes some interpretation.
    That key seems so cryptic. I'm guessing it is going to be impossible for me to do this in a large scale.
      My Computer


  4. Posts : 43,022
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Thank you for your reply. Hence the need to use a script as in the link I posted.
    The first apparently produces a list of the processes in order.. so you would then need to pick out the one of interest and act accordingly.


    You can create an exe file from an AHK script in 1 click..

    Manipulating the Settings GUI directly isn't feasible, unless you know the icon in question is always the nth one.
      My Computers


  5. Posts : 3
    Win 10
    Thread Starter
       #5

    I've never used AHK before. Any threads or instructions you can shoot my way
      My Computer


  6. Posts : 43,022
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #6

    It's a very handy tool- I'm no expert, but you can use it to:
    - manipulate existing windows in quite complicated ways
    - modify/create hotkeys
    - create your own programs
    - create small scripts

    Convenient, in that that you can write one or two lines and test it straight away, plus compile the script.

    I found a more complete example that manipulates tray icons, which may give you enough to work with:

    how to hide a specific task tray icon - AutoHotkey Community

    Find say
    HideShowTrayIcon("OneDrive.exe")

    on that page and read the posts around there.

    Introduction
    Beginner Tutorial | AutoHotkey v1
    AutoHotkey Tutorial for Beginners - AutoHotkey Community

    Quick reference
    Quick Reference | AutoHotkey v2

    Reference documentation:
    Quick Reference | AutoHotkey v2

    - and there's a forum as you can see...
      My Computers


  7. Posts : 43,022
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #7
      My Computers


  8. Posts : 16,966
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #8
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:20.
Find Us




Windows 10 Forums