Create URL desktop shortcut with customized .ico
I want to use PDQ Deploy to push a desktop shortcut to an internal site on all users PC's. The URL and .ico are two separate files. Problem is every time the shortcut is made, it reverts to the generic .ico. How do we get this to keep the new .ico?
3
Comments
I am wanting to do the same thing for our school's help desk ticketing system. I want our school mascot for the .ico and the url for the helpdesk to the shortcut. I think I have part of it down but I can't seem to get the icon to stick.
Ditto!
Why not use a Powershell script for this that you can deploy?
Something like:
$WshShell = New-Object -comObject WScript.Shell
$Shortcut = $WshShell.CreateShortcut("%USERPROFILE%\Desktop\Shortcut.lnk")
$Shortcut.TargetPath = "http://helpdesk/"
$Shortcut.IconLocation="C:\helpdeskicon.ico"
$Shortcut.Save()
Haven't tested it, but that should work I guess.
I just tested this. Works as advertised, with some minor tweaking. We use Folder Redirection and the Desktop gets redirected to our users' Home Directories. Modified the above to reflect that new location, and had a successful result.