Hello Mart,

I have a little problem your UDF.
The function is implemented in a login script.
When running the script on a PC with Windows 7 and the destination is the desktop, the icon will appear on the desktop.
After changing the destination to the path of the taskbar, the shortcut is created in the destination path, but will not be shown in the task bar.
The user running the script is admin on the local PC.

Can You give a hint, please, what mayby wrong?

Kind Regards,
Wolfgang