"cmd" appears in Explorer right-click menus


  1. Posts : 63
    Windows 7
       #1

    "cmd" appears in Explorer right-click menus


    Once, some time ago, the item "cmd" appeared as the second entry (under EXPAND) in most right-click Explorer menus. When clicked it brought up the "install an application" error.

    It was necessary to restore the partition image to get rid of this entry.

    With the install of SP1, it's back. How can it be banished without reverting to an old image?
    Last edited by borate; 02 Mar 2011 at 01:27.
      My Computer


  2. Posts : 927
    windows 7 ultimate
       #2

    Hi borate,

    Check out these two registry entries, particularly the first one.

    HKEY_CLASSES_ROOT\directory\shell\cmd

    HKEY_CLASSES_ROOT\directory\Background\shell\cmd

    Back up then delete if not required.
      My Computer


  3. Posts : 63
    Windows 7
    Thread Starter
       #3

    fimble said:
    Hi borate,

    Check out these two registry entries, particularly the first one.

    HKEY_CLASSES_ROOT\directory\shell\cmd

    Back up then delete if not required.
    That did it, thanks. Question remains WHY it appears??
      My Computer


  4. Posts : 927
    windows 7 ultimate
       #4

    I'm hazarding a guess that it's a default registry entry in Windows 7. I remove mine and replace it with elevated command and because it's missing SP1 has replaced it. I don't recall seeing it after doing a repair install though.
      My Computer


  5. Posts : 63
    Windows 7
    Thread Starter
       #5

    fimble said:
    I'm hazarding a guess that it's a default registry entry in Windows 7. I remove mine and replace it with elevated command and because it's missing SP1 has replaced it. I don't recall seeing it after doing a repair install though.
    I wouldn't have minded it being there - if clicking brought up CMD.EXE.
    But not so. Instead, it asked for a program to be installed.
    Confoosin'
      My Computer


  6. Posts : 1
    windows 7 home premium 64bit
       #6

    hi. there i had the same problem and did as you told here,
    but i have a new problem. now instaed of cmd, search has appeared. what should i do?
    Last edited by mstz; 24 May 2012 at 02:06. Reason: misspell
      My Computer


  7. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #7

    First--Windows Defender Offline is not Windows Defender.
    I say that because once again MS has made a very poor naming choice.

    With that said, click on the WDO link in my signature.
    There you will find not only the download link but also instructions.
    We also have a tutorial on WDO.

    This is the procedure that I use:
    HOW TO USE WINDOWS DEFENDER OFFLINE ON A USB STICK
    Windows Defender Offline
    · is a free standalone, bootable malware and virus remover from Microsoft.
    · performs an offline scan of an infected PC to remove viruses, rootkits and other advanced malware.

    Download Windows Defender Offline (about 764 kB)

    You will have the choice of downloading the 32bit version (x86) or the 64 bit version (x64).
    The link will help you determine whether you are running a 32 bit version or 64 bit version of Windows

    NOTE!! You can download and prepare a 32 bit version using a 64 bit version of Windows
    NOTE!! You can download and prepare a 64 bit version using a 32bit version of Windows.

    You run the 32 bit version on a 32 bit version of Windows.
    You run the 64 bit version on a 64 bit version of Windows.

    The 32 bit download file name is: mssstool32.exe
    The 64 bit download file name is: mssstool64.exe

    For the curious, this program was originally name Microsoft Standalone System Sweeper.


    INSTALLATION:
    You will need an Internet Connection.
    Insert 512 mB (Microsoft’s 256 mB is no longer accurate) or larger USB stick into a usb port.
    Run the downloaded program--mssstool64.exe or mssstool32.exe
    NEXT button
    Choose the option On a USB flash drive that is not password protected
    NEXT button
    NEXT button
    .
    The install program will format the usb stick using the NTFS format.
    The install program will download about 210 mB.
    The install program will name the USB stick WDO_Media32 or WDO_Media64
    The WDO_Media32 usb stick will have used space of 255 mB (268,140,544 bytes)
    The WDO_Media64 usb stick will have used space of 282 mB (296,165,376 bytes)
    You can expect the number of mB to increase as more malware appears.

    UPDATE Windows Defender Offline USB stick:
    · reinsert the usb stick
    · run the installation program, mssstool64.exe or mssstool32.exe, again.
    · the update will download about 66 mB (mssstool32.exe) and 68 mB (mssstool64.exe).

    Since the malware database is sometimes updated several times in a day, always update before running.

    PERFORM AN OFFLINE SCAN
    Bootup your computer from the USB stick
    Windows Defender Offline will automatically perform a quick scan.
    After the quick scan finishes, Choose Full Scan
    Select all of your drives

    The initial, full scan can easily take several hours, but
    Remember, your computer is being very thoroughly checked for all types of malware.


    RESULTS OF THE SCAN
    The results will be in 4 log files in:
    \Windows\Microsoft Antimalware\Support
    msssWrapper.log, (reveals start and stop time of WDO)
    MPDetection-dddddddd-nnnnnn.log, (version of detection engine and AV database)
    MPLog-dddddddd-nnnnnn.log (scan summary), and
    MpCacheStats.log
    .

    Upload the four log files please.

    HOW TO USE WINDOWS DEFENDER OFFLINE ON A USB STICK
    Windows Defender Offline
    · is a free standalone, bootable malware and virus remover from Microsoft.
    · performs an offline scan of an infected PC to remove viruses, rootkits and other advanced malware.

    Download Windows Defender Offline (about 764 kB)

    You will have the choice of downloading the 32bit version (x86) or the 64 bit version (x64).
    The link will help you determine whether you are running a 32 bit version or 64 bit version of Windows

    NOTE!! You can download and prepare a 32 bit version using a 64 bit version of Windows
    NOTE!! You can download and prepare a 64 bit version using a 32bit version of Windows.

    You run the 32 bit version on a 32 bit version of Windows.
    You run the 64 bit version on a 64 bit version of Windows.

    The 32 bit download file name is: mssstool32.exe
    The 64 bit download file name is: mssstool64.exe

    For the curious, this program was originally name Microsoft Standalone System Sweeper.


    INSTALLATION:
    You will need an Internet Connection.
    Insert 512 mB (Microsoft’s 256 mB is no longer accurate) or larger USB stick into a usb port.
    Run the downloaded program--mssstool64.exe or mssstool32.exe
    NEXT button
    Choose the option On a USB flash drive that is not password protected
    NEXT button
    NEXT button
    .
    The install program will format the usb stick using the NTFS format.
    The install program will download about 210 mB.
    The install program will name the USB stick WDO_Media32 or WDO_Media64
    The WDO_Media32 usb stick will have used space of 255 mB (268,140,544 bytes)
    The WDO_Media64 usb stick will have used space of 282 mB (296,165,376 bytes)
    You can expect the number of mB to increase as more malware appears.

    UPDATE Windows Defender Offline USB stick:
    · reinsert the usb stick
    · run the installation program, mssstool64.exe or mssstool32.exe, again.
    · the update will download about 66 mB (mssstool32.exe) and 68 mB (mssstool64.exe).

    Since the malware database is sometimes updated several times in a day, always update before running.

    PERFORM AN OFFLINE SCAN
    Bootup your computer from the USB stick
    Windows Defender Offline will automatically perform a quick scan.
    After the quick scan finishes, Choose Full Scan
    Select all of your drives

    The initial, full scan can easily take several hours, but
    Remember, your computer is being very thoroughly checked for all types of malware.


    RESULTS OF THE SCAN
    The results will be in 4 log files in:
    \Windows\Microsoft Antimalware\Support

    Upload the four log files please.
    ===========================================
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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:39.
Find Us