I have a script that pushes various icons for executables to our employees' desktops. Normally I change the icon of the shortcut to the path of an icon that everyone has access to. This works fine.
Now, I am trying to add an Internet Shortcut but the icon remains blank. When I try to change the icon on the server, it changes but the path of the icon will return to the default Windows path (%systemroot%\system32\SHELL32.dll).
Why won't it keep the icon?
Working icons... Script says...
AddIcon "\\server\Shortcuts\", "Shortcut.lnk", ""
I right-click the shortcut and Change Icon to \\server\Shortcuts\ShortcutIcon.ico
The one I'm having problems with...
AddIcon "\\server\Shortcuts\", "URLShortcut.url", ""
I right-click the URL and Change Icon and it always returns to %systemroot%\system32\SHELL32.dll)