Symptom,
I want to un-pin Edge from the taskbar, but it reappears when I log in or restart
Solution
1. Open File Explorer
2. Navigate to %userprofile%\AppData\Local\Microsoft\Windows\Shell
3. Edit LayoutModification.xml with notepad or other text editor
4. Delete the <taskbar:taskbar.pinlist entry for Edge
5. Save the LayoutModification.xml
If the AppData folder is not found when going to %userprofile%, please make sure "Hidden Items" is checked in Windows 11.
In Windows 11 this is found when opening a Windows folder and going to "View->-Show->Hidden items" and make sure it is checked as in the screenshot below.
Disclaimer
This information is intended for general information purposes only and to assist customers in understanding system functionality. It should not be construed as legal advice or opinion on any specific facts or circumstances. You are advised to consult your own compliance staff or attorney regarding your specific questions or situation to ensure your compliance with company policies & procedures, applicable laws, and regulations.