How to create a desktop shortcut to shutdown taskbar overflow apps

Page 1 of 2 12 LastLast

  1. Posts : 114
    Windows 10 Pro
       #1

    How to create a desktop shortcut to shutdown taskbar overflow apps


    I have 2 shortcuts on my desktop 1 to reboot and 1 to shut down the PC.
    In the bottom right corner, on the taskbar, clicking on the taskbar overflow will show you things like the antivirus, windows security etc. I was wondering if I can create a shortcut, like my reboot/shutdown, whereby I can shut down some of these background applications, hence all, of my choice, with 1 double click?
    I'm referring to the apps shown on the attached image.
    Attached Thumbnails Attached Thumbnails How to create a desktop shortcut to shutdown taskbar overflow apps-taskbar.jpg  
      My Computer


  2. Posts : 1,191
    Windows 10
       #2

    taskkill in a bat file.
    https://learn.microsoft.com/en-us/wi...mands/taskkill

    Example to kill notepad, just append what ever your apps are called
    taskkill /IM notepad.exe
      My Computer


  3. Posts : 114
    Windows 10 Pro
    Thread Starter
       #3

    Malneb said:
    taskkill in a bat file.
    https://learn.microsoft.com/en-us/wi...mands/taskkill

    Example to kill notepad, just append what ever your apps are called
    taskkill /IM notepad.exe
    Thank you so much
    When I created my other 2 shortcuts I did something similar but basically cut and pasted what someone in this forum had already done.
    Before I go on, Would this require a different shortcut for each program? Because what I am hoping to do is actually have 1 shortcut that will do all of them at the same time. Something like this (assuming it would work):
    taskkill /IM skype.exe
    taskkill /IM steam.exe
    taskkill /IM expressvpn.exe
    taskkill /IM TurboLAN.exe
    taskkill /IM sandboxie.exe
    taskkill /IM nvidia.exe
    taskkill /IM activedesktopcalendar.exe
    taskkill /IM windscribe.exe
    Would this work?
      My Computer


  4. Posts : 1,191
    Windows 10
       #4

    taskkill /IM skype.exe & taskkill /IM steam.exe & taskkill /IM expressvpn.exe etc

    Just keep adding & symbol between the commands. There is more elegant ways to do it but that should work.
      My Computer


  5. Posts : 6,378
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #5

    Create a shutdown_taskbar.txt
    Open it and paste the individual codes
    Code:
    taskkill /IM skype.exe
    taskkill /IM steam.exe
    taskkill /IM expressvpn.exe
    taskkill /IM TurboLAN.exe
    taskkill /IM sandboxie.exe
    taskkill /IM nvidia.exe
    taskkill /IM activedesktopcalendar.exe
    taskkill /IM windscribe.exe
    Save and rename as shutdown_taskbar.cmd
      My Computers


  6. Posts : 114
    Windows 10 Pro
    Thread Starter
       #6

    @Megahertz and @Malneb thank you both for your help and sorry for taking so long to reply. I'm in China now and the VPN hasn't been working well.
    Anyhow, sad to say but I did it both ways: 1 below the other and 1 next to each other with "&" and neither works. Elsewhere I read it should not be placed in the desktop but in the 'windows/system32' folder (with a shortcut on the desktop) but that did not work either. :-(
    I looked carefully to see if the file names are correct and they are. I even added other files from within those folders just in case it needed those as well but that too did not work.
    in total the original files and the new ones, are these:
    taskkill /IM skype.exe
    taskkill /IM steam.exe
    taskkill /IM streaming_client.exe
    taskkill /IM GameOverlayUI.exe
    taskkill /IM ExpressVPN.exe
    taskkill /IM cfosspeed.exe
    taskkill /IM spd.exe
    taskkill /IM SandMan.exe
    taskkill /IM Start.exe
    taskkill /IM NVIDIA GeForce Experience.exe
    taskkill /IM GeForce Experience Permission.exe
    taskkill /IM NVIDIA Notification.exe
    taskkill /IM NVIDIA Share.exe
    taskkill /IM adc.exe
    taskkill /IM Windscribe.exe
    taskkill /IM WeChat.exe

    ---BTW-- the link says such a command is for Windows Server 2022 and other Servers. Mine is not a server. It is an ordinary home desktop (Win 10 Pro)
      My Computer


  7. Posts : 16,956
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #7

    pintree3 said:
    ---BTW-- the link says such a command is for Windows Server 2022 and other Servers. Mine is not a server. It is an ordinary home desktop (Win 10 Pro)
    Before trying to run them all together, run then one at a time so you can see any error message from each command.

    MS publishes info on its commands in Windows Server webpages. The Windows 10 version of a command may or may not be the same as the Server version.
    The way to see the Windows 10 Help file for this & for most commands is in this form & you can put this in a cmd prompt then press return:
    Code:
    taskkill /?
    or, if you want to save it to a text file then use a path to a real folder in you computer within this form of the cmd
    Code:
    taskkill /? >F:\CmdsList\TaskKill.txt

    I'm helping but I think the task is pointless. I cannot see any benefit from succeeding.


    Denis
      My Computer


  8. Posts : 114
    Windows 10 Pro
    Thread Starter
       #8

    thanks Try3 I will give it a shot.
    Why do I want this? It seems to be a faster way to shut down or reboot the computer, since, often enough, those tasks seems to slow down such an action. So, if it works I double-click on that then double click my shut-down/reboot icon and voila.

    - - - Updated - - -

    Hm I was certain to have replied here but I don't see it. Anyhow what I wanted to add was this:
    I ran them one at a time and none of them worked (except for cfosspeed.exe which is TurboLAN). Also I saw no error messages, or more precisely a window pops open and closes in a flash of a second when running individually so nothing can be viewed. I did do the "taskkill /?" and understand it and not. As to the taskkill /? >F:\CmdsList\TaskKill.txt I get an error message or "access is denied. I tried it this way: taskkill /? >C:\TaskKill.txt
      My Computer


  9. Posts : 16,956
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #9

    Don't test them in shortcuts. You'll have trouble seeing the responses.
    Test them in a cmd prompt window so the responses are visible [and can be selected, copied & saved in text files for later study].

    "As to the taskkill /? >F:\CmdsList\TaskKill.txt I get an error message or "access is denied. I tried it this way: taskkill /? >C:\TaskKill.txt"
    Never try to create any file in the root of your OS drive. That folder is subject to special protection by windows. You cannot create any files there.

    Best of luck,
    Denis
      My Computer


  10. Posts : 114
    Windows 10 Pro
    Thread Starter
       #10

    @Try3 Thank you so much.
    I will separate the results into groups
    The following 2 worked
    taskkill /IM Windscribe.exe
    >taskkill /IM adc.exe

    The next 4 all showed "Success" but they were NOT successful at all since all 4 were still on and readily available for use
    C:\Users\pintr>taskkill /IM steam.exe
    SUCCESS: Sent termination signal to the process "steam.exe" with PID 22272.
    C:\Users\pintr>taskkill /IM cfosspeed.exe
    SUCCESS: Sent termination signal to the process "cfosspeed.exe" with PID 15304.
    C:\Users\pintr>taskkill /IM ExpressVPN.exe
    SUCCESS: Sent termination signal to the process "ExpressVPN.exe" with PID 8172.
    C:\Users\pintr>taskkill /IM WeChat.exe
    SUCCESS: Sent termination signal to the process "WeChat.exe" with PID 7392.

    The 5 below do exist so why does it say "not found"?
    C:\Users\pintr>taskkill /IM Start.exe
    ERROR: The process "Start.exe" not found.
    taskkill /IM streaming_client.exe
    ERROR: The process "streaming_client.exe" not found.
    >taskkill /IM GameOverlayUI.exe
    ERROR: The process "GameOverlayUI.exe" not found.
    taskkill /IM DingtalkLauncher.exe
    ERROR: The process "DingtalkLauncher.exe" not found.

    and finally these with ERROR messages:
    C:\Users\pintr>taskkill /IM NVIDIA Share.exe
    ERROR: Invalid argument/option - 'Share.exe'.
    Type "TASKKILL /?" for usage.

    C:\Users\pintr>taskkill /IM NVIDIA Notification.exe
    ERROR: Invalid argument/option - 'Notification.exe'.
    Type "TASKKILL /?" for usage.

    C:\Users\pintr>taskkill /IM GeForce Experience Permission.exe
    ERROR: Invalid argument/option - 'Experience'.
    Type "TASKKILL /?" for usage.

    C:\Users\pintr>taskkill /IM skype.exe
    SUCCESS: Sent termination signal to the process "Skype.exe" with PID 22212.
    SUCCESS: Sent termination signal to the process "Skype.exe" with PID 22256.
    SUCCESS: Sent termination signal to the process "Skype.exe" with PID 22396.
    ERROR: The process "Skype.exe" with PID 22436 could not be terminated.
    Reason: This process can only be terminated forcefully (with /F option).
    SUCCESS: Sent termination signal to the process "Skype.exe" with PID 16320.
    ERROR: The process "Skype.exe" with PID 20908 could not be terminated.
    Reason: This process can only be terminated forcefully (with /F option).
      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 17:16.
Find Us




Windows 10 Forums