Specify Flavicon ICON in URL

This may seem more troubl than it's worth but....   I have upgraded a suite of educational applications on our network used on about 5000 computers - it was a server/client setup but now the client part is web based.  After installing it I attempted to create shortcuts for our students using the old program ICON - as soon you clicked once, the shortcut ICON changed.  I called the company who was of no help telling me I would have to call Microsoft.  After searching and reading I came to understand the issue is that the web content uses a generic FLAViCON Icon for the web pages.  Since this is a suite of programs that previously all had separate ICONs, I don't want to just change the FLAVICON on the server - The math page ICON should be different from the READING, which is different from the teacher utility, etc.  So, if I place different ICON files in the appropriate location on the server can I speciy in the URL of my shortcuts which to use for each application?  If so, how?
thull6321Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jfromanskiCommented:
Do yoy mean FAVICON, a small icon that appears left of url in addres box of page? if yes then add

  <link rel="icon" href="iconname.ico" type="image/x-icon">
  <link rel="shortcut icon" href="iconname.ico" type="image/x-icon">

to the <HEAD> sections of ypur pages.
thull6321Author Commented:
Yes - I mean FAVICON - I realized my error too late and am looking for an edit, but so far......  

Anyway - I think that dispite your finding my typo, you have missed the point - it's not my pages - I can't edit the program/web content of a publishers work.    I'm trying to give our students and teachers different ICONs for each program but because of the way the company wrote the web interface, all the different web clients refer to the same generic FAVICON.  While I cannot edit their code, I can drop a few small files in the program directory  - - can I make my desktop shortcut to the URL always refer to that ICON, though?  
jfromanskiCommented:
Once you have a shortcut on the desktop, you can always change it's icon (right click, properties/ change icon button). Unfortunately you can't use http://website/icon.ico there, it must be a local image or from network share.
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

thull6321Author Commented:
Thanks - but that is the issue - I change the icon and as soon as I click the shortcut and launch the web interface, my shortcut ICON changes to the FAVICON icon referred to in their HTML code.  

Perhaps I am missing something in the way I'm selecting the local image?  It's complicated by the fact I have  I get this to 5000 computers - my plan was to use Symantec Ghost console to copy the shortcut to the All Users profile - desktop.  So, any help on how to assign that ICON and force it to stay when deplyoing it in this manner?
ziad270Commented:
According to what i read you want to create a shortcut on the computers running windows and set for each shortcut a specific Icon (which is not the website favicon)

But as jfromanski said...your icon must be available locally. Is it possible or no ?
If so..and if the icon still change, maybe you should put your .url as readonly ?




[InternetShortcut]
URL=http://mywebsite/etcetcetc
IDList=
HotKey=0
IconFile==\\server\myshare\myicon.ico
thull6321Author Commented:
OK - that looks like an entry in an ini file or something like that.  How/where do I put these lines and how would I do that massely on about 5000 computers?  (The icon is available locally - part of my ghost task copied the icon to the appropriate location and I have checked that part is successful.)

I found the following VBS script and a few different variations and have been trying to deploy that via a ghost task but am not successful and what errors is dependent on changes I make the the script.  

For example, In this version -  when running it manually I get the shortcut, but it is copied only for the logged in user - not in the All Users desktop where I need it.  When trying it via a ghost task nothing seems to happen - no errors, no shortcut, nothing.....

Set objShell = WScript.CreateObject("WScript.Shell")
strDesktopFld = objShell.SpecialFolders("Desktop")
Set objURLShortcut = objShell.CreateShortcut(strDesktopFld & "\FASTT Math.lnk")
' Name for Shortcut to add
objURLShortcut.TargetPath = "http://pikeread180.pike.k12.in.us:55880/slms-static/s_app_fm/index.html#
' Path to icon
objURLShortcut.IconLocation = "C:\Program Files\Scholastic Enterprise\Fastt Math\FM.ICO"
' Path for shortcut
objURLShortcut.Save

This version resulted in an error message - "Object doesn't support this property or method 'objURLShortcut.IconLocation'

Set objShell = WScript.CreateObject("WScript.Shell")
strDesktopFld = objShell.SpecialFolders("Desktop")
Set objURLShortcut = objShell.CreateShortcut(strDesktopFld & "\FasttMath.lnk")
objURLShortcut.TargetPath = "http://pikeread180.pike.k12.in.us:55880/slms-static/s_app_fm/index.html#
objURLShortcut.IconLocation " C:\Program Files\Scholastic Enterprise\Fastt Math\FM.ICO "
objURLShortcut.Save


Since the first script is successful when run manually I am inclined to stick with it tweaking what I need to get it to do exactly what I need, if possible.

Can anyone answer this?
1. Other than the extra commented lines that describe what some of the lines do, what is different in the two scripts?  The actual action lines look exactly the same to me.
2. What do I need to edit to have this copy the shortcut into All Users desktop instead of the current user's desktop?
3. Do you have any clue how to get this to apply correctly via Ghost?

ziad270Commented:
1- Same script for what i see.
2- strDesktopFld = objShell.SpecialFolders(AllUsersDesktop
(see : http://msdn.microsoft.com/en-us/library/0ea7b5xe(v=vs.85).aspx  )
In a bat file :  %ALLUSERSPROFILE%\Desktop
3- via Ghost ?  dont know but what about using a logon Script ?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Miscellaneous

From novice to tech pro — start learning today.