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?
-
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.
Please sign in to leave a comment.
Comments
4 comments