Create URL desktop shortcut with customized .ico

Comments

4 comments

  • Carol Phillips

    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.

    0
    Comment actions Permalink
  • Jennings Alice

    Ditto!

    0
    Comment actions Permalink
  • Michel

    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.

    0
    Comment actions Permalink
  • Stephen Valdinger

    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.

    0
    Comment actions Permalink

Please sign in to leave a comment.