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

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
Weird appearance of cmd in desktop context menu after win update-cmd-error-update.jpg  
Attached Images
  
My System SpecsSystem Spec
.

04 Jul 2013   #2
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

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
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, 5 views)
My System SpecsSystem Spec
04 Jul 2013   #5

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
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

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 for2: Weird appearance of cmd in desktop context menu after win update
Thread Forum
Advanced Window Color and Appearance - Add to Desktop Context Menu Tutorials
Log Off - Add to Desktop Context Menu Tutorials
How Do I Add Separator bar in Desktop Context Menu? Customization
Desktop context menu customization Customization
Next Desktop Background - Add or Remove from Desktop Context Menu Tutorials
Desktop Context Menu Customization
Desktop Context Menu 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 05:43 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33