Forum Discussion
srabago
Aug 24, 2023Tin Contributor
'Work - Edge' Desktop Shortcut Reappears after deleting and reopening Edge Browser
End user removes the spam Desktop shortcut labeled 'Work - Edge': Once they reopen the Edge browser, the app shortcut reappears.
- Aug 29, 2023
Hi Everyone - The fix for this was released to Microsoft Edge Beta Version 117.0.2045.12. If you have access to the Beta Channel, please test and let us know if the issue has been resolved.
The fix should also be included in the next Stable release, which should be later this week if there are no delays. Thanks!
-Kelly
DubDubDan
Oct 03, 2023Tin Contributor
Has anyone got an overall fix for this issue without blocking *.lnk files from being uploaded to OneDrive or having a script clear up the duplicates? Our users have the latest version of Edge installed, but this is still causing significant issues.
arnevh
Oct 03, 2023Tin Contributor
You can make a script that deletes the edge work ink files (except for 1) and deploy it using remediations. (Endpoint manager > Devices > remidiations. That way you can also track how many device are affected and if the trend is going downward or not. If Microsoft releases a statement or the the script doesnt show anything as "fixed" within a few weeks, you can disable it. For now, this seems to work in our environment.
- Shredwerd009Oct 03, 2023Tin Contributorwe created a PS script and users can run it via a deployed task sequence in software center on their own. I'm actually about to have it run every so often automatically since this doesn't seem to be getting fixed anytime soon.
- David256Oct 03, 2023Copper Contributor
Would you be able to share that script? Having the same issue with a user.
- JASONPEELOct 04, 2023Tin Contributor
This is what we're using. It does not work in ps7 but can easily be modified to work in it. We've seen Chrome and Teams duplicates in the past, so also check for those. We then just packaged it with the intune w32 app wrapper and made it available to our users so they can run it in company portal. But can easily be done the same for sccm.
So it basically just finds the users desktop path. Gets all items on the desktop that are like *Edge*.lnk, *Chrome*.lnk and *Teams*.lnk and if theres more than 1 of each, deletes them.
$DesktopPath = [Environment]::GetFolderPath("Desktop")
$BadEdgeLnks = Get-ChildItem $DesktopPath | Where-Object {$_.Name -like "*Edge*.lnk"}
if ($BadEdgeLnks.Count -gt "1") {
foreach ($BadLnk in $BadEdgeLnks) {
Write-Host "Removing "$DesktopPath\$Badlnk""
Remove-Item "$DesktopPath\$Badlnk" -Force
}
}
$BadChromeLnks = Get-ChildItem $DesktopPath | Where-Object {$_.Name -like "*Chrome*.lnk"}
if ($BadChromeLnks.Count -gt "1") {
foreach ($BadChromeLnk in $BadChromeLnks) {
Write-Host "Removing "$DesktopPath\$BadChromeLnk""
Remove-Item "$DesktopPath\$BadChromeLnk" -Force
}
}
$BadTeamsLnks = Get-ChildItem $DesktopPath | Where-Object {$_.Name -like "*Teams*.lnk"}
if ($BadTeamsLnks.Count -gt "1") {
foreach ($BadTeamsLnk in $BadTeamsLnks) {
Write-Host "Removing "$DesktopPath\$BadTeamsLnk""
Remove-Item "$DesktopPath\$BadTeamsLnk" -Force
}
}