Hello
I managed to successfully remove the pinned store, edge and mail icons in taskbar but having trouble removing the file explorer icon.
I want to be able to log in to Windows and not see the Explorer icon.
The powershell script i am using is..
function UnPinFromTaskbar { param( [string]$appname )
Try {
((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -eq $appname}).Verbs() | ?{$_.Name -like "Ta bort fr*" -OR $_.Name -like "Unpin from*"} | %{$_.DoIt()}
} Catch {$a="b"}
} #UnPinFromTaskbar
UnPinFromTaskbar "Mail"
UnPinFromTaskbar "Microsoft Store"
UnPinFromTaskbar "Microsoft Edge"
I managed to successfully remove the pinned store, edge and mail icons in taskbar but having trouble removing the file explorer icon.
I want to be able to log in to Windows and not see the Explorer icon.
The powershell script i am using is..
function UnPinFromTaskbar { param( [string]$appname )
Try {
((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -eq $appname}).Verbs() | ?{$_.Name -like "Ta bort fr*" -OR $_.Name -like "Unpin from*"} | %{$_.DoIt()}
} Catch {$a="b"}
} #UnPinFromTaskbar
UnPinFromTaskbar "Mail"
UnPinFromTaskbar "Microsoft Store"
UnPinFromTaskbar "Microsoft Edge"