I'm still having an issue trying to unpin Server Manager from the taskbar. @Error and @Serror give: -2147352567 COM exception error "DoIt" ((null) - (null)) [-2147352567/80020009] using my kix script or Allen's UDF (no issues with vbscript).

Additionally, Windows prompts: Problem with Shortcut. The item 'ServerManager.msc' that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly. Do you want to delete this shortcut?

Clicking No results in no change. Clicking Yes deletes the shortcut in %AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar, but the icon pinned to the taskbar remains. Logging off and on changes the icon to a blank icon that doesn't work, but is still pinned.