“Run As Administrator” on program right click failing and not launching program

runasuacwindows 7windows-vista

This problem lies within a relatively fresh x64 Windows 7 install ~4 weeks, but is also a problem I have seen on Windows Vista machines (x86 versions).

Since the other day, any programs attempted to be launched via right clicking on a shortcut (.lnk)'s context menu and pressing -> "Run As Administrator" for instance, in the Quick Launch/Jump List in Windows 7 has failed, screen has not dimmed, no UAC popup. In fact the program does not even load. There is no way around this unless I use the shortcut version from "All Programs" which appears to work, very strange? I have performed no major software installs, nothing out of the ordinary.

Has anybody encountered this or know what would be causing it?

Here's an example of somebody else experiencing this problem in Vista with no solution:
http://www.vistax64.com/vista-general/131918-strange-run-administrator-problem.html

and I believe this problem is related, I also cannot right click -> "Manage" on my computer):
http://windows7forums.com/windows-7-support/5501-run-administrator-broken.html

I am running the latest version of Avira AntiVir Virus Scanner and pretty concious of what I download, I don't think it is a virus, nor do I believe it is due to the RC Version of Windows 7, because I have seen the problem across multiple Operating Systems versions.

Thanks guys.

Best Answer

I have encountered the same problem in win7. I am a Chinese user and found the cause and solved it by searching in Chinese forums.

Its cause is some buggy(maybe programmed old-fashionedly) softwares that add extra entries in the right-click context menu, with a DLL as the context menu handler.

Possible causing softwares includes: NamiRobot (http://www.namipan.com/); old version Tencent RTX (http://rtx.tencent.com/)

You can check your right-click context menu and see if there are any strange items that do not belong to Windows 7. In my case it is the NamiRobot that adds one item in the context menu for all file types.

I also have these context menu items and they are fine: Adobe PDF; WinRAR; Kaspersky; WinHex; UltraEdit; EmEditor; UltraISO.

There are rumors that Sony DVD software also causes this problem, I don't know whether it is true.

So the solution is either to uninstall the software, or unregister the context menu handler DLL and remove the context menu entry.

For NamiRobot, I manually fixed in the following steps:

  1. open an elevated command prompt(start -> all programs -> accessories -> command prompt, right click -> run as admin)
  2. run the command: regsvr32 /u "C:\Program Files\NamiRobot\Data\NamipanExt1.dll"
  3. run regedit.exe, delete the following keys:
    HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\NamipanExt HKEY_CLASSES_ROOT\CLSID\{5696473A-FC50-4CA7-B87A-AF60201B04DD}

The three steps are enough to fix the problem. To prevent the software screwing up the context menu again, you may want to do the following: First rename the original NamipanExt1.dll to "NamipanExt1.dll.bak", then create an empty txt file in the same directory(C:\Program Files\NamiRobot\Data), finally rename the txt file to "NamipanExt1.dll".

Hope you find your causing software and fix it!

UPDATE: other softwares causing this problem:

CompareIt(according to imasu49)

CopyPathEx(according to Peter, see below)