Ask Experts Questions for FREE Help !
Ask
    sapa's Avatar
    sapa Posts: 1, Reputation: 1
    New Member
     
    #1

    Aug 17, 2013, 05:15 PM
    Run command is not working
    In WindowsXP Professional (for personal use) I had uninstalled a faulty programme to reinstall it and saw an executable file in the start menu in the top box. It was just called "Setup.exe" and I looked at properties and it said "unknown" so I thought it was something the uninstalled programme had left. I changed it to open with notepad so it couldn't run anything iffy and removed it from the list. I found I had accidentally changed every single programme icon to open with notepad and nothing will run! I found the file I have changed and it's in the Windows/prefetch folder but now I don't know what to substitute for notepad so that all my other programs will launch again. Can you help please? I'm sorry for the noobiness, I don't use windows often nowadays
    WallyHelps's Avatar
    WallyHelps Posts: 1,018, Reputation: 136
    Ultra Member
     
    #2

    Aug 18, 2013, 01:05 PM
    I'm going to caution you against doing something and then turn around and ask you to do it.

    While I don't recommend running commands that you might get from some random website, I've attached a file that will restore your .exe file behavior. Since it is shown below, you can see nothing malicious there.

    Copy the lines below and save them to your desktop in a file you name FixEXE.reg. Now double-click FixEXE.reg, or right-click and select Merge. This makes a change to your registry that should solve your problem.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\.exe]
    @="exefile"
    
    [HKEY_CLASSES_ROOT\exefile\shell\open\command]
    @="\"%1\" %*"
    I hope this helps,
    WallyH
    GrantHillsSA's Avatar
    GrantHillsSA Posts: 405, Reputation: 9
    Full Member
     
    #3

    Sep 1, 2013, 11:29 AM
    I suspect the .lnk association not the .exe
    I get this problem at least one a mount.

    Copy the following code to a text file then rename the file from .txt to fix.reg (.reg is the most important)
    Run the registry file, Import and restart...

    Here is the code:



    Windows Registry Editor Version 5.00

    ;LNK file association fix for Windows Vista.
    ;Updated on April 24, 2007

    [HKEY_CLASSES_ROOT\.lnk]
    @="lnkfile"

    [HKEY_CLASSES_ROOT\.lnk\ShellEx]

    [HKEY_CLASSES_ROOT\.lnk\ShellEx\{000214EE-0000-0000-C000-000000000046}]
    @="{00021401-0000-0000-C000-000000000046}"

    [HKEY_CLASSES_ROOT\.lnk\ShellEx\{000214F9-0000-0000-C000-000000000046}]
    @="{00021401-0000-0000-C000-000000000046}"

    [HKEY_CLASSES_ROOT\.lnk\ShellEx\{00021500-0000-0000-C000-000000000046}]
    @="{00021401-0000-0000-C000-000000000046}"

    [HKEY_CLASSES_ROOT\.lnk\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
    @="{00021401-0000-0000-C000-000000000046}"

    [HKEY_CLASSES_ROOT\.lnk\ShellNew]
    "Handler"="{ceefea1b-3e29-4ef1-b34c-fec79c4f70af}"
    "IconPath"=hex(2):25,00,53,00,79,00,73,00,74,00,65 ,00,6d,00,52,00,6f,00,6f,00,\
    74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d ,00,33,00,32,00,5c,00,73,\
    00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00 ,6c,00,6c,00,2c,00,2d,00,\
    31,00,36,00,37,00,36,00,39,00,00,00
    "ItemName"="@shell32.dll,-30397"
    "MenuText"="@shell32.dll,-30318"
    "NullFile"=""
    "Command"=-

    [HKEY_CLASSES_ROOT\.lnk\ShellNew\Config]
    "DontRename"=""

    [HKEY_CLASSES_ROOT\lnkfile]
    @="Shortcut"Shortcut"EditFlags"=dword:00000001
    "EditFlags"="@shell32.dll,-4153"FriendlyTypeName"NeverShowExt"@shell32.dll,-4153""NeverShowExt"IsShortcut"
    ""

    [HKEY_CLASSES_ROOT\lnkfile\CLSID]
    @="="

    [HKEY_CLASSES_ROOT\lnkfile\shellex]

    [HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandl ers]

    [HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandl ers\OpenContainingFolderMenu]
    @="{00021401-0000-0000-C000-000000000046}"

    [HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandl ers\{00021401-0000-0000-C000-000000000046}]
    @=""

    [HKEY_CLASSES_ROOT\lnkfile\shellex\DropHandler]
    @="{37ea3a21-7493-4208-a011-7f9ea79ce9f5}"

    [HKEY_CLASSES_ROOT\lnkfile\shellex\IconHandler]
    @="{00021401-0000-0000-C000-000000000046}"

    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\FileExts\.lnk\UserChoice]

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Run command not found [ 11 Answers ]

Please I can't find the run command in my start list. How to reenable it to run regedit.. Please help..

Run command is not working! [ 5 Answers ]

Hi... The Run command in the start menu is not present! I tried the properties but it still doesn't work! I get the following message (the message in the image attached) when try to open it through the "shortcut key". 3485 I am looking forward for any support. I shall be very thankful to...

Run Command Error when trying to execute a command [ 4 Answers ]

I just had my laptop re-imaged with a new Updated Windows XP CD running SP3, however, When I go to START | RUN It does not matter if I type in a Server name on the network or just CMD. I get the message below and it will not execute. Is there something I can do to fix this? “This file does not...

Windows Run Command box not working [ 4 Answers ]

I'm running on an admin account in windows xp When I try to use <WIN+R> key combo for accessing to windows Run Command box, I receive this message "This operation has been canceled due to restrictions in effect on this computer. Please contact your system administrator." If I open the Group...

Run Command on Start [ 5 Answers ]

I am using Windows 2003 server. I am not finding RUN command on start. When I press Windows+R key it is giving the following message. "This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator" Please help me


View more questions Search