Annoyances.org
Home » Windows XP Discussion Forum » Message 1209199235 » Entire Thread Search | Help | Home
  
Correction of This Tip For XP, 2K, & NT, (maybe W9x, too)
Showing all messages in thread #1209199235
Windows XP Annoyances Discussion Forum


The following are all of the messages in this thread (6 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
Correction of This Tip For XP, 2K, & NT, (maybe W9x, too)
Saturday, April 26, 2008 at 1:40 am
Posted by GeoNOregon (5 messages posted)

Here's what happens if you do what this tip suggests: you break the connection between 
the Internet Shortcut and the icon info it needs. You end up with an Operating System, 
(OS), default icon.

Before you follow my instructions, back up your registry. I appended registry & Registry 
Editor info and how to backup your registry to the bottom of this thread at:
http://www.annoyances.org/exec/forum/winxp/1209192401

------------------------------------

If you want to change the icon used by your OS for Internet Shortcuts, here's how:

Open Registry Editor and find:
HKEY_CLASSES_ROOT\ InternetShortcut
In this Key you'll see several Sub-Keys, the two we're interested in are below with 
their default values listed below them and then an explanation:

HKEY_CLASSES_ROOT\InternetShortcut\DefaultIcon
		Name (Value)	Data (Value)
		Default		D:\system.win\icons\deskcut.ico

The default value above is pointing to the icon I use for my Internet Shortcuts. 
You'll find something a bit different in yours, probably a two segment piece of data 
like: 

"%SystemRoot%\System32\shell32.dll,23"

This piece of Value Data is a path and file pointer that designates a certain icon, 
(23), in a .dll file, (shell32.dll), in a Windows sub-directory folder, 

(%SystemRoot%\System32\, "%SystemRoot%" is an OS variable that equals the path of 
your Windows folder), that contains several icons. The second segment of the 

Value follows the comma and indicates the 23rd icon in the shell32.dll file.

IF you change this value to a path similar to the one I have, you will change the 
default icon for the .url file.  Internet shortcuts ARE a .url file. MS just chooses 
to make 

the file extension not shown by default, even if you choose 'Show File Extensions' 
in your folder options. If you click on the 'InternetShortcut' Key in the left window, 

you'll see a Value in the right window named 'NeverShowExt'.  This is the 'hidden' 
command that makes the extension never show. (If you make the value = 0, it may make 
the extension show. You might need to delete the value - can't remember & it takes 
a re-boot to test & I'm in the middle of posting this so I can't test it right now.)

HKEY_CLASSES_ROOT\InternetShortcut\shell\open\command
		Name (Value)	Data (Value)
		Default		rundll32.exe shdocvw.dll,OpenURL %l

The default value indirectly designates what program will open the Internet shortcut. 
The reason I say indirectly is this tells the OS to use the default web browser to 
open the shortcut. You have to look elsewhere to find a direct pointer to the application. 
 The easiest way to handle which browser opens an Internet Shortcut is to change 
the default browser to the browser of your choice.

Another tip: you'll find the 'DefaultIcon' Value in many places in the HKEY_CLASSES_ROOT 
key. Everywhere you find it, it does the same thing. It indicates the icon the OS 
should use for a particular file extension.  First look for the fiel extension, (ie 
'.url'), in the first part of the HKEY_CLASSES_ROOT Key, (it's alphabetical).  You 
will find in the file extension key, (ie '.url'), a value that tells the OS which 
Key in HKEY_CLASSES_ROOT to look for the DefaultIcon sub-key and value.  

The Key:
HKEY_CLASSES_ROOT\.URL
		Name (Value)	Data (Value)
		Default		InternetShortcut

Points the OS to:
HKEY_CLASSES_ROOT\ InternetShortcut

the OS  goes there and looks for the 'DefaultIcon' Sub-Key and the value it contains, 
(path and filename of the icon to use). 

You can modify any DefaultIcon sub-key you find or add one if it's not there.  As 
you become more familiar with the registry, you'll find you can add a new file extension 
by double-clicking on the file in Explorer and then choosing the program to "Always 
Use To Open" the new file type. Then come to the registry and change which icon the 
OS should use for it.

Happy customizing and BACKUP YOUR REGISTRY! 


[Reply or follow-up to this message]

Tip: Run a free scan for common Windows errors ad

What Tip???
Saturday, April 26, 2008 at 6:43 am
Posted by Ricer46 (22031 messages posted)

We're not clairvoyant.







On Saturday, April 26, 2008 at 1:40 am, GeoNOregon wrote:
>Here's what happens if you do what this tip suggests: you break the connection between
>the Internet Shortcut and the icon info it needs. You end up with an Operating System,
>(OS), default icon.
>
>Before you follow my instructions, back up your registry. I appended registry & Registry
>Editor info and how to backup your registry to the bottom of this thread at:
>http://www.annoyances.org/exec/forum/winxp/1209192401
>
>------------------------------------
>
>If you want to change the icon used by your OS for Internet Shortcuts, here's how:
>
>Open Registry Editor and find:
>HKEY_CLASSES_ROOT\ InternetShortcut
>In this Key you'll see several Sub-Keys, the two we're interested in are below with
>their default values listed below them and then an explanation:
>
>HKEY_CLASSES_ROOT\InternetShortcut\DefaultIcon
> Name (Value) Data (Value)
> Default D:\system.win\icons\deskcut.ico
>
>The default value above is pointing to the icon I use for my Internet Shortcuts.
>You'll find something a bit different in yours, probably a two segment piece of data
>like:
>
>"%SystemRoot%\System32\shell32.dll,23"
>
>This piece of Value Data is a path and file pointer that designates a certain icon,
>(23), in a .dll file, (shell32.dll), in a Windows sub-directory folder,
>
>(%SystemRoot%\System32\, "%SystemRoot%" is an OS variable that equals the path of
>your Windows folder), that contains several icons. The second segment of the
>
>Value follows the comma and indicates the 23rd icon in the shell32.dll file.
>
>IF you change this value to a path similar to the one I have, you will change the
>default icon for the .url file. Internet shortcuts ARE a .url file. MS just chooses
>to make
>
>the file extension not shown by default, even if you choose 'Show File Extensions'
>in your folder options. If you click on the 'InternetShortcut' Key in the left window,
>
>you'll see a Value in the right window named 'NeverShowExt'. This is the 'hidden'
>command that makes the extension never show. (If you make the value = 0, it may make
>the extension show. You might need to delete the value - can't remember & it takes
>a re-boot to test & I'm in the middle of posting this so I can't test it right now.)
>
>HKEY_CLASSES_ROOT\InternetShortcut\shell\open\command
> Name (Value) Data (Value)
> Default rundll32.exe shdocvw.dll,OpenURL %l
>
>The default value indirectly designates what program will open the Internet shortcut.
>The reason I say indirectly is this tells the OS to use the default web browser to
>open the shortcut. You have to look elsewhere to find a direct pointer to the application.
> The easiest way to handle which browser opens an Internet Shortcut is to change
>the default browser to the browser of your choice.
>
>Another tip: you'll find the 'DefaultIcon' Value in many places in the HKEY_CLASSES_ROOT
>key. Everywhere you find it, it does the same thing. It indicates the icon the OS
>should use for a particular file extension. First look for the fiel extension, (ie
>'.url'), in the first part of the HKEY_CLASSES_ROOT Key, (it's alphabetical). You
>will find in the file extension key, (ie '.url'), a value that tells the OS which
>Key in HKEY_CLASSES_ROOT to look for the DefaultIcon sub-key and value.
>
>The Key:
>HKEY_CLASSES_ROOT\.URL
> Name (Value) Data (Value)
> Default InternetShortcut
>
>Points the OS to:
>HKEY_CLASSES_ROOT\ InternetShortcut
>
>the OS goes there and looks for the 'DefaultIcon' Sub-Key and the value it contains,
>(path and filename of the icon to use).
>
>You can modify any DefaultIcon sub-key you find or add one if it's not there. As
>you become more familiar with the registry, you'll find you can add a new file extension
>by double-clicking on the file in Explorer and then choosing the program to "Always
>Use To Open" the new file type. Then come to the registry and change which icon the
>OS should use for it.
>
>Happy customizing and BACKUP YOUR REGISTRY!
>

[Reply or follow-up to this message]

re: What Tip???
Saturday, April 26, 2008 at 7:29 am
Posted by normanw (1107 messages posted)

Ah, but he IS; we just have to wait for the person with the 
question to post it . . . though perhaps it would be best not 
to hold one's breath in the meantime.

"The East Finchley Clairvoyant Society wishes to 
announce that next Saturday's meeting has been 
cancelled owing to unforeseen circumstances." -- London 
newspaper small ad circa 1930.






On Saturday, April 26, 2008 at 6:43 am, Ricer46 wrote:
>We're not clairvoyant.
>
>
>
>

[Reply or follow-up to this message]

re: What Tip???
Saturday, April 26, 2008 at 8:20 am
Posted by Ricer46 (22031 messages posted)

Got it
;)






On Saturday, April 26, 2008 at 7:29 am, normanw wrote:
>Ah, but he IS; we just have to wait for the person with the
>question to post it . . . though perhaps it would be best not
>to hold one's breath in the meantime.
>
>"The East Finchley Clairvoyant Society wishes to
>announce that next Saturday's meeting has been
>cancelled owing to unforeseen circumstances." -- London
>newspaper small ad circa 1930.
>
>
>

[Reply or follow-up to this message]

re: Correction of This Tip For XP, 2K, & NT, (maybe W9x, too)
Sunday, April 27, 2008 at 3:10 am
Posted by GeoNOregon (5 messages posted)

Boy, you guys may not be clairvoyant, but you'll certainly a sarcastic bunch ready 
to jump on somebody else -- jeessh...

Obviously, from the opening line of the 'reply' I posted, I was commenting on an 
inaccurate tip I ran across at:

http://annoyances.org/exec/show/article04-405.

It seems the forum software running Annoyance.org has an annoying habit of turning 
a reply into a new post, confusing the hell out of everybody...  (I have since noticed 
the software is 'in-house' developed. Who gets contacted re: this problem?)

When I was originally reading the thread & seeing people had gotten screwed up by 
following the instructions from the tip posted at:

http://annoyances.org/exec/show/article04-405

I noticed that a couple of people had also gotten jumped on regarding their reply, 
as if their reply was a new post.  So, when offering my correction I was careful 
to make sure it was a reply and not a new post, but it seems the forum has a mind 
of it's own -- damn annoying.

Here's the link to the original post, maybe one of you clever boys can figure out 
how to link them as I can't find an edit option..

http://annoyances.org/exec/show/article04-405

What troubles me is that when Googling ["Windows XP" Changing Internet Shortcut], 
a link to the original article is the number one response.

-----------------------

Normanw: I did get a chuckle out of your London newspaper quote...

[Reply or follow-up to this message]

restoring url shortcut icons / favicons
Sunday, August 31, 2008 at 2:19 pm
Posted by Jos K (1 messages posted)

Restoring the desktop/favorites icons/favicons has been a major headache for me - nothing seemed to work - it always defaulted to some dull system icon - and the extension '.url' showed, whatever registry change I tried (it did not even seem to matter whether or not the key 'NeverShowExt' was in the registry). I found the fix in a .reg file from mvp Doug Knox at www.dougknox.com/xp/file_assoc.htm. Solved it in seconds!

[Reply or follow-up to this message]

Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
Return to the Windows XP Discussion Forum


All content at Annoyances.org is Copyright © 1995-2009 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.