Windows 10: Cannot remove Windows Defender Tray Icon Solved

Page 2 of 2 FirstFirst 12

  1. Posts : 3,371
    10 Home x64 (1703) (10 Pro on 2nd pc)
       21 Dec 2016 #11

    devoi said: View Post
    I've already tried deleting that registry entry. Every time I restart, the registry entry returns (I really do not know how it keeps putting itself back into the registry).
    So it does, I hadn't tried deleting it before (I like seeing the icon there). I'm guessing the Defender engine checks for that registry entry when it starts up and puts it back if its missing.

    You can make the icon disappear from the taskbar by using Task Manager to end the MSASCuiL.exe task, though it doesn't actually disappear until Explorer notices it's gone - it will vanish when you hover the mouse over it. Or just get Explorer.exe to do anything, even opening File Explorer will do it. Perhaps you could set up a scheduled task to end the MSASCuiL.exe task automatically shortly after you login?
      My ComputersSystem Spec

  2.    21 Dec 2016 #12

    Instead of deleting the registry entry , try adding -hide to the end

    "%ProgramFiles%\Windows Defender\MSASCui.exe" -hide -runkey
      My ComputerSystem Spec


  3. Posts : 3,371
    10 Home x64 (1703) (10 Pro on 2nd pc)
       21 Dec 2016 #13

    Wullail said: View Post
    Instead of deleting the registry entry , try adding -hide to the end
    "%ProgramFiles%\Windows Defender\MSASCui.exe" -hide -runkey
    Tested that. The registry entry is rewritten to remove ' -hide -runkey' when you restart.
      My ComputersSystem Spec

  4.    21 Dec 2016 #14

    If I manage to delete the entry before the program is supposed to start up, it won't start. Is there a way to automatically delete the key whenever windows starts? Or, could I possibly make it so that key can only be written to by me?
      My ComputerSystem Spec

  5.    21 Dec 2016 #15

    I managed to fix it. If you change the Run key's owner to yourself and remove all other group permissions, the entry can't be written, and it won't launch on reboot. Thanks, everyone.
      My ComputerSystem Spec


  6. Posts : 3,371
    10 Home x64 (1703) (10 Pro on 2nd pc)
       22 Dec 2016 #16

    devoi said: View Post
    I managed to fix it. If you change the Run key's owner to yourself and remove all other group permissions, the entry can't be written, and it won't launch on reboot. Thanks, everyone.
    That may have unforeseen consequences for the system, especially if anything else needs to add an entry to the Run key later on.

    As I said, killing the UI task makes the icon disappear. A much safer approach would to be to leave the ownership and permissions of the Run key as it should be - you just have kill the task at start-up. You can do this for your user account by putting a .bat file in the folder:
    C:\Users\<your_username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
    containing the command:
    taskkill /im MSASCuiL.exe

    For all users you could put it in:
    C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

    I've tested this, the Defender icon briefly appears then vanishes again. Put the Run key back as it was before the system breaks

    Actually, there's an easier way to remove the icon for all users, just disable 'Windows Defender notification Icon' in Task Manager's Start-up tab. Apparently you may not see it there. I do, but then I also see it in CCleaner. You said...
    devoi said: View Post
    ...not existing on my CCleaner startup tab, the "Windows Defender notification Icon"...
    Maybe this is am unintended side effect of other registry changes you tried before posting here?
    Last edited by Bree; 22 Dec 2016 at 08:22. Reason: added 'Task Manager'
      My ComputersSystem Spec

  7.    16 Mar 2017 #17

    Finally a SAFE solution that really works!


    Bree said: View Post
    That may have unforeseen consequences for the system, especially if anything else needs to add an entry to the Run key later on.

    As I said, killing the UI task makes the icon disappear. A much safer approach would to be to leave the ownership and permissions of the Run key as it should be - you just have kill the task at start-up. You can do this for your user account by putting a .bat file in the folder:
    C:\Users\<your_username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
    containing the command:
    taskkill /im MSASCuiL.exe


    For all users you could put it in:
    C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

    I've tested this, the Defender icon briefly appears then vanishes again. Put the Run key back as it was before the system breaks

    Actually, there's an easier way to remove the icon for all users, just disable 'Windows Defender notification Icon' in Task Manager's Start-up tab. Apparently you may not see it there. I do, but then I also see it in CCleaner. You said...

    Maybe this is am unintended side effect of other registry changes you tried before posting here?
    Genius, thank you!
    Last edited by Macadamia2017; 16 Mar 2017 at 09:00.
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
Windows Defender takes ~10 seconds to open from system tray icon in AntiVirus, Firewalls and System Security
I've noticed that when my computer first boots up, Windows Defender opens almost immediately when I double-click the system tray icon, but after opening it the first time, subsequent attempts take ~10 seconds after double-clicking the icon. Any...
Does someone knows a way to hide it for good? Not disabling it, because that could cause some trouble, just that doesn't show in the tray? A .reg file would be awesome. I want this for 2 reasons: First, I don't use it, I use USB Disk Ejector; and...
....no drives listed in Hardware List. When I plug USB drives in, the Safely Remove Hardware icon does not appear in in system tray (its not hidden either) First, I went to Settings > Personalization > Taskbar > Select which Icons Appear on...
Defender Icon in Start Menu, How do I remove it? in AntiVirus, Firewalls and System Security
With the Anniversary update came an improved Defender Antivirus, This is good! But I am trying to remove unnecessary icons from my start menu, and I can find no option to turn this one off? Anyone know of a tweak that can do this please?:(
It has been a week or so after I updated Windows 10 on my Dell E4300 to the Anniversary edition. It has not been a smooth update, many DCOM errors mainly to permission problems and apparently from system user accounts being changed after the update,...
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 02:04.
Find Us