[Windows 11] Hide/Remove WSL Linux icon from Desktop

After installing WSL/Ubuntu 22.04 from the Microsoft Store on Windows 11, a Linux icon was added to the Desktop which could not be removed the usual way.

After reading the following site I found a solution.

TweakNow – RegTweakHideDesktopIcons

I added the CLSID for the Linux icon {B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6} to the HideDesktopIcons\NewStartPanel section of Explorer at HKEY_CURRENT_USER. (See Registry file below)

Then rebooted the system after adding the registry entry (shown below).

After reboot the Linux icon was not present anymore on the desktop. Problem solved.

A. Download the Registry File: HideLinuxFromDesktop.reg
B. Save and the following snippet to a .reg file and import it into the Registry Editor:

Windows Registry Editor Version 5.00


Please read the following disclaimer before making changes to your device / software:


* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.




  1. user says:

    it works like magic

  2. tebenox says:

    you are a legend

  3. Yassin Malih Gumaa says:

    Thanks a lot

  4. Julian says:

    That fixed it, thank you. I don’t understand why Microsoft can’t fix shit like this. It’s so fucking annoying. I updated WSL and suddenly this stupid icon appears and does nothing… what a load of complete shit. You deserve a medal for fixing it! Although I think you just hid it… but that’s good enough for me.

  5. Ivan says:

    Please don’t do this. Do “wsl.exe –uninstall” instead. If you need wsl then enable it in optional components and reinstall it.

    • BrainB0ne says:

      If you don’t need WSL, that works because it completely uninstalls WSL, but that’s not what I wanted.

      Enabling WSL caused the icon to appear on a particular PC. Therefore this hide icon workaround works fine for me (and others).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.