The How-To Geek Forums Have Migrated to Discourse


How-To Geek Forums / Windows 7

Desktop Shortcut icon has changed

(40 posts)
  • Started 5 years ago by pepcyg
  • Latest reply from Lighthouse
  • Topic Viewed 2120 times

pepcyg
Posts: 94

For some inexplicable reason my desktop shortcut icon for the 'Command Prompt' has changed. It had been the default
black icon - now it is the usual shortcut icon. I have tried changing it back via its properties - but - it will not change on
the desktop. I have also 'refreshed' the desktop to no avail.
The 'Command Prompt' is not listed under 'Accessories' on the start>all programs menu (isn't it suppose to be there?) so I cannot re-create the shortcut.
How can I get the default 'Command Prompt' desktop shortcut back? Would a System Restore do it? Also where would I find the "Command Prompt" (it isn't listed under either :'Accessories' or 'Administrative')??
I realize this is just a minor inconvenience as opposed to a major problem - but - I use the 'Command Prompt' a lot.
Thank you for all your help.

Posted 5 years ago
Top
 
Xhi
Posts: 6298

What happens when you type cmd in the start menu?

Posted 5 years ago
Top
 
raphoenix
Posts: 14920

Should be in System32 folder.

%windir%\system32\cmd.exe

Make sure to remake Shortcuts to Run as Administrator.

Rick P.

Posted 5 years ago
Top
 
SarahJames
Posts: 6581

It looks like your iconcache has been corrupted.
That is quite easy to fix :)

You'll have to delete the hidden file IconCache.db.
In Vista it is located at C:\Users\*username*\AppData\Local\IconCache.db - I think it is the same in 7.
To see hidden files go to the 'Organize' button in explorer > Folder and Search Options > View > Show Hidden Files And Folders.

The second thing you can do is empty the thumbnail cache. To do that run cleanmgr.exe (Disk Cleanup in the startmenu) and make sure 'Thumbnails' is ticked.

Posted 5 years ago
Top
 
pepcyg
Posts: 94

What do I do after I delete the 'hidden file IconCache.db'?
Thank you for your prompt reply.

Posted 5 years ago
Top
 
SarahJames
Posts: 6581

After a reboot windows will create a new iconcache and then icons will show up as they are supposed to.

Posted 5 years ago
Top
 
pepcyg
Posts: 94

I tried all of the above suggestions to no avail. When I type 'cmd' the command prompt comes up as usual. I am still
unable to change the ;shortcut icons even with administrative rights, There was no change when i deleted the 'hidden file
IconCache and re-booted -- or - when I emptied the thumbnails.

Any other ideas, please??????? Now, most of the icons are affected.

Posted 5 years ago
Top
 
GuiltySpark
Posts: 4024

Run Full AV and Anti-spyware scans just incase you have an infection.

Posted 5 years ago
Top
 
Xhi
Posts: 6298

If I type in cmd in start, cmd.exe comes up. I right click drag it to the desktop release and select shortcut it makes a shortcut with the appropriate black C:\_ icon.

Posted 5 years ago
Top
 
Lighthouse
Posts: 13598

Try the ICO fix from here,
http://www.winhelponline.com/b.....windows-7/

Posted 5 years ago
Top
 
pepcyg
Posts: 94

The ICO fix did not do anything, I am running a full Malware scan now. Would doing a System Restore to an earlier date
do any good?

More ideas please.

Posted 5 years ago
Top
 
raphoenix
Posts: 14920

If you are running as Build-in Administrator Account and have no malware in the system, then something is really wrong if you can't make short cuts so a Restore to an Earlier Time is order.

Rick P.

Posted 5 years ago
Top
 
Lighthouse
Posts: 13598

Go back to a Restore point if you can. If that doesn't work, I have another idea.

Posted 5 years ago
Top
 
pepcyg
Posts: 94

I tried two different Restore points and got a '0x80070005' with both (I disabled my AV for the second one). What is your
other idea?? Thank you.

Posted 5 years ago
Top
 
pepcyg
Posts: 94

I have also ran 'chkdsk' and 'sfc /scannow'. They did not find any problems, It seems that my icons are there but under
the shortcut icon (not the arrow) - it is a white square with tiny multi-colored sqare dots and a black top banner. Does this
suggest any other ideas?
Thank you for your help.

Posted 5 years ago
Top
 
ElmerBeFuddled
Posts: 127

That suggests your icons are corrupted. Its the default "I don't know what it is either" icon.

Re-do your icon cache clearing, immediately followed by the thumbs deletion, immediately followed by a reboot.

Lets rule out the icon corruption .

Posted 5 years ago
Top
 
germ-x
Posts: 5310

When you go to All Programs\ Accessories do you see your command prompt?
Is the COMMAND.COM file located in your C"\windows\system32 folder?
If the file is there and if you dbl click on it and the command prompt window opens up then you need to copy new shortcuts.
First you need to delete your existing desktop shortcut icon.
The one that shows up in your accessories folder is located in the folder below
C:\Users\your account\AppData\Roaming\Microsoft\Windows\Start Menu\Programs

Posted 5 years ago
Top
 
pepcyg
Posts: 94

I redid the icon cache cleaning and the thumbnail deletion to no avail. I do not have 'command prompt' in All Programs\Accessories. There is no COMMAND>COM in the C\windows\system32 folder. What should I do now???
Thank you for your help.

Posted 5 years ago
Top
 
Xhi
Posts: 6298

In windows 7 it is named cmd.exe and it is on C:\windows\system32.

Did you try what I pointed out above?

If I type in cmd in start, cmd.exe comes up. I right click drag it to the desktop release and select shortcut it makes a shortcut with the appropriate black C:\_ icon.

Posted 5 years ago
Top
 
Lighthouse
Posts: 13598

Look here,
C:\Windows\System32\cmd.exe
Right click on it and select Run as Administrator

Also try the LNK, and the EXE fix, from here,
http://www.winhelponline.com/b.....windows-7/

Posted 5 years ago
Top
 
germ-x
Posts: 5310

look in
C:\Windows\winsxs\x86_microsoft-windows-ntvdm-system32_31bf3856ad364e35_6.1.7601.17514_none_0014e305d0cff0a7
The COMMAND.COM file is located in that folder copy it to your C:\windows\system32 folder. Once this file is back you should be able to create a shortcut and the icon should be correct

Posted 5 years ago
Top
 
raphoenix
Posts: 14920

Go back to Sarah James solution but DO it this way.

=============================================

Once inside, delete IconCache.db

Create Notepad file IconCache and save. Then change .txt extension to .db

Set it to Read Only attribute in Properties (if the file is not read only, the cache won’t be reset).

Reboot.

Remove the Read Only attribute of IconCache.db file and count to 10.

Reboot.

What happens now ??

Rick P.

Posted 5 years ago
Top
 
germ-x
Posts: 5310

@Rick,
The OP either had a typo error or he cannot find the command.com file
"I redid the icon cache cleaning and the thumbnail deletion to no avail. I do not have 'command prompt' in All Programs\Accessories. There is no COMMAND>COM in the C\windows\system32 folder."

Posted 5 years ago
Top
 
raphoenix
Posts: 14920

There is NO Command.com in Win7.

There is Cmd.exe

Rick P.

Posted 5 years ago
Top
 
germ-x
Posts: 5310

Your correct, The one laptop I had upgraded from XP to win7 and that one has a COMMAND.COM. It must have carried over from the XP.
That is the one I was typing on when replying to the OP on this problem.
My others with win7 have the Cmd.exe

Posted 5 years ago
Top
 
raphoenix
Posts: 14920

Yeah, that's why I didn't carry on about the slip up. (LOL) :) :)

I knew you knew better. :) :)

Guess the Mods have gone for the day.

I got a double posting off the server but no one has fixed it. :(

Rick P.

Posted 5 years ago
Top
 
Lighthouse
Posts: 13598

Rick.Can't be fixed by a mod. One has gone into lock down mode.

To the OP, see my previous post.

Posted 5 years ago
Top
 
pepcyg
Posts: 94

When tried the c:\windows]system32\cmd.exe I got the notice that it was inaccessible. The exe fix did not correct the problem.
I also tried booting in Safe Mode - there the all of the icons were perfect.. While in Safe Mode I was able to successfully do the
System Restore. However when I restarted most of the icons had that overlay on them - yet - when I dragged one with the overlay to the taskbar - the icon is perfect (no overlay).
As I explained in one of my earlier posts this overlay (not an arrow) is not confined to just the command prompt - it affects most
of the desktop icons. Does this suggest any other solutions?? Thank you for all your help.

Posted 5 years ago
Top
 
Lighthouse
Posts: 13598

Did you try the LNK fix too ?

Posted 5 years ago
Top
 
Xhi
Posts: 6298

How about making a new user ID. If things work fine there, then copy your data from the old one and delete it.

Posted 5 years ago
Top
 
pepcyg
Posts: 94

How can I create a new user ID - when I am the administrator?? I am the only user of the computer.

Posted 5 years ago
Top
 
Xhi
Posts: 6298

Simply go to Control Panel ->User Accounts(or in category mode User Accounts and Family Safety)-> Manage another account-> create an account and create one.

Posted 5 years ago
Top
 
pepcyg
Posts: 94

I created the new user ID - and there was no change. Would a System Restore via a System Image
do anything? There wasn't any change when I did the System Restore in Safe Mode?
Thank you for all of your help.

Posted 5 years ago
Top
 
Lighthouse
Posts: 13598

Could you please post an image of what it looks like ?

Posted 5 years ago
Top
 
pepcyg
Posts: 94

Please explain how I would do that. Thanks

Posted 5 years ago
Top
 
raphoenix
Posts: 14920

Anyone vote for a CI and want to do the walk though ????

Posted 5 years ago
Top
 
Xhi
Posts: 6298

Tutorial: How to post a picture on HTG

If it is a picture of your desktop you need simply hit the Prt Scr key. Then go to start, programs, accessories, paint. When paint comes up press CTRL + V then save the picture to your desktop. Follow the above instructions.

Posted 5 years ago
Top
 
germ-x
Posts: 5310

Rick, almost to that point but it would be nice to find the reason for the OP's problem.

Posted 5 years ago
Top
 
pepcyg
Posts: 94

I unsuccessfully tried to send an image of my desktop repeatedly to you. After which, having dealt with a 'Blue Screen', couple error messages and printer problems today ---- I decided that the 'icky'
overlay on most of my desktop icons was a glitch that I could get use to (as long as everything else
works).
Thank you all for your help.

Posted 5 years ago
Top
 
Lighthouse
Posts: 13598

Give this a try. It's written by me. Tis safe,
https://www.howtogeek.com/forum/topic/shortcut-arrows-in-windows7-rc-64-bit?replies=12#post-89056

Posted 5 years ago
Top
 



Topic Closed

This topic has been closed to new replies.