Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Weird appearance of cmd in desktop context menu after win update

04 Jul 2013   #1
7user78

win7 x64
 
 
Weird appearance of cmd in desktop context menu after win update

Hello there guys,
After installing some updates, I've noticed the appearance of a cmd entry in the desktop context menu
If I launch this command , I receive the explorer.exe error (also attached).

"This file does not have a program associated with it for performing this action ", blah blah blah...

I've found a workaround (I'll try to use it) but the question is , do you have any idea why this cmd appear in the context menu ?

I have to mention that there was no reg changes made before installing the updates, also no other "special effects" applied. Until this point ,I didn't noticed any other errors after this one in explorer.
Thanks,


LE: one thing is for sure, this error appearance have a strong connection with one (or more) update(s) installed today on 4th Jul.




Attached Thumbnails
-cmd-error-update.jpg  
Attached Images
  
My System SpecsSystem Spec
04 Jul 2013   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello 7user78,

I'm not sure what added the "cmd" item to your desktop background context menu. If you like, export these two registry keys from Registry Editor, and upload them. I'll be happy to take a look at it to find the "cmd" item, then post back with a .reg file that you can merge to safely remove it.

HKEY_CLASSES_ROOT\DesktopBackground

HKEY_CLASSES_ROOT\Directory\Background
My System SpecsSystem Spec
04 Jul 2013   #3
7user78

win7 x64
 
 

Thank you Brink for your superfast reply and your good intention
First of all, for those who will need to know which update is guilty for this ,
I just restore the PC to an earlier point and install them one by one in order to find which one cause this explorer error ...and the winner is :

Update for Windows 7 for x64-based Systems (KB2798162)

Please find attached .reg files.
thanks,


PS: now I am thinking if it's ok to solve this error by modifying the reg keys or is better to avoid installing this (KB2798162) update in order to not have another hidden (for the moment) errors. (?!)


Attached Files
File Type: reg Background.reg (5.3 KB, 3 views)
File Type: reg Desktop background.reg (5.0 KB, 2 views)
My System SpecsSystem Spec
04 Jul 2013   #4
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're welcome.

Found it. It was this registry entry: [HKEY_CLASSES_ROOT\Directory\Background\shell\cmd]

If you like, download and merge the .reg file below, and it will remove "cmd" from your desktop context menu.


Attached Files
File Type: reg Remove_cmd.reg (192 Bytes, 7 views)
My System SpecsSystem Spec
04 Jul 2013   #5
7user78

win7 x64
 
 

So great ,thank you so much, works like a charm.
The error is fixed ,the cause remains unknown.

For those who will experience this , I'll let the case open maybe someone will have an explanation .Tomorrow I'll mark as solved is that ok?
My System SpecsSystem Spec
04 Jul 2013   #6
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Your most welcome.

As for the cause, did you merge any other .reg files that may have added it incomplete without the command key, or do anything else that deals with the desktop context menu?
My System SpecsSystem Spec
04 Jul 2013   #7
7user78

win7 x64
 
 

yes, but I think that everything was made properly , following the instructions (no errors since oct 2012 until now beginning with this installed update)


Attached Images
 
My System SpecsSystem Spec
Reply

 Weird appearance of cmd in desktop context menu after win update




Thread Tools





Similar help and support threads
Thread Forum
Add RUN to desktop context menu?
hello everyone! is there a way to add RUN to desktop context menu?
Customization
Advanced Window Color and Appearance - Add to Desktop Context Menu
How to Add or Remove "Advanced Window Color and Appearance" from Desktop Context Menu in Windows 7 This tutorial will show you how to add or remove "Advanced Window Color and Appearance" (advanced appearance settings) from the desktop context menu for all users in Windows 7. You must be...
Tutorials
Log Off - Add to Desktop Context Menu
How to Add "Log Off" Computer to the Desktop Context Menu in Windows 7 This will show you how to add or remove Log Off computer to the desktop context menu in Vista and Windows 7. EXAMPLE: Log Off in Desktop Context Menu
Tutorials
Next Desktop Background - Add or Remove from Desktop Context Menu
Add or Remove "Next desktop background" from Desktop Context Menu in Windows 7 and Windows 8 A desktop slideshow is a slideshow of wallpaper images (pictures) of your choice on your desktop. When a desktop slideshow is being used in Windows 7 or Windows 8, Windows automatically adds Next...
Tutorials
Desktop Context Menu
Can anyone help me w/a little customization? In the attached picture, I want to move the StickyNote selection down into the New heading & also remove the (zipped) wording from New>Compressed (zipped) Folder. Anyone have any solutions?
Customization
Desktop Context Menu
The context menu ( right click desktop) has lost it. EX: click new .txt doc and nothing comes up. Some of the others do not work (most). I looked at a tutorial for it and there was some reg files to restore change etc.. Also seen a link for shmnview-x64.zip. Before I bork everything, is the...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:39.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App